Re: [Clamav-users] clamavd hangs frequently

2008-03-14 Thread Andy Smith
Hi Joern,

  I cant help u with the clam prob, but I can save u writing ur own script to 
restart clamd. Do a search
on sourceforge for psmon, its pretty handy (tho I modified it a little to make 
it more useful for what I
needed),

cheers Andy.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] clamavd hangs frequently

2008-03-13 Thread Joern Bredereck

Hi,

we are running several Debian GNU/Linux (Etch) boxes as mail gateways for our 
clients. On at least two of those boxes we have frequent problems with 
clamav-daemon. In one case clamav-daemon is being used by amavisd-new in the 
other case we use a smtp-proxy called clamsmtp.

Every second or third day, clamd is shut down and needs a manuall restart. 
After the restart everything seems to be fine again until some days later 
clamd is shut down again.

Anyohne heard of this before? What can we do, to troubleshoot this? I thought 
about writing a little watchdog-script, which automaticly restarts clamd, 
when it's not running anymore, but I would prefer a prober solution.


Here is some further information about the packages we use:

Box 1 (firegate):

firegate:~# dpkg -l |grep clam
ii  clamav-base0.90.1-3etch7 
base package for clamav, an anti-virus utili
ii  clamav-daemon  0.90.1-3etch2 
antivirus scanner daemon
rc  clamav-data20071123.103400.4890 
clamav data files
ii  clamav-freshclam   0.90.1-3etch7 
downloads clamav virus databases from the In
ii  clamsmtp   1.8-5 
virus-scanning SMTP proxy
ii  libclamav2 0.91.2-1~volatile1 
virus scanner library


Box 2: (aurin)

aurin:~# dpkg -l |grep clam
ii  clamav  0.90.1-3etch8 
antivirus scanner for Unix
ii  clamav-base 0.90.1-3etch8 
base package for clamav, an anti-virus utili
ii  clamav-daemon   0.90.1-3etch8 
antivirus scanner daemon
ii  clamav-freshclam0.90.1-3etch8 
downloads clamav virus databases from the In
ii  libclamav2  0.90.1-3etch8 
virus scanner library


Thanks in advance!

Joern





___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] clamavd hangs frequently

2008-03-13 Thread Stuart Rowan
Upgrade all clam packages to the versions in volatile.

Mixing versions is the road to madness. All components should at least be 
at the *same* version.

The version(s) in Etch / stable are old and do have problems, by upgrading 
all components to the versions in volatile, you should see a lot fewer 
problems.

Kind regards,
Stu.

Joern Bredereck wrote, on 13/03/08 13:06:
 Hi,
 
 we are running several Debian GNU/Linux (Etch) boxes as mail gateways for our 
 clients. On at least two of those boxes we have frequent problems with 
 clamav-daemon. In one case clamav-daemon is being used by amavisd-new in the 
 other case we use a smtp-proxy called clamsmtp.
 
 Every second or third day, clamd is shut down and needs a manuall restart. 
 After the restart everything seems to be fine again until some days later 
 clamd is shut down again.
 
 Anyohne heard of this before? What can we do, to troubleshoot this? I thought 
 about writing a little watchdog-script, which automaticly restarts clamd, 
 when it's not running anymore, but I would prefer a prober solution.
 
 
 Here is some further information about the packages we use:
 
 Box 1 (firegate):
 
 firegate:~# dpkg -l |grep clam
 ii  clamav-base0.90.1-3etch7 
 base package for clamav, an anti-virus utili
 ii  clamav-daemon  0.90.1-3etch2 
 antivirus scanner daemon
 rc  clamav-data20071123.103400.4890 
 clamav data files
 ii  clamav-freshclam   0.90.1-3etch7 
 downloads clamav virus databases from the In
 ii  clamsmtp   1.8-5 
 virus-scanning SMTP proxy
 ii  libclamav2 0.91.2-1~volatile1 
 virus scanner library
 
 
 Box 2: (aurin)
 
 aurin:~# dpkg -l |grep clam
 ii  clamav  0.90.1-3etch8 
 antivirus scanner for Unix
 ii  clamav-base 0.90.1-3etch8 
 base package for clamav, an anti-virus utili
 ii  clamav-daemon   0.90.1-3etch8 
 antivirus scanner daemon
 ii  clamav-freshclam0.90.1-3etch8 
 downloads clamav virus databases from the In
 ii  libclamav2  0.90.1-3etch8 
 virus scanner library
 
 
 Thanks in advance!
 
 Joern
 
 
 
 
 
 ___
 Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
 http://lurker.clamav.net/list/clamav-users.html

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html