I've seen that "connect(): No such file or directory" message before;
I've found it related with a remaining socket in /tmp/clamd after
reboot (power outage) or clamav update.

Try

# svc -d /service/clamd
# rm /tmp/clamd
# svc -u /service/clamd

hope it helps.

__Abel.




On Wed, 14 Mar 2007 [EMAIL PROTECTED] wrote:

> Date: Wed, 14 Mar 2007 11:16:52 +1030 (CST)
> From: [EMAIL PROTECTED]
> Reply-To: toaster@shupp.org
> To: toaster@shupp.org
> Subject: Re: [toaster] Message send failure, 451 error
>
> Thanks Adi, I did begin down that route, however then I tried a restart of
> the server (which had been running for about 140-something days) and that
> error has now gone away... weird, but good that it's gone. I do like to be
> able to find a reason for an error though; oh well, first case like that
> I've had using this toaster. Thanks and sorry for the delayed summary to
> this problem.
>
> David
>
> > On Wed, 7 Mar 2007 10:47:26 +1030 (CST) [EMAIL PROTECTED] wrote:
> >
> > [...]
> >> <my_relay_fqdn:unknown:<my_relay_ip>> rcpt <[EMAIL PROTECTED]> : found
> >> existing recipient 2007-03-07 10:43:59.838144500 connect(): No such
> >> file or directory 2007-03-07 10:44:00.016430500 tcpserver: end 13403
> >> status 0
> >>
> >> I am running clamdb through the simscan patch though, so i'll check
> >> that out.
> >
> > For testing purposes, try to take simscan out, undefine QMAILQUEUE
> > in /home/vpopmail/etc/tcp.smtp and see if it fixes the delivery. If
> > yes, then take a careful look at simscan integration and configuration.
> >
> > Cheers,
> > Adi
> >
> >>
> >> Regards,
> >> David
> >>
> >> > On Wed, 2007-03-07 at 02:29 +1030, [EMAIL PROTECTED] wrote:
> >> >> Thanks Shane,
> >> >>
> >> >> That was from /var/log/qmail/current, which I thought was a
> >> >> combination of
> >> >> qmail-send and qmail-smtpd, however I don't see all the info in it
> >> >> which I
> >> >> see in /var/log/qmail/smtpd/current so thanks here it is:
> >> >>
> >> >> log of a typical delivery attempt, looking at qmail-smtpd log
> >> >>
> >> >> # tail /var/log/qmail/smtpd/current | tai64nlocal
> >> >>
> >> >> 2007-03-07 02:27:13.881194500 tcpserver: ok 31451
> >> >> 0:my_ip_address:25 :my_relays_ip_address::45142
> >> >> 2007-03-07 02:27:14.508057500 CHKUSER accepted rcpt: from
> >> >> <[EMAIL PROTECTED]::> remote
> >> >> <mail.myrelay.net.au:unknown:my_relays_ip_address> rcpt
> >> >> <[EMAIL PROTECTED]> : found existing recipient
> >> >> 2007-03-07 02:27:14.987645500 connect(): No such file or directory
> >> >> 2007-03-07 02:27:15.049539500 tcpserver: end 31451 status 0
> >> >>
> >> >> This 'connect(): No such file or directory' message is new.
> >> >
> >> > You might want to try adding recordio to your smtpd/run file below
> >> > to get a more detailed output of where this connect error is
> >> > failing. Are you running clam and spamd? Maybe one of them isnt
> >> > running for some reason? Thats about my only guess at this point.
> >> >
> >> > Shane
> >> >
> >> >> I don't know
> >> >> which file it is talking about; the contents of my
> >> >> /service/qmail-smtpd/run file are:
> >> >>
> >> >> #!/bin/sh
> >> >> QMAILDUID=`id -u vpopmail`
> >> >> NOFILESGID=`id -g vpopmail`
> >> >> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> >> >> exec /usr/local/bin/softlimit -m 10000000 \
> >> >>     /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
> >> >>
> >> >> (As you can see I have increased the memory limit whilst
> >> >> troubleshooting).
> >> >>
> >> >> I have verified that all executables exist, file permissions set
> >> >> correctly. I have done a qmailctl cdb.
> >> >>
> >> >> and
> >> >> # cat /home/vpopmail/etc/tcp.smtp
> >> >>
> >> >> 127.:allow,RELAYCLIENT=""
> >> >> :allow,QMAILQUEUE="/var/qmail/bin/simscan"
> >> >>
> >> >> /var/qmail/bin/simscan is there, permissions -rws--x--x, owned by
> >> >> clamav/root
> >> >>
> >> >> ...any more info I can provide?
> >> >
> >> >
> >> >
> >>
> >
> >
> >
>
>
>
>

Reply via email to