Dmitry Alexeyev wrote:
On Wednesday 20 October 2004 17:53, Fajar A. Nugraha wrote:Actually I was wondering how did you "remove all cvd files and do database update, clamd starts
Dmitry Alexeyev wrote:
If I remove all cvd files and do database update, clamd startsNow HOW did you update your database without freshclam? manually copy
without problems.
If freshclam gets called from cron, I get the following error.
Always the same line (2249), on both 0.75.1 and 0.80
.cvd files?
freshclam runs from cron.
without problems" when "If freshclam gets called from cron, I get the following error"?
If freshclam indeed cause the error, and you update with freshclam,
then you should still have the problem when you "do database update", right?
Hmmm ... I was going to suggest that a database mirror might have bad data, but when you saywhich db version you get (latest is 540)?
latest one is ok now. No idea what happens on next update. I can't leave it on production system.
BTW, same happens with databases which come with 0.80, same line
"same happens with databases which come with 0.80" I know that it's not the db mirrors fault.
On my system, using 0.80's main and daily.cvd :
[EMAIL PROTECTED] clamav-stable-build]$ sudo /usr/local/sbin/clamd
[EMAIL PROTECTED] clamav-stable-build]$ /usr/local/sbin/clamd -V
ClamAV 0.80/533/Sun Oct 17 08:09:44 2004
[EMAIL PROTECTED] clamav-stable-build]$ tail -100 /usr/local/share/clamav/clamd.log
Wed Oct 20 21:50:37 2004 -> clamd daemon 0.80 (OS: linux-gnu, ARCH: i386, CPU: i686)
Wed Oct 20 21:50:37 2004 -> Log file size limit disabled.
Wed Oct 20 21:50:37 2004 -> Running as user root (UID 0, GID 0)
Wed Oct 20 21:50:37 2004 -> Reading databases from /usr/local/share/clamav
Wed Oct 20 21:50:37 2004 -> Protecting against 25253 viruses.
Wed Oct 20 21:50:37 2004 -> Unix socket file /tmp/clamd
Wed Oct 20 21:50:37 2004 -> Setting connection queue length to 30
Wed Oct 20 21:50:37 2004 -> Archive: Archived file size limit set to 10485760 bytes.
Wed Oct 20 21:50:37 2004 -> Archive: Recursion level limit set to 5.
Wed Oct 20 21:50:37 2004 -> Archive: Files limit set to 1000.
Wed Oct 20 21:50:37 2004 -> Archive: Compression ratio limit set to 250.
Wed Oct 20 21:50:37 2004 -> Archive support enabled.
Wed Oct 20 21:50:37 2004 -> Archive: RAR support disabled.
Wed Oct 20 21:50:37 2004 -> Portable Executable support enabled.
Wed Oct 20 21:50:37 2004 -> Mail files support enabled.
Wed Oct 20 21:50:37 2004 -> OLE2 support enabled.
Wed Oct 20 21:50:37 2004 -> HTML support enabled.
Wed Oct 20 21:50:37 2004 -> Self checking every 1800 seconds.
You can see clamd 0.80 starts up OK with db version 533
So you're saying that you ALWAYS get error with the main and daily.cvd distributed in 0.80?Does it still happen if you run freshclam manually (e.g. not from
cron) ?
No. sometimes. Seems to be very sporadic, except 0.80 databases
Try http://clamav.or.id/stable/clamav-0.80.linux-static.tar.gz, and replace main.cvd and daily.cvdwhat system are you on?
Linux 2.2
with the one on 0.80.
If my static version works (it works here), then most likely some library on your system is at fault here.
Linux 2.2 (and the accompanying libs) IS rather old :)
What I meant was if you run similar system, you could probably use my0.80 runs ok on Fedora, Solaris, AIX, and even Win32 (with cygwin.
Some modifications
needed on non-cygwin).
I have no doubt it runs perfect for you :)
build script, binaries, or config files if you get stuck with the default source or RPM.
Since you use Linux 2.2 (on x86, I assume?) my Linux static binary should work.
Regards,
Fajar _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
