[Clamav-devel] Unable to run clamd in /opt/directory

P K pkopensrc at gmail.com
Wed Nov 4 09:15:39 EST 2015


Hi Guys,

I am seeing config file parse error when using config file inside /opt/
directory.

Curious why unable to run clamd config in /opt directory.   In other system
with 0.98.6  its working fine.

Below are output:

sudo /usr/sbin/clamd --version -c ./clamd.conf
ClamAV 0.98.7


pk at pk-x:~$ ls -ltr /opt/clamd.conf
-rw-r--r-- 1 root root 1981 Nov  4 19:07 /opt/clamd.conf

pk at pk-x:~$ ls -ltr ./clamd.conf
-rw-r--r-- 1 root root 1981 Nov  4 19:07 ./clamd.conf

pk at pk-x:~$ sudo /usr/sbin/clamd -c /opt/clamd.conf
*ERROR: Can't open/parse the config file /opt/clamd.conf*

pk at pk-x:~$ sudo /usr/sbin/clamd -c ./clamd.conf
Limits: Global size limit set to 104857600 bytes.
Limits: File size limit set to 26214400 bytes.
Limits: Recursion level limit set to 10.


More information about the clamav-devel mailing list