TCP.pm Net::Server failure ?

tejas sarade via amavis-users amavis-users at amavis.org
Thu Nov 21 13:43:56 CET 2013


Well, if SELinux is disabled then there is no point in checking audit.log
file. Could you provide the complete output of 'amavisd debug'.
Also let me know if you are running 'amavisd debug' as root user.


On Thu, Nov 21, 2013 at 5:25 PM, via amavis-users
<amavis-users at amavis.org>wrote:

> On Thu, November 21, 2013 9:50 pm, tejas sarade wrote:
> > Check if SELinux is blocking it. Also you might want to check the user
> > under which amavis is running. Most lilely I feel that SELinux is
> blocking
> > it. Can you check the audit.log.
>
> thanks.
>
> it was running OK last two weeks, just dropped off last night
>
> # sestatus
> SELinux status:                 disabled
>
> what else to look in ausdit.log ?
> grep amavis audit.log | wc
>      15     210    2928
>
> last two are like
>
> type=CRED_DISP msg=audit(1384970461.332:10124): user pid=9211 uid=495
> auid=495 ses=1265 msg='op=PAM:setcred acct="amavis" exe="/usr/sbin/crond"
> hostname=? addr=? terminal=cron res=success'
>
> type=USER_END msg=audit(1384970461.332:10125): user pid=9211 uid=495
> auid=495 ses=1265 msg='op=PAM:session_close acct="amavis"
> exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
>
> # grep 495 /etc/passwd
> dovenull:x:497:495:Dovecot's unauthorized
> user:/usr/libexec/dovecot:/sbin/nologin
> amavis:x:495:493:User for amavisd-new:/var/spool/amavisd:/sbin/nologin
>
>
>
> > On Thu, Nov 21, 2013 at 4:03 AM, via amavis-users
> > <amavis-users at amavis.org>wrote:
>
> >> amavisd debug:
> >>
> >> Nov 21 09:25:39.035 emu.sbt.net.au /usr/sbin/amavisd[22499]:
> >> Net::Server:
> >> Binding to TCP port 10024 on host 127.0.0.1 with IPv4
> >> Nov 21 09:25:39.035 emu.sbt.net.au /usr/sbin/amavisd[22499]:
> >> (!)Net::Server: 2013/11/21-09:25:39 Can't connect to TCP port 10024 on
> >> 127.0.0.1 [Permission denied]\n  at line 68 in file
> >> /usr/local/share/perl5/Net/Server/Proto/TCP.pm
> >> Nov 21 09:25:39.035 emu.sbt.net.au /usr/sbin/amavisd[22499]:
> >> Net::Server:
> >> 2013/11/21-09:25:39 Server closing!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20131121/2f6ab20a/attachment.html>


More information about the amavis-users mailing list