On Friday 27 February 2009, Dawg E Biscuit wrote: > To answer part of my own thread I found the clamd log and found that > there was an error there about /tmp/clamd socket. delete the file and > now am getting the error in smtp/current log > $ > @4000000049a81023144a63ac connect(): No such file or directory > > atleast now it is telling me what the problem is now have to find where > the problem is .. LOL
did you restart clamd and did the socket re-appear? The socket is required > > Dawg E Biscuit wrote: > > Did not have the clamd.pid file, was not set in the conf file. > > > > The permissions are all clamav.clamav in that directory and above, > > though there is a .dblock file in all the directories that I am not > > sure about though it is owned by clamav.clamav > > > > I am unable to find a clamd.log file ... unless it is writing directly > > to the syslog. > > > > I thought about upgrading clam but everything I have read has stated > > that it doesn''t play well with the toaster and daemontools. I am > > experienced enough to compile it from source but just don't want to > > break anything else. > > > > Bob Hutchinson wrote: > >> On Friday 27 February 2009, Dawg E Biscuit wrote: > >>> Well this is the first time I have posted in a long time. Afters years > >>> of service I have decided to build a new server that will handle my > >>> email and everything went according to plan when installing but there > >>> are a few problems. The main one being I am unable to send email from > >>> my mail client, I have not tested webmail as I don't use that all that > >>> much but SMTP connections are a must. > >>> > >>> When I try to send email I get that the connection has been temporarily > >>> refused Error #4.0.3. > >>> > >>> I have done some troubleshooting and searching in this archive and on > >>> the web and cannot find anything that will fix this problem. > >>> > >>> Here are some log Snippets > >> > >> Looking at these snippets I'd say there was something wrong with clamd > >> Ensure that /usr/local/share/clamav and below are set to clamav.clamav > >> > >> assuming clamd is running under daemontools > >> Check the clamd logs > >> stop the clamd service, svc -d /service/clamd > >> check that there is no existing pidfile, /var/run/clamd/clamd.pid (if > >> you have that set in clamav.conf) > >> Start the service svc -u /service/clamd > >> Check the clamd logs again > >> Check the smtpd logs too and it won't hurt to restart that too > >> > >> Run freshclam and look at the ouput in freshclam.log, is it reloading > >> clamd? > >> It should be something like this: > >> > >> Received signal: wake up > >> ClamAV update process started at Fri Feb 27 10:34:49 2009 > >> main.cld is up to date (version: 50, sigs: 500667, f-level: 38, > >> builder: sven) > >> Trying host db.uk.clamav.net (81.91.100.173)... > >> Downloading daily-9054.cdiff [100%] > >> daily.cld updated (version: 9054, sigs: 13906, f-level: 38, builder: > >> guitar) > >> Database updated (514573 signatures) from db.uk.clamav.net (IP: > >> 81.91.100.173) > >> Clamd successfully notified about the update. > >> > >> > >> You could upgrade clamd too > >> > >> HTH > >> > >>> ----- QMAIL-SMTP/ CURRENT ----- > >>> @4000000049a721ae36717e0c tcpserver: status: 1/20 > >>> @4000000049a721ae367189c4 tcpserver: pid 5394 from 69.63.33.62 > >>> @4000000049a721ae367189c4 tcpserver: ok 5394 0:192.168.1.50:25 > >>> > >>> :69.63.33.62::49269 > >>> > >>> @4000000049a721af021fffac CHKUSER accepted sender: from > >>> <ad...@internet-helpers.net:rgabo...@internet-helpers.net:> remote > >>> <[192.168.1.100]:unknown:69.63.33$ > >>> @4000000049a721af023d3c0c CHKUSER accepted rcpt: from > >>> <ad...@internet-helpers.net:rgabo...@internet-helpers.net:> remote > >>> <[192.168.1.100]:unknown:69.63.33.6$ > >>> @4000000049a721af02af763c connect(): Connection refused > >>> @4000000049a721b320707f2c tcpserver: end 5394 status 0 > >>> @4000000049a721b320708ae4 tcpserver: status: 0/20 > >>> @4000000049a7271320045b94 tcpserver: status: 0/20 > >>> @4000000049a727381d490c24 tcpserver: status: 1/20 > >>> @4000000049a727381d4917dc tcpserver: pid 5777 from 69.63.33.62 > >>> @4000000049a727381d491bc4 tcpserver: ok 5777 0:192.168.1.50:25 > >>> > >>> :69.63.33.62::49480 > >>> > >>> @4000000049a72738209d4804 CHKUSER accepted sender: from > >>> <ad...@internet-helpers.net:rgabo...@internet-helpers.net:> remote > >>> <[192.168.1.100]:unknown:69.63.33$ > >>> @4000000049a7273820b8e654 CHKUSER accepted rcpt: from > >>> <ad...@internet-helpers.net:rgabo...@internet-helpers.net:> remote > >>> <[192.168.1.100]:unknown:69.63.33.6$ > >>> @4000000049a727382dd7c56c connect(): Connection refused > >>> @4000000049a7273b39e1218c tcpserver: end 5777 status 0 > >>> @4000000049a7273b39e1295c tcpserver: status: 0/20 > >>> @4000000049a728890a4737cc tcpserver: status: 1/20 > >>> @4000000049a728890a474384 tcpserver: pid 5798 from 69.63.33.62 > >>> @4000000049a728890a47476c tcpserver: ok 5798 0:192.168.1.50:25 > >>> > >>> :69.63.33.62::49517 > >>> > >>> @4000000049a728890d12fe14 CHKUSER accepted sender: from > >>> <ad...@internet-helpers.net:rgabo...@internet-helpers.net:> remote > >>> <[192.168.1.100]:unknown:69.63.33$ > >>> @4000000049a728890d2f0dac CHKUSER accepted rcpt: from > >>> <ad...@internet-helpers.net:rgabo...@internet-helpers.net:> remote > >>> <[192.168.1.100]:unknown:69.63.33.6$ > >>> @4000000049a728891f62a524 connect(): Connection refused > >>> @4000000049a7288b1609886c tcpserver: end 5798 status 0 > >>> @4000000049a7288b16099424 tcpserver: status: 0/20 > >>> > >>> ----- Freshclam.log ---- > >>> Received signal: wake up > >>> ClamAV update process started at Thu Feb 26 12:06:50 2009 > >>> SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES > >>> See the FAQ at http://www.clamav.net/support/faq for an explanation. > >>> WARNING: Your ClamAV installation is OUTDATED! > >>> WARNING: Local version: 0.90.2 Recommended version: 0.94.2 > >>> DON'T PANIC! Read http://www.clamav.net/support/faq > >>> ERROR: Can't lock database directory: /usr/local/share/clamav > >>> -------------------------------------- > >>> -------------------------------------- > >>> freshclam daemon 0.90.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) > >>> ClamAV update process started at Thu Feb 26 13:39:19 2009 > >>> WARNING: Your ClamAV installation is OUTDATED! > >>> WARNING: Local version: 0.90.2 Recommended version: 0.94.2 > >>> DON'T PANIC! Read http://www.clamav.net/support/faq > >>> main.inc is up to date (version: 50, sigs: 500667, f-level: 38, > >>> builder: > >>> sven) > >>> Downloading daily-9049.cdiff [100%] > >>> Ignoring mirror 24.215.0.24 (too often connections with outdated > >>> version) > >>> ERROR: getpatch: Can't download daily-9050.cdiff from > >>> database.clamav.net > >>> Downloading daily-9050.cdiff [100%] > >>> Ignoring mirror 130.59.10.36 (too often connections with outdated > >>> version) > >>> ERROR: getpatch: Can't download daily-9051.cdiff from > >>> database.clamav.net > >>> Downloading daily-9051.cdiff [100%] > >>> daily.inc updated (version: 9051, sigs: 13885, f-level: 38, builder: > >>> guitar) WARNING: Your ClamAV installation is OUTDATED! > >>> WARNING: Current functionality level = 15, recommended = 38 > >>> DON'T PANIC! Read http://www.clamav.net/support/faq > >>> Database updated (514552 signatures) from database.clamav.net (IP: > >>> 208.70.244.158) > >>> -------------------------------------- > >>> Received signal: wake up > >>> ClamAV update process started at Thu Feb 26 15:39:21 2009 > >>> WARNING: Your ClamAV installation is OUTDATED! > >>> WARNING: Local version: 0.90.2 Recommended version: 0.94.2 > >>> DON'T PANIC! Read http://www.clamav.net/support/faq > >>> ERROR: Can't lock database directory: /usr/local/share/clamav > >>> -------------------------------------- > >>> Received signal: wake up > >>> ClamAV update process started at Thu Feb 26 17:40:26 2009 > >>> WARNING: Your ClamAV installation is OUTDATED! > >>> WARNING: Local version: 0.90.2 Recommended version: 0.94.2 > >>> DON'T PANIC! Read http://www.clamav.net/support/faq > >>> ERROR: Can't lock database directory: /usr/local/share/clamav > >>> -------------------------------------- > >>> -------------------------------------- > >>> freshclam daemon 0.90.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) > >>> ClamAV update process started at Thu Feb 26 18:05:42 2009 > >>> WARNING: Your ClamAV installation is OUTDATED! > >>> WARNING: Local version: 0.90.2 Recommended version: 0.94.2 > >>> DON'T PANIC! Read http://www.clamav.net/support/faq > >>> main.inc is up to date (version: 50, sigs: 500667, f-level: 38, > >>> builder: > >>> sven) > >>> daily.inc is up to date (version: 9051, sigs: 13885, f-level: 38, > >>> builder: guitar) > >>> -------------------------------------- > >>> > >>> > >>> > >>> ---- qmail/current ----- > >>> @4000000049a65aae2256ea9c info msg 6023930: bytes 411604 from > >>> <r...@dawgpound.internet-helpers.net> qp 7258 uid 501 > >>> @4000000049a65aae229153bc starting delivery 2: msg 6023930 to local > >>> internet-helpers.net-ad...@internet-helpers.net > >>> @4000000049a65aae22915f74 status: local 2/10 remote 0/20 > >>> @4000000049a65aae22915f74 delivery 1: success: did_0+1+0/qp_7258/ > >>> @4000000049a65aae2291635c status: local 1/10 remote 0/20 > >>> @4000000049a65aae22b6313c end msg 6023912 > >>> @4000000049a65aae25237434 delivery 2: success: did_0+0+1/ > >>> @4000000049a65aae25237c04 status: local 0/10 remote 0/20 > >>> @4000000049a65aae25237fec end msg 6023930 > >>> @4000000049a6e1902869d534 status: exiting > >>> @4000000049a6e1f12262f88c status: local 0/10 remote 0/20 > >>> @4000000049a71fff126e9314 status: exiting > >>> @4000000049a72062128687e4 status: local 0/10 remote 0/20 > >>> @4000000049a7271315ce8ec4 status: exiting > >>> @4000000049a72713164ae2e4 status: local 0/10 remote 0/20 > >>> > >>> As far as I can tell I am getting log watch messages from the server > >>> but > >>> nothing via smtp. > >>> > >>> /----- /service/qmail-smtp/run ----- > >>> #!/bin/sh > >>> QMAILDUID=`id -u vpopmail` > >>> NOFILESGID=`id -g vpopmail` > >>> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` > >>> exec /usr/local/bin/softlimit -m 60000000 \ > >>> /usr/local/bin/tcpserver -v -H -R -l 0 \ > >>> -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ > >>> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ > >>> /var/qmail/bin/qmail-smtpd \ > >>> /home/vpopmail/bin/vchkpw /bin/true 2>&1 > >>> > >>> ----- ~vpopmail/etc/tcp.smtp ---- > >>> 127.:allow,RELAYCLIENT="" > >>> > >>> :allow,QMAILQUEUE="/var/qmail/bin/simscan" > >>> > >>> I have also done: > >>> > >>> 127.:allow,RELAYCLIENT="" > >>> > >>> :allow,QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1" > >>> > >>> with no different results. > >>> > >>> Any ideas would be greatly appreciated. Running a AMD64 with CentOS5.2 > >>> X86_64 version > >>> > >>> Installed everything but Razor and TMDA on the toaster as razor > >>> wouldn't > >>> go and I subscribe to too many lists to fight with TMDA to get it setup > >>> properly right now. > >>> > >>> Regards, > >>> Rob G -- ----------------- Bob Hutchinson Midwales dot com -----------------