I'm trying to setup clamd/amavisd on a new system;
as far as I can tell... I've configured it same as my other system;
BUT, clamd won't start as it can not write the /var/log log;
am I asking for trouble by just chowning the log ?
# service clamd start
Starting Clam AntiVirus Daemon: 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]
after I chown log to amavis, it runs
# ls -al /var/log/clamav/clamd*
-rw-r--r-- 1 amavis amavis 6573 Oct 19 16:44 /var/log/clamav/clamd.log
-rw-r--r-- 1 clamav clamav 11770 Oct 15 04:02 /var/log/clamav/clamd.log.1
-rw-r--r-- 1 clamav clamav 290 Oct 7 04:02 /var/log/clamav/clamd.log.2
BUT, on my old server, log is clamav's and it works;
I've added also clam to amavis and amavis to clam (just to be sure) but it
didn't help:
# grep amavis /etc/group
clamav:x:101:clamav,amavis
amavis:x:102:clamav
--
Voytek
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html