Carsten Laun-De Lellis writes: > Hi everybody > > I am running a linux box with fedora 8. I installed clamav using the rpm > packages. I already did this on a fedora 7 machine and everything worked > fine. I am using the webmin interface for clamav administration. > > When i try to update the database i always get the error message: > > ERROR: Problem with internal logger (UpdateLogFile = > /var/log/freshclam.log). > ERROR: Can't open /var/log/freshclam.log in append mode (check > permissions!). > > I played around with permissions on that file even rw to everyone, but no > effect. > > I can't also start clamav. > > Getting the following error message everytime: > > Jan 31 09:01:04 S000253 clamd[2822]: clamd daemon 0.92 (OS: linux-gnu, > ARCH: i386, CPU: i386) > Jan 31 09:01:04 S000253 clamd[2822]: Running as user amavis (UID 497, GID > 495) > Jan 31 09:01:04 S000253 clamd[2822]: Log file size limited to 1048576 > bytes. > Jan 31 09:01:04 S000253 clamd[2822]: Reading databases from > /var/lib/clamav > Jan 31 09:01:04 S000253 clamd[2822]: Not loading PUA signatures. > Jan 31 09:01:04 S000253 clamd[2822]: Not supported data format > > > I would appreciate any help > > Regards, > Carsten > > > > > > mkdir /var/log/clamav chown clamav.clamav /var/log/clamav mv /var/log/freshclam.log /var/log/clamav
If your clamd.log is also in /var/log directory place it in the same directory /var/log/clamav as freshclam.log In the clamd.conf and freshclam.conf files change UpdateLogFiles to the new location of the log files /var/log/clamav/*.log The reason why you cannot start clamd on its own is because you are running it as amavis being the owner change this to clamav in clamd.conf and it will start. /etc/init.d/clamd restart. I would also chown clamav.clamav /var/lib/clamav where your database for clamav is kept. Both Clamd and freshclam should be run as clamav being the owner. If you are required to run amavis with clamav add amavis as a user to the clamav group. Sorry I am not familiar with the amavis-new system. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
