IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Kav 5.7 for linux install problem
vPsPersia
post 3.07.2009 01:24
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 3.07.2009




Hi everyone !

i want install Kav 5.7 for linux , and i have CentOS 5.3 Final , x86_64 with 2.6.18-128.1.16.el5 Kernel ,

and i used a VPS based on OpenVz virtualation , ( Shared Kernel ) , can i install KAv ?

i have problem with Kav Monitor Module , i want install it by
CODE
/opt/kaspersky/kav4fs/src/kavmon.pl -b kernel-2.6.18-128.1.16.el5.x86_64.rpm


but i see this error :

CODE
Cannot find kernel sources at kernel-2.6.18-128.1.16.el5.x86_64.rpm, please install a kernel source package.


so what's happend and can i install KAV in a Shared Kernel !?

Best Regards
Go to the top of the page
 
+Quote Post
Vitaly Belyakov
post 3.07.2009 09:55
Post #2


Advanced Member
*****

Group: KL Russia
Posts: 618
Joined: 24.12.2007
From: Moskau




Hello,
from system requirements:

64-bit platforms:
Red Hat Enterprise Linux 5.2 Server \ Desktop (kernel 2.6.18-92)
Fedora 9 (kernel 2.6.25)
SUSE Linux Enterprise Server \ Desktop 10 SP2 (kernel 2.6.16.60-0.21)
OpenSUSE Linux 11.0 (kernel 2.6.25)

so, kavmonitor might not work with your kernel.
Go to the top of the page
 
+Quote Post
vPsPersia
post 3.07.2009 14:17
Post #3


Newbie
*

Group: Members
Posts: 5
Joined: 3.07.2009




QUOTE(Vitaly Belyakov @ 3.07.2009 10:25) *
Hello,
from system requirements:

64-bit platforms:
Red Hat Enterprise Linux 5.2 Server \ Desktop (kernel 2.6.18-92)
Fedora 9 (kernel 2.6.25)
SUSE Linux Enterprise Server \ Desktop 10 SP2 (kernel 2.6.16.60-0.21)
OpenSUSE Linux 11.0 (kernel 2.6.25)

so, kavmonitor might not work with your kernel.


it's so bad ! dash1.gif mad.gif icon20.gif , i need this KAVmonitor , please release a new version work with all Version or all Kernel , OR make fix for this
Go to the top of the page
 
+Quote Post
Vitaly Belyakov
post 3.07.2009 15:07
Post #4


Advanced Member
*****

Group: KL Russia
Posts: 618
Joined: 24.12.2007
From: Moskau




QUOTE(vPsPersia @ 3.07.2009 15:17) *
it's so bad ! dash1.gif mad.gif icon20.gif , i need this KAVmonitor , please release a new version work with all Version or all Kernel , OR make fix for this


Nobody will do it specially for you, of course.

About the problem - I didn't noticed first time that haven't installed kernel sources. You should not specify path to RPM-package of kernel-sources, first install them:

# rpm -i kernel-2.6.18-128.1.16.el5.x86_64.rpm
Go to the top of the page
 
+Quote Post
vPsPersia
post 3.07.2009 16:09
Post #5


Newbie
*

Group: Members
Posts: 5
Joined: 3.07.2009




QUOTE(Vitaly Belyakov @ 3.07.2009 15:37) *
Nobody will do it specially for you, of course.

About the problem - I didn't noticed first time that haven't installed kernel sources. You should not specify path to RPM-package of kernel-sources, first install them:

# rpm -i kernel-2.6.18-128.1.16.el5.x86_64.rpm


i cant' install new Kernel , my kernel is shared not dedicated , thank's
Go to the top of the page
 
+Quote Post
Youri Catoire
post 3.07.2009 16:33
Post #6


Newbie
*

Group: Members
Posts: 1
Joined: 30.06.2009
From: Moskau




QUOTE(Vitaly Belyakov @ 3.07.2009 16:07) *
About the problem - I didn't noticed first time that haven't installed kernel sources. You should not specify path to RPM-package of kernel-sources, first install them:

# rpm -i kernel-2.6.18-128.1.16.el5.x86_64.rpm

That should be relevant kernel-source rpm, not kernel itself.
Go to the top of the page
 
+Quote Post
vPsPersia
post 3.07.2009 17:29
Post #7


Newbie
*

Group: Members
Posts: 5
Joined: 3.07.2009




QUOTE(Youri Catoire @ 3.07.2009 17:03) *
That should be relevant kernel-source rpm, not kernel itself.



YourRight , now i installed it by rpm -i , look at this :
CODE
[root@nvidia ~]# rpm -i kernel-2.6.18-128.1.16.el5.x86_64.rpm
[root@nvidia ~]# uname -a
Linux nvidia.vpspersia.com 2.6.18-128.1.1.el5.028stab062.3 #1 SMP Sun May 10 18:
54:51 MSD 2009 x86_64 x86_64 x86_64 GNU/Linux
[root@nvidia ~]#


but that error is appears yet !

CODE
[root@nvidia ~]# /opt/kaspersky/kav4fs/src/kavmon.pl -b kernel-2.6.18-128.1.16.el5.x86_64.rpm
_64.rpm
Cannot find kernel sources at 'kernel-2.6.18-128.1.16.el5.x86_64.rpm', please install
a kernel source package.


now what can i do ?!
Go to the top of the page
 
+Quote Post
vPsPersia
post 3.07.2009 23:57
Post #8


Newbie
*

Group: Members
Posts: 5
Joined: 3.07.2009




now i think this is everything i need :

CODE
/opt/kaspersky/kav4fs/src/kavmon.pl --build /usr/src/kernels/2.6.18-128.el5-x86_64


and i saw this error :

CODE
[root@nvidia ~]# /opt/kaspersky/kav4fs/src/kavmon.pl --build /usr/src/kernels/2.6.18-128.el5-x86_64
=== Configure kernel module using kernel sources from /usr/src/kernels/2.6.18-128.el5-x86_64
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for linux kernel sources... /usr/src/kernels/2.6.18-128.el5-x86_64
checking for linux kernel version file... /usr/src/kernels/2.6.18-128.el5-x86_64/include/linux/utsrelease.h
checking for linux kernel version... 2.6
checking for linux/syscalls.h... yes
checking for module arch... 64
checking for sys_call_table... found, address 0x0
checking for sys_call_table readonly... grep: /boot/System.map-2.6.18-128.1.1.el5.028stab062.3: No such file or directory
no
checking for ia32_sys_call_table... found, address 0x0
checking for ia32_sys_call_table readonly... grep: /boot/System.map-2.6.18-128.1.1.el5.028stab062.3: No such file or directory
no
checking for tasklist_lock... "not exported"
checking for tasklist_lock... found, address 0x0
checking for __d_path... "not exported"
checking for vfsmount_lock... found, address 0x0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating kavmon.h
config.status: creating osdef.h
config.status: creating module.linux/Makefile
=== Compiling Linux kernel module
Cleaning module.linux
make[1]: Entering directory `/opt/kaspersky/kav4fs/src/module.linux'
rm -f **.o *.ko ../bin//kavmon.ko monitor_helpers.c kernel.c queue.c md5.c cache.c util.c cache.h  kavmon.h  kernel.h  md5.h  monitor.h  monitor_helpers.h  osdef.h  queue.h  util.h *.mod.c .*.cmd Makefile.in
make[1]: Leaving directory `/opt/kaspersky/kav4fs/src/module.linux'
Making link in module.linux
make[1]: Entering directory `/opt/kaspersky/kav4fs/src/module.linux'
make -C /usr/src/kernels/2.6.18-128.el5-x86_64 SUBDIRS=/opt/kaspersky/kav4fs/src/module.linux modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-128.el5-x86_64'
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/utils.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/module.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/interface.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/interface_monitor.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/interface_exploit.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/interceptor_lsm.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/files.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/monitor_helpers.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/kernel.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/queue.o
/opt/kaspersky/kav4fs/src/module.linux/queue.c: In function âqueue_read_interfaceâ:
/opt/kaspersky/kav4fs/src/module.linux/queue.c:484: warning: âinterruptible_sleep_onâ is deprecated (declared at include/linux/wait.h:375)
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/md5.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/cache.o
  CC [M]  /opt/kaspersky/kav4fs/src/module.linux/util.o
  LD [M]  /opt/kaspersky/kav4fs/src/module.linux/kavmon.o
  Building modules, stage 2.
  MODPOST
  CC      /opt/kaspersky/kav4fs/src/module.linux/kavmon.mod.o
  LD [M]  /opt/kaspersky/kav4fs/src/module.linux/kavmon.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-x86_64'
make[1]: Leaving directory `/opt/kaspersky/kav4fs/src/module.linux'
Cannot create /lib/modules/2.6.18-128.1.1.el5.028stab062.3/misc


any idea?
Go to the top of the page
 
+Quote Post
Maxim_L
post 6.07.2009 10:21
Post #9


UNIX tester
*******

Group: KL Russia
Posts: 1157
Joined: 25.07.2005




you try compile kavmon.ko with different installed and sources version of kernel
kernel-2.6.18-128.1.16.el5.x86_64.rpm - you sources
2.6.18-128.1.1.el5.028stab062.3 - you have installed

version should be exactly the same. and, if you change current kernel by installing new via rpm -i you should reboot you box.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22.11.2009 07:28