Worked for me! Easy Fix!

On 6/14/06, Eric Shubes <[EMAIL PROTECTED]> wrote:
Eric "Shubes" wrote:
> K Anand wrote:
>> I have upgraded my clamav..after upgrade and restart of machine..I see
>> this
>> in my freshclam.log
>>
>> ERROR: Can't save PID to file /var/run/clamav/freshclam.pid: No such
>> file or directory
>>
>> I manually upgraded the clam db's and it went thro fine...Is this a
>> problem
>> ?
>>
>> Anand
>>
> I have the same thing, using clamav-toaster-0.88.2-1.2.15 (originally)
>
> I don't know the consequence of not having this file in this instance.
> I'm not familiar enough with clamav (yet). That type of file is simply
> used to identify the ProcessID clamav is running as. It can be used to
> prevent multiple instances from starting up, and/or make shutting down
> simpler. It shouldn't affect normal operation. However, I suppose it's
> possible that simscan *might* check this file to determine if clamav is
> running or not. That would be significant.
>
> I see that freshclam also uses the /var/run/clamav directory for its PID
> file, so I'm guessing that this is the proper directory.
>
> The /var/run/clamav directory does not exist. I presume that if you
> # mkdir /var/run/clamav
> the message will go away. I need to do that too.
>
> The binary rpm should create this directory for you. Nick (or anyone
> else), what are your thoughts on this?
>
That being said, I see that /var/log/clamav directory has owner:group
clamav:clamav. I'd also do:
# chown clamav:clamav /var/run/clamav
That should do it.

--
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
-Nic

Reply via email to