![]() ![]() |
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 |
|
|
|
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. |
|
|
|
3.07.2009 14:17
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 3.07.2009 |
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 ! |
|
|
|
3.07.2009 15:07
Post
#4
|
|
![]() Advanced Member ![]() ![]() ![]() ![]() ![]() Group: KL Russia Posts: 618 Joined: 24.12.2007 From: Moskau |
it's so bad ! 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 |
|
|
|
3.07.2009 16:09
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 3.07.2009 |
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 |
|
|
|
3.07.2009 16:33
Post
#6
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 30.06.2009 From: Moskau |
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. |
|
|
|
3.07.2009 17:29
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 3.07.2009 |
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 ?! |
|
|
|
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? |
|
|
|
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. |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 22.11.2009 10:29 |