1

Topic: freshclam starting script problem (I think)

I have strange problem. After "service freshclam restart" system is show me this

# service freshclam status
freshclam (pid 1149) is running...
#  service freshclam restart
Stopping freshclam:                                        [  OK  ]
freshclam is already running:                              [  OK  ]

After that "ps axu | grep freshclam | grep -v grep" gives me nothing (so there is no running proces named freshclam) but service freshclam status tells me that freshclam is already running (but he isn't).

I can run "/usr/bin/freshclam -d -c 2" and everythings is ok. There is nothing suspicious in logs file.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: freshclam starting script problem (I think)

Does PID of freshclamd exist? You can find it in /var/run/clamav/freshclam.pid.

3

Re: freshclam starting script problem (I think)

Yes pid exists. I'm wondering if pid should stay in file /var/run/clamav/freshclam.pid after "service freshclam stop" ?? Bacause that situation is on my server.

4

Re: freshclam starting script problem (I think)

Ideally, file /var/run/clamav/freshclam.pid should be removed after service stopped.
May i know which OS you're running?

5

Re: freshclam starting script problem (I think)

i have CentOS release 5.6