hi,

please check /etc/conf.d/clamd file as well.
You will find a parameter to start clamd too.

Best Regards.


Zbynek Houska wrote:

Dear users,

maybe I'm wrong, but I experience clamd not to start at all. After
issuing /etc/init.d/clamd start just freshclam is started.

As of startup script, I think first part is skipped or omited...

----snip----
start() {
       if [ "${START_CLAMD}" = "yes" ]; then

# I dont' know hwat kind of variable it's, where should I enable it?
# I don't use sockets..

               if [ -S "/tmp/clamd" ]; then
                       rm -f /tmp/clamd
               fi
               if [ -n "${CLAMD_LOG}" -a ! -f "${CLAMD_LOG}" ]; then
                       touch "${CLAMD_LOG}"
                       chown clamav:clamav "${CLAMD_LOG}"
                       CLAMD_OPTS="${CLAMD_OPTS}${CLAMD_LOG}"
               fi
               ebegin "Starting clamd"
               start-stop-daemon --start --quiet \
                       --exec /usr/sbin/clamd -- ${CLAMD_OPTS}
               eend $? "Failed to start clamd"
       fi
       if [ "${START_FRESHCLAM}" = "yes" ]; then
               if [ -n "${FRESHCLAM_LOG}" ]; then
                       if [ ! -f "${FRESHCLAM_LOG}" ]; then
                               touch "${FRESHCLAM_LOG}"
                               chown clamav:clamav "${FRESHCLAM_LOG}"
                       fi
                       FRESHCLAM_OPTS="${FRESHCLAM_OPTS} -l
${FRESHCLAM_LOG}"
               fi

---snip-----

Zbynek

--
[email protected] mailing list





--
Genco YILMAZ

--
[email protected] mailing list



Reply via email to