Freshclam Error
Hi
My clamav & freshclam is configured as follows
-
root@ndabbmr1-a-fixed # ps -eaf | grep clamd
root 76051 0 18:10:13 ?0:00 /opt/clamav/sbin/clamd
root 7640 7574 0 18:14:07 pts/10:00 grep clamd
root@ndabbmr1-a-fixed # ps -eaf | grep freshclam
clamav 76031 0 18:10:10 ?0:00 /opt/clamav/bin/freshclam --daemon --pid=/var/run/freshclam.pid
root 7642 7574 0 18:14:17 pts/10:00 grep freshclam
- -
when i tried to stop clamav the freshclam is giving following error
-
root@ndabbmr1-a-fixed # /etc/init.d/clamd stop
Stopping clamd in /opt/clamav/sbin :
cat: cannot open /var/run/freshclam.pid
/usr/bin/kill[8]: kill: bad argument count
- --
and i'm not finding pid file for freshclam in /var/run directory as shown below..
-
root # cd /var/run
root # ls
clamd.pidname_service_doorrpc_doorsshd.pidsyslog.pid tp.pids-anonusers pcmcia smc898 sysevent_channels ftp.pids-realusers picld_door smedia_svc syslog_door
- --
my ques...
1. Freshclam is not creating pid file so i've tried to run it with following option
--pid=/var/run/freshclam.pid
is it correct ?
2. How i have to solve this problem ?
3. Why it is giving the following error ?
cat: cannot open /var/run/freshclam.pid
Thanks in Advance

