I couldn't install kavmon kernel module.

Discussion in 'HOWTO-Related Questions' started by arastirici, Nov 10, 2009.

  1. arastirici

    arastirici New Member

    I use apache,php on opensuse11.
    I installed Kaspersky now.
    But I couldn't install kavmon kernel module.

    How can I install it ?

    Thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What instructions did you use?
    Did you get any error messages?
     
  3. arastirici

    arastirici New Member

    I get an error ;

    Kernel sources path was not set, use --with-kernelsrc option

    How can I install kernel-sources ?

    Also on webmin ;

    [11/11/09 16:50:38 I] Kaspersky Anti-Virus On-Access Scanner for Linux. Version 5.7.25/RELEASE build #34, compiled Sep 15 2008, 15:43:23
    [11/11/09 16:50:38 I] Copyright (C) Kaspersky Lab, 1997-2007.
    [11/11/09 16:50:38 I] Portions Copyright (C) Lan Crypto
    [11/11/09 16:50:38 I] Config file /etc/opt/kaspersky/kav4fs.conf
    [11/11/09 16:50:38 I] Warning: file cache is turned off
    [11/11/09 16:50:38 F] Cannot load kavmon kernel module
    [11/11/09 16:50:38 I] Kavmonitor is finished
     
  4. arastirici

    arastirici New Member

    I installed kernel-sources with yast2.

    rpm -qa | grep kernel

    kernel-source-2.6.25.20-0.5

    when I run postinstall.pl of Kaspersky, I get an warn

    Would you like to compile the kavmonitor module ? [yes]:

    Cannot find kernel sources, please install a kernel source package.
    Warning: kavmonitor kernel module is not compiled!
    To manual recompile kernel module please start
    /opt/kaspersky/kav4fs/src/kavmon.pl --build[=PATH]

    How can I find kernel-source path ?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    uname -a
    ?
     
  6. arastirici

    arastirici New Member

    # uname -a
    Linux php 2.6.25.16-0.1-pae #1 SMP 2008-08-21 00:34:25 +0200 i686 i686 i386 GNU/Linux
     
  7. falko

    falko Super Moderator ISPConfig Developer

    It seems as if the kernel source (2.6.25.20-0.5) doesn't suit your installed kernel (2.6.25.16-0.1).
     
  8. arastirici

    arastirici New Member

    Yes,

    As a result,

    I couldn't kavmon kernel module of kaspersky.

    when I run postinstall.pl of Kaspersky, I get an warn

    Would you like to compile the kavmonitor module ? [yes]:
    Cannot find kernel sources, please install a kernel source package.
    Warning: kavmonitor kernel module is not compiled!
    To manual recompile kernel module please start
    /opt/kaspersky/kav4fs/src/kavmon.pl --build[=PATH]

    How can I find kernel-source path ?
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Isn't there a kernel source package for 2.6.25.16-0.1 in YaST?
     

Share This Page