On Fri, 14 Nov 2003 16:23:29 +0100 DWH <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a weird problem while trying to chroot clamd (0.65) > It seems it is not using the new .cvd files. When I don't have > viruses.db and viruses.db2 in the database directory, it says "ERROR: > Database initialization error." > > The main.cvd and daily.cvd are in place however. > When i put the viruses.db and viruses.db2 in the directory, it seems > to work fine. The problem now is that freshclam does not update > viruses.db and viruses.db2. > > When I compile clamd en libclamav in debug mode and set ForeGround in > clamav.conf, clamd just hangs on 'reading main.cvd'. > > Has anyone seen this problem aswell? It would somehow be nice to run > clamd chrooted, from a security perspective, and have an up2date virus > database.
You must create a /tmp directory in your chrooted environment. Without it clamd will fail to load cvd databases and to scan archives. Best regards, Tomasz Kojm -- oo ..... [EMAIL PROTECTED] www.ClamAV.net (\/)\......... http://www.clamav.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Fri Nov 14 23:37:10 CET 2003
pgp00000.pgp
Description: PGP signature