1 (edited by wildweasel 2010-04-10 19:20:04)

Topic: clamav - freshclam errore - can't save PID to file[SOLVED]

I all guys, i have installad a fresh iredeos to build a test mail box, it's a very good piece of software smile

In my /var/log/clamav/freshclam.log there's an error:


ERROR: Can't save PID to file /var/run/clamav/freshclam.pid # /var/run/freshclam.pid: No such file or directory
freshclam daemon 0.96 (OS: linux-gnu, ARCH: i386, CPU: i386)
ClamAV update process started at Thu Apr  8 17:57:21 2010
main.cld is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cld is up to date (version: 10716, sigs: 50151, f-level: 51, builder: ccordes)
bytecode.cvd is up to date (version: 5, sigs: 2, f-level: 44, builder: nervous)
--------------------------------------


How can i solve this problem ?

Regards, Francesco.

----

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

2

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

Does it work after restarting freshclam?

3

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

ZhangHuangbin wrote:

Does it work after restarting freshclam?

Hi Zhang, thx for your quick reply.

I have restarted freshclam several times but every time it write this error into the log file.

Regards, Francesco.

4

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

I found the root cause.

During iRedMail installation, it simply prepend new path of PID file like this:

PidFile /var/run/clamav/freshclam.pid # /var/run/freshclam.pid

Remove '#' and other words after it, it works.

Seems clamav-0.96 doesn't support comment in line now.

5

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

Fixed in iRedMail now. Thanks for your report smile

6

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

ZhangHuangbin wrote:

Fixed in iRedMail now. Thanks for your report smile

Glad to be helpful.

Thx you Zhang smile

7

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

wildweasel wrote:
ZhangHuangbin wrote:

Fixed in iRedMail now. Thanks for your report smile

Glad to be helpful.

Thx you Zhang smile


How did you get it to clamav 0.96 when I run yum update clamav clamav-db clamd it only updates to 0.95.3?

8

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

avious wrote:

How did you get it to clamav 0.96 when I run yum update clamav clamav-db clamd it only updates to 0.95.3?

I removed them temporily.

9

Re: clamav - freshclam errore - can't save PID to file[SOLVED]

ZhangHuangbin wrote:
avious wrote:

How did you get it to clamav 0.96 when I run yum update clamav clamav-db clamd it only updates to 0.95.3?

I removed them temporily.


Okay. Thanks for the reply.