Re: [clamav-users] Unable to run clamd in /opt/directory

2015-11-12 Thread P K
Here is output: sudo -u clamav /usr/bin/clamconf -c /opt/ Checking configuration files in /opt/ Config file: clamd.conf --- LogFile = "/var/log/clamav/clamav.log" StatsHostID = "auto" StatsEnabled disabled StatsPEDisabled = "yes" StatsTimeout = "10" LogFileUnlock disabled

Re: [clamav-users] Unable to run clamd in /opt/directory

2015-11-06 Thread P K
Hi, I tried both suggested and its working fine but unable to run clamd with /opt/clamd.conf. Even i tried running with root user and seeing error. opt directory is with 0777 permission. Strange behaviour. On Fri, Nov 6, 2015 at 11:45 AM, Deyan Chepishev wrote: > Hi, >

Re: [clamav-users] Unable to run clamd in /opt/directory

2015-11-05 Thread Dennis Peterson
What are the directory permissions/extended permissions for /opt? Did you try sudo -u clamdUserName cat /opt/clamd.conf to see if the clamd user has permission to access the file? dp On 11/4/15 6:15 AM, P K wrote: Hi Guys, I am seeing config file parse error when using config file inside

Re: [clamav-users] Unable to run clamd in /opt/directory

2015-11-05 Thread Deyan Chepishev
Hi, This is probably caused by permissions of the /opt which do not allow the user which clamd is running as, to access this directory. In such cases, you can try option: clamdscan --stream In this case, if the user executing clamdscan has permissions over the directory, clamdscan reads