View previous topic :: View next topic |
Author |
Message |
shadowknight Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_darth_maul.gif)
Joined: 03 Aug 2002 Posts: 142
|
Posted: Thu Jan 03, 2008 2:13 am Post subject: Fresh Clamav emerge, can't write to log files |
|
|
I have been using the linux version of avg and when i personally initiate a scan it finishes clean, but when it runs from cron it comes back as 1 virus found. The log file is too long to look through and trying to view the logs from within avggui locks avg altogether so I thought I'd give clamav a go. I emerged it fine, but when i do:
Code: | /etc/init.d/clamd start | or even restart
I get this:
Code: | /etc/init.d/clamd restart
* Stopping clamd ... [ ok ]
* Stopping freshclam ... [ ok ]
* Starting clamd ...
ERROR: Can't open /var/log/clamav/clamd.log in append mode (check permissions!).
ERROR: Problem with internal logger. Please check the permissions on the /var/log/clamav/clamd.log file.
* Failed to start clamd [ !! ]
* Starting freshclam ...
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
* Failed to start freshclam
|
I checked the log files and they appear to have the correct permissions. I even made new files and changed the .conf files to point to them and clamav changes the permission to clamav as the owner with rw permissions and root as the group with r permissions and everyone else forbidden. Can someone tell me what I'm missing here ?? TIA |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Thu Jan 03, 2008 10:23 am Post subject: |
|
|
You could check your /var/log/clamav directory. One of mine
Code: |
drwxr-xr-x 2 clamav clamav 448 2007-12-28 03:10 clamav
|
I'm on 0.92. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|