[EMAIL PROTECTED] wrote: > On Fri, 23 Apr 2004 12:07:13 -0400, "Don Levey" > <[EMAIL PROTECTED]> wrote: > > >> For whatever reason, I'm not seeing clamav-milter in my ps list. >> If it's not running, that would explain why it doesn't create a sock >> and perhaps why sendmail can't then connect to that sock. I get no >> feedback when trying to start it, even explicitly using the command- >> line options in the config file. Nor do I see anything in any log >> file that is of help (checked messages, no clamav-milter log, >> clamd.log doesn't show anything). >> >> FWIW, freshclam *seems* to be working smoothly - at least, I get no >> errors and the process seems to be running... >> > > > the milter is controlled by its command line: > > [root]# cat /etc/sysconfig/clamav-milter > CLAMAV_FLAGS="-lo --max-children=10 --noreject --force-scan --quiet > --dont-log-clean --server=localhost > local:/var/run/clamav/clamav-milter.sock > --quarantine-dir=/var/spool/clamav" > > [root]# ps -ef |grep clamav-milter > clamav 2252 1 0 08:56 ? 00:00:00 > /usr/sbin/clamav-milter -lo > --max-children=10 --noreject --force-scan --quiet --dont-log-clean > --server=localhost local:/var/run/clamav/clamav-milter.sock > --quarantine-dir=/var/spool/clamav > > In my clamav.conf, I have syslogging enabled. I don't know if > clamav-milter cares about it. > > At a minimum, the process events get logged there:
... I'm beginning to think that it's the clamav-milter script itself which is the problem. For those still patient enough to remain tuned in, I think we've checked just about everything else. My script is below - I haven't made any changes to the base install because I can see no red flags here: #!/bin/sh # # clamav-milter This script starts and stops the clamav-milter daemon # # chkconfig: 2345 91 30 # # description: clamav-milter is a daemon which hooks into sendmail and routes # email messages to clamav # processname: clamav-milter # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Local clamav-milter config CLAMAV_FLAGS= test -f /etc/sysconfig/clamav-milter && . /etc/sysconfig/clamav-milter # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -x /usr/local/sbin/clamav-milter ] || exit 0 PATH=$PATH:/usr/bin:/usr/local/sbin:/usr/local/bin RETVAL=0 start() { echo -n "Starting clamav-milter: " daemon clamav-milter ${CLAMAV_FLAGS} RETVAL=$? echo test $RETVAL -eq 0 && touch /var/lock/subsys/clamav-milter return $RETVAL } stop() { echo -n "Shutting down clamav-milter: " killproc clamav-milter RETVAL=$? echo test $RETVAL -eq 0 && rm -f /var/lock/subsys/clamav-milter } restart() { stop start } # See how we were called. case "$1" in start) # Start daemon. start ;; stop) # Stop daemon. stop ;; restart|reload) restart ;; condrestart) test -f /var/lock/subsys/clamav-milter && $0 restart || : ;; status) status clamav-milter ;; *) echo "Usage: $0 {start|stop|reload|restart|condrestart|status}" exit 1 esac exit $? ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users