[Clamav-users] Re: no socket

2005-04-11 Thread Kurt Albershardt
0.83 on Gentoo Linux I'm not able to see a socket created, either when I use /var/tmp/clamav or when I configure as /var/run/clamav/clamd.sock (after creating the clamav directory and changing permissions appropriately.) Works fine on an old RH8 box, I've diffed the clamd.conf files and there i

[Clamav-users] Re: no socket

2005-04-11 Thread René Berber
Kurt Albershardt wrote: > 0.83 on Gentoo Linux > > I'm not able to see a socket created, either when I use /var/tmp/clamav > or when I configure as /var/run/clamav/clamd.sock (after creating the > clamav directory and changing permissions appropriately.) > > Works fine on an old RH8 box, I've dif

[Clamav-users] Re: no socket

2005-04-12 Thread Kurt Albershardt
René Berber wrote: Kurt Albershardt wrote: I'm not able to see a socket created, either when I use /var/tmp/clamav or when I configure as /var/run/clamav/clamd.sock (after creating the clamav directory and changing permissions appropriately.) Try: lsof -p `pidof clamd` lsof -p `pidof clamd` lsof

[Clamav-users] Re: no socket

2005-04-12 Thread René Berber
Kurt Albershardt wrote: [snip] > lsof -p `pidof clamd` > lsof: no process ID specified Clamd is not running. [snip] > Just a zero-length log file from clamd, and freshclam logs in two > different places depending on whether it's called from clamd or from the > cron job. Cron job logs where the c

[Clamav-users] Re: no socket

2005-04-12 Thread Kurt Albershardt
Rob MacGregor wrote: On Apr 12, 2005 5:01 PM, Kurt Albershardt <[EMAIL PROTECTED]> wrote: And since there's no socket or pid created (despite options calling for such) I don't see anything in ps: # /etc/init.d/clamd status * status: started # ps -fade|grep clam clamav7046 1 0 Apr11 ?

[Clamav-users] Re: no socket

2005-04-12 Thread Kurt Albershardt
René Berber wrote: From freshclam.log: UpdateLogFile /var/log/freshclam.log What about /etc/freshclam.conf? Sorry--fumblefingered that one. It was from /etc/freshclam.conf of course. when starting/stopping clamd, I see a notification for freshclam only: # /etc/init.d/clamd start [ ok ]ing fre

[Clamav-users] Re: no socket

2005-04-12 Thread Kurt Albershardt
René Berber wrote: freshclam logs in two different places depending on whether it's called from clamd or from the cron job. Cron job logs where the config file specifies, but when clamd calls freshclam on startup, it uses clam-update.log (which I don't find mentioned in any of the config files or

Re: [Clamav-users] Re: no socket

2005-04-12 Thread Rob MacGregor
On Apr 12, 2005 5:01 PM, Kurt Albershardt <[EMAIL PROTECTED]> wrote: > > And since there's no socket or pid created (despite options calling for > such) I don't see anything in ps: > > # /etc/init.d/clamd status > * status: started > # ps -fade|grep clam > clamav7046 1 0 Apr11 ?

Re: [Clamav-users] Re: no socket

2005-04-12 Thread Dale Walsh
On Apr 11, 2005, at 22:20, Kurt Albershardt wrote: 0.83 on Gentoo Linux I'm not able to see a socket created, either when I use /var/tmp/clamav or when I configure as /var/run/clamav/clamd.sock (after creating the clamav directory and changing permissions appropriately.) Works fine on an old RH

Re: [Clamav-users] Re: no socket

2005-04-12 Thread Rob MacGregor
On 4/13/05, Kurt Albershardt <[EMAIL PROTECTED]> wrote: > > Why does it return a status of 'started' when I query it? That's the OS scripts doing that, not clamd itself. I'd suggest that the most likely issue is permissions - check that the user you're running it as has the correct permissions (