Results 1 to 5 of 5
Hi folks,
OpenVZ
guest(VE) - OS, Ubuntu 8.04
Clamav-daemon
On running;
root@vz2:/# /etc/init.d/clamav-daemon start
Code:
* Starting ClamAV daemon clamd
LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-10-2009 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Segmentation fault - on starting clamav-daemon
Hi folks,
OpenVZ
guest(VE) - OS, Ubuntu 8.04
Clamav-daemon
On running;
root@vz2:/# /etc/init.d/clamav-daemon startroot@vz2:/# ls /tmp/Code:* Starting ClamAV daemon clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** LibClamAV Error: cli_realloc(): Can't re-allocate memory to 19784 bytes. realloc_problem: Cannot allocate memory LibClamAV Error: cli_ac_addpatt: Can't realloc ac_pattable LibClamAV Error: cli_parse_add(): Problem adding signature (1). LibClamAV Error: Problem parsing database at line 56181 Segmentation fault [fail]
root@vz2:/# ls /tmp/clamav-a0d562c1d717bbd7eddc575952c444a4/Code:clamav-a0d562c1d717bbd7eddc575952c444a4
Code:COPYING main.db main.fp main.hdb main.info main.mdb main.ndb main.zmd
root@vz2:/# cat /etc/apt/sources.listPlease advice how to fix the problem? TIACode:deb Index of /ubuntu hardy main restricted deb-src Index of /ubuntu hardy main restricted deb Index of /ubuntu hardy partner deb-src Index of /ubuntu hardy partner deb Index of /ubuntu hardy-security main restricted deb-src Index of /ubuntu hardy-security main restricted deb Index of /ubuntu hardy-backports main restricted universe multiverse deb-src Index of /ubuntu hardy-backports main restricted universe multiverse #deb Index of /ubuntu main restricted universe multiverse #deb-src Index of /ubuntu main restricted universe multiverse deb Index of /ubuntu hardy universe # deb-src Index of /ubuntu hardy universe #
B.R.
satimis
- 05-10-2009 #2
try updating/reinstalling virus database
- 05-10-2009 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi b2bwild,
Thanks for your advice. Could you please explain in more detail how to do it?
root@vz2:/# find / -name db -type dCode:/var/spool/exim4/db /var/lib/amavis/db
root@vz2:/# ls /var/lib/amavis/db/TIACode:__db.001 __db.002 __db.003 __db.004 cache-expiry.db cache.db nanny.db snmp.db
B.R.
satimis
- 05-10-2009 #4
run $ sudo freshclam
- 05-10-2009 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi b2bwild,
I did it before;
root@vz2:/# rm -rf /var/lib/clamav/*
No complaint
root@vz2:/# apt-get update
root@vz2:/# freshclamCode:ClamAV update process started at Fri May 8 23:49:10 2009 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.94.2 Recommended version: 0.95.1 DON'T PANIC! Read http://www.clamav.net/support/faq main.cvd is up to date (version: 50, sigs: 500667, f-level: 38, builder: sven) daily.cvd is up to date (version: 9347, sigs: 49124, f-level: 42, builder: ccordes)
root@vz2:/# /etc/init.d/clamav-daemon stopCode:* Stopping ClamAV daemon clamd [fail]
root@vz2:/# /etc/init.d/clamav-daemon startCode:* Starting ClamAV daemon clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** LibClamAV Error: cli_realloc(): Can't re-allocate memory to 15384 bytes. realloc_problem: Cannot allocate memory LibClamAV Error: cli_ac_addpatt: Can't realloc ac_pattable LibClamAV Error: cli_parse_add(): Problem adding signature (3). LibClamAV Error: Problem parsing database at line 48390 Segmentation fault
Now I redo it.
root@vz2:/# apt-get update
root@vz2:/# freshclamCode:ClamAV update process started at Sun May 10 16:04:15 2009 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.94.2 Recommended version: 0.95.1 DON'T PANIC! Read http://www.clamav.net/support/faq main.cvd is up to date (version: 50, sigs: 500667, f-level: 38, builder: sven) daily.cld is up to date (version: 9350, sigs: 49149, f-level: 42, builder: guitar)
root@vz2:/# /etc/init.d/clamav-daemon stopCode:* Stopping ClamAV daemon clamd [fail]
root@vz2:/# /etc/init.d/clamav-daemon startCode:* Starting ClamAV daemon clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** LibClamAV Error: cli_realloc(): Can't re-allocate memory to 14608 bytes. realloc_problem: Cannot allocate memory LibClamAV Error: cli_ac_addpatt: Can't realloc ac_pattable LibClamAV Error: cli_parse_add(): Problem adding signature (1). LibClamAV Error: Problem parsing database at line 46225 Segmentation fault [fail]
Tried again;
root@vz2:/# rm -rf /var/lib/clamav/*
root@vz2:/# apt-get update
# freshclamCode:ClamAV update process started at Sun May 10 16:08:00 2009 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.94.2 Recommended version: 0.95.1 DON'T PANIC! Read http://www.clamav.net/support/faq Downloading main.cvd [100%] main.cvd updated (version: 50, sigs: 500667, f-level: 38, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 9350, sigs: 49149, f-level: 42, builder: guitar) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 38, recommended = 42 DON'T PANIC! Read http://www.clamav.net/support/faq Database updated (549816 signatures) from db.local.clamav.net (IP: 59.188.18.112) WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl connect(): No such file or directory
root@vz2:/# /etc/init.d/clamav-daemon stopCode:* Stopping ClamAV daemon clamd [fail]
root@vz2:/# /etc/init.d/clamav-daemon startCode:* Starting ClamAV daemon clamd LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** LibClamAV Error: cli_realloc(): Can't re-allocate memory to 11288 bytes. realloc_problem: Cannot allocate memory LibClamAV Error: cli_ac_addpatt: Can't realloc ac_pattable LibClamAV Error: cli_parse_add(): Problem adding signature (2). LibClamAV Error: Problem parsing database at line 46569 Segmentation fault [fail]
Problem still remains.
I hesitate whether the problem being accoutable to bugs on OpenVZ, first Shorewall, then Iptables and now Clamav-daemon. The first 2 problems are still unsolved.
B.R.
satimis


Reply With Quote

