Hi folks,
I've run into some problems upgrading ClamAV from 0.70rc to the latest version (0.75.1) and was hoping someone on the list might be able to shed some light on the matter. Specifically my problem is with clamav-milter and its inability to talk to the clamd daemon after I upgrade (clamdscan runs just fine).
My upgrade procedure:
1. Kill existing processes (clamd, freshclam, clamav-milter)
2. Kill sendmail
3. Make sure /tmp/clamd and /var/run/clamav/clmilter.sock sockets are non-existant
4. Run make uninstall from the 0.70rc source directory
5. configure --enable-milter;make;make check;make install in the 0.75.1 source directory
6. Start in order:
clamd
freshclam -d -c 12 --daemon-notify=/usr/local/etc/clamav.conf
clamav-milter -dnoP local:/var/run/clamav/clmilter.sock
sendmail
I haven't changed my clamav.conf file at all between versions. Its contents are:
LogFile /var/log/clamd.log LogSyslog PidFile /var/run/clamav/clamd.pid TemporaryDirectory /var/tmp LocalSocket /tmp/clamd FixStaleSocket TCPAddr x.x.x.x StreamSaveToDisk StreamMaxLength 5M MaxThreads 15 MaxDirectoryRecursion 5 FollowDirectorySymlinks FollowFileSymlinks User clamav ScanMail ScanArchive ArchiveMaxFileSize 2M ArchiveMaxRecursion 3 ArchiveMaxFiles 300 ArchiveMaxCompressionRatio 200
The relevant sendmail config is unchanged (8.12.8):
INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS',`clamav')
I'm getting the following errors appear in my mail log:
clamav-milter[8872]: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c clamav-milter[8880]: Failed to connect to port 34447 given by clamd: PORT 34447 clamav-milter[8880]: No data received from clamd in 120 seconds clamav-milter[8946]: Failed to connect to port 31045 given by clamd: PORT 31045 clamav-milter[8952]: Failed to connect to port 39433 given by clamd: PORT 39433 clamav-milter[8956]: Failed to connect to port 59518 given by clamd: PORT 59518 clamav-milter[8963]: Failed to connect to port 13792 given by clamd: PORT 13792 clamav-milter[8946]: No data received from clamd in 120 seconds
The machine itself is running Red Hat 8.
I'm stumped...any ideas?
Cheers, John
john twyman school of geosciences university of sydney w: +61 2 9351 3189 m: +61 401 992 836 e: [EMAIL PROTECTED]
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
