Unable to run clamd in /opt/directory

P K <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.devel,gmane.comp.security.virus.clamav.user
Message-ID <CAL0j0DGPuJEkKPuvD41KD-sfbXktFtkpbjd27M=GWtjVWDKJnw@mail.gmail.com>
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@pk-x:~$ ls -ltr /opt/clamd.conf
-rw-r--r-- 1 root root 1981 Nov  4 19:07 /opt/clamd.conf

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

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

pk@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.
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

http://www.clamav.net/contact.html#ml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.