Hi:

Sorry if this isn’t the way to get support for your port of ClamAV for
Fedora.

I’m trying to run the latest yum updates of Clamav and I’m blocked with the
following message when run

# service clamav-milter start
Starting clamav-milter: [  OK  ]

This return OK but I found the following message in the clamd.log

/var/run/clamav-milter: Permission denied
ERROR: Can't save PID in file
/var/run/clamav-milter/clamav-milter.pidStopping ClamAV version 0.90.1,
clamav-milter version 0.90.1/var/run/clamav-milter/clamav-milter.pid:
Permission denied

I don't know why because I put in the start script that
CLAMAV_USER='clamilt'

And this directory is owned by clamilt with write permissions.

# ls -la /var/run/clamav-milter/
total 24
drwx------   3 clamilt clamilt 4096 mar  5 11:38 .
drwxr-xr-x  20 root    root    4096 mar  5 12:00 ..
drwx------   4 clamilt clamilt 4096 oct 26  2005 quarantine

Until now I changed the clamd.conf config file to use the LocalSocket and
changed the sysconfig script removing the '--dont-log-clean' and
'--server=localhost'

CLAMAV_FLAGS="  --quiet \
                --external \
                --dont-wait \
                --force-scan \
                --pidfile=/var/run/clamav-milter/clamav-milter.pid \
                local:/var/run/clamav-milter/clamav.sock \
                "
CLAMAV_USER='clamilt'

I don't know if anybody can help me.

Thanks in advance
Guillermo Gómez Valcárcel





_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to