[ale] mounting an SD card

Michael B. Trausch fd0man at gmail.com
Thu Jun 29 11:47:46 EDT 2006


On Thu, June 29 2006 11:07, Paul Cartwright wrote:
>
> you know, I used to create shell scripts that did what logrotate
> does... that is exactly what I was looking for!
>
> while we are on logs, in the messages file, I saw these entries for
> freshclam, is it bad that it can't connect to clamd on 127.0.0.1 ?
>

Not sure... the web site (http://sial.org/howto/clamav/freshclam/) indicates 
that it should be using a UNIX domain socket, possibly 
at /var/run/clamd.sock -- have you attempted to see if the freshclam manual 
notifier for clamd works?

>From the freshclam site above:

> Manually notify clamd.
> The following perl command shows how to manually notify the clamd daemon
> listening to the /var/run/clamd.sock socket file. The location of the
> socket file will vary; check clamd.conf or use lsof to find the exact
> location. 
>   # perl -MIO::Socket::UNIX -we \ 
>   '$s = IO::Socket::UNIX->new(shift); \
>   $s->print("RELOAD"); print $s->getline; $s->close' \
>   /var/run/clamd.sock
>   RELOADING
> The clamd daemon should return the string RELOADING in response to the
> RELOAD request. A Nagios plugin could send PING to the socket and expect
> PONG as part of a clamd monitoring script.

	HTH (at least a little bit),
	Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available




More information about the Ale mailing list