> 
> ok. And have you installed a start script
> (maybe /etc/init.d/clamav-daemon)?
> What is the entry of CLAMAVCONF=?
> Is this started?




#!/bin/sh
# Start/stop/restart clamav.

# Start clamav:
clamav_start() {
        if [ -x /usr/sbin/clamd ]; then
                CLAMD_COMMAND="/usr/sbin/clamd"
                echo "Starting clamd daemon:" $CLAMD_COMMAND
                eval $CLAMD_COMMAND
                # Give clamd a chance to make the socket
                sleep 5         # 1 second is *not* enough
                MILTER_COMMAND="/usr/sbin/clamav-milter --external      \
                --quiet --dont-scan-on-error --local --max-children=2   \
                local:/var/run/clamav-milter/milter.sock"
                echo "Starting clamav-milter daemon: " $MILTER_COMMAND
                eval $MILTER_COMMAND
        fi
}

# Stop clamav:
clamav_stop() {
        cd /var/run/clamav-milter
        echo "Stopping clamd"
        if test -r clamd.pid; then
                kill $(cat clamd.pid)
        else
                killall clamd
        fi
        echo "Stopping clamav-milter"
        if test -r milter.pid; then
                kill $(cat milter.pid)
        else
                killall clamav-milter
        fi
}

case "$1" in
        'start')
                clamav_start
        ;;
        'stop')
                clamav_stop
        ;;
        'restart')

          clamav_stop
                sleep 1
                clamav_start
        ;;
        *)
                echo "Usage: $0 start|stop|restart"
                exit 1
        ;;
esac






 
> What shows
> ps ax | grep clamdsh-3.1$ locate clamd.conf
/etc/clamd.conf
/etc/clamd.conf.orig
/etc/clamd.conf.new
/usr/man/man5/clamd.conf.5.gz
> after starting?


> Do you have a folder /var/run/clamav?


yes

> Where is the clamd.conf? Do you have maybe a second clamd.conf?
> Show us please locate clamd.conf
> Show us please the clamd.conf


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to