ok. i'll give that a shot. thanks guys!

phil
---------------------------
drahtlos gmbh
ringstrasse 18
9543 st.margarethen
************************************
fon +41 (0)71 960 09 23
mob +41 (0)79 750 87 74
[EMAIL PROTECTED]
http://www.drahtlos.ch

On 05.12.2003, at 12:20, Odhiambo Washington wrote:

* Philipp Ringli <[EMAIL PROTECTED]> [20031205 12:16]: wrote:

* Philipp Ringli <[EMAIL PROTECTED]> [20031205 11:45]: wrote:
hey all,

i am still having troubles with clamav on MDK 9.2.

this is what i get in the mail, when the daily cron job runs:
subject: Cron <[EMAIL PROTECTED]> nice -n 19 run-parts /etc/cron.daily
body:
connect(): No such file or directory
ERROR: Can't connect to clamd.

What do you get when you do


ps ax | grep clamd | grep -v grep
Is clamd running?

i get nothing. clamd isn't running. i think the perl script "checkvirus.pl" (filter) which xmail is using to check for viruses uses clamscan and not clamd.

Secondly, what does this cron job do? Freshclam???

yes. it's freshclam.


this script is in /etc/cron.daily :
-------------------------------------------------------------------
#!/bin/sh

# A simple update script for the clamav virus database. This could as
well
# be replaced by a SysV script.

# fix log file if needed
LOG_FILE="/var/log/clamav/freshclam.log"
if [ ! -f ${LOG_FILE} ]; then
    touch $LOG_FILE
    chmod 644 $LOG_FILE
    chown clamav.clamav $LOG_FILE
fi

/usr/bin/freshclam \
    --quiet \
    --datadir=/var/lib/clamav \
    --log=$LOG_FILE \
    --log-verbose \
    --daemon-notify=/etc/clamav.conf
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Remove that line and the \ before it.



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+====================================================================== +
|\ _,,,---,,_ | Odhiambo Washington <[EMAIL PROTECTED]>
Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com
|,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922
'---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121
+====================================================================== +
If a listener nods his head when you're explaining your program, wake
him up.



------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to