TCP.pm Net::Server failure ?

tejas sarade via amavis-users amavis-users at amavis.org
Thu Nov 21 15:31:51 CET 2013


It seems like the issue with Perl modules. Something is causing to pass
undef value to perl-Net-Server.
May be some Perl expert will figure out exactly what is happening.

What version of perl-Net-Server you are using?
I am using following versions on CentOS 6
perl-Net-Server-0.97-7.el6.noarch
amavisd-new-2.8.0-4.el6.noarch

Note that I have installed amavis from EPEL(
http://dl.fedoraproject.org/pub/epel/6/i386/) repository which includes all
the dependencies for amavis. And everything is working fine.

Just cross check the Perl modules, when right version is not installed they
tend to break the things.


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

> On Thu, November 21, 2013 11:43 pm, tejas sarade wrote:
> > 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.
>
> thanks
> yes, running debug as root
>
> btw, half an hour I've downloaded amavisd-new-2.8.1 (20130628), and,
> replaced the executable with the 2.8.1 version now,
>
> [also, entered some new changes in amavisd.conf such as enabling ports
> 10586 and 10026 (as per my other server)]
>
> ----------
> # amavisd debug
> Nov 21 23:49:53.133 emu.sbt.net.au /usr/sbin/amavisd[14377]: logging
> initialized, log level 0, syslog: amavis.mail
> Nov 21 23:49:53.133 emu.sbt.net.au /usr/sbin/amavisd[14377]: starting.
> /usr/sbin/amavisd at emu.sbt.net.au amavisd-new-2.8.1 (20130628), Unicode
> aware, LANG="en_US.UTF-8"
> Nov 21 23:49:53.133 emu.sbt.net.au /usr/sbin/amavisd[14377]:
> perl=5.010001, user=, EUID: 495 (495);  group=, EGID: 493 493 (493 493)
> Nov 21 23:49:53.176 emu.sbt.net.au /usr/sbin/amavisd[14377]: INFO: no
> optional modules: unicore::lib::Perl::Alnum.pl
> unicore::lib::Perl::SpacePer.pl unicore::lib::Perl::Word.pl
> unicore::lib::Alpha::Y.pl unicore::lib::Nt::De.pl Unix::Getrusage
> Nov 21 23:49:53.176 emu.sbt.net.au /usr/sbin/amavisd[14377]: SpamControl:
> attempting to load scanner SpamAssassin, module
> Amavis::SpamControl::SpamAssassin
> Nov 21 23:49:53.176 emu.sbt.net.au /usr/sbin/amavisd[14377]: SpamControl:
> scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
> Nov 21 23:49:53.406 emu.sbt.net.au /usr/sbin/amavisd[14377]: INFO: SA
> version: 3.3.1, 3.003001, no optional modules: Net::CIDR::Lite URI::_idna
> URI::_punycode Image::Info Image::Info::GIF Image::Info::JPEG
> Image::Info::PNG Image::Info::BMP Image::Info::TIFF
> auto::NetAddr::IP::InetBase::inet_any2n
> auto::NetAddr::IP::InetBase::inet_n2ad
> auto::NetAddr::IP::InetBase::inet_n2dx
> auto::NetAddr::IP::InetBase::inet_ntoa
> auto::NetAddr::IP::InetBase::ipv6_aton
> auto::NetAddr::IP::InetBase::ipv6_ntoa
> Nov 21 23:49:53.406 emu.sbt.net.au /usr/sbin/amavisd[14377]: SpamControl:
> init_pre_chroot on SpamAssassin done
> Nov 21 23:49:53.406 emu.sbt.net.au /usr/sbin/amavisd[14377]: socket module
> IO::Socket::INET6, protocol families available: INET, INET6
> Nov 21 23:49:53.407 emu.sbt.net.au /usr/sbin/amavisd[14377]: bind to
> /var/spool/amavisd/amavisd.sock|unix, 127.0.0.1:10024/tcp,
> [::1]:10024/tcp, 127.0.0.1:10026/tcp, [::1]:10026/tcp,
> 127.0.0.1:10586/tcp, [::1]:10586/tcp, 127.0.0.1:9998/tcp, [::1]:9998/tcp
> Nov 21 23:49:53.408 emu.sbt.net.au /usr/sbin/amavisd[14377]: Net::Server:
> 2013/11/21-23:49:53 Amavis (type Net::Server::PreForkSimple) starting!
> pid(14377)
> Use of uninitialized value in subroutine entry at
> /usr/local/share/perl5/Net/Server/Proto.pm line 125.
> Use of uninitialized value in subroutine entry at
> /usr/local/share/perl5/Net/Server/Proto.pm line 125.
> Use of uninitialized value in subroutine entry at
> /usr/local/share/perl5/Net/Server/Proto.pm line 125.
> Use of uninitialized value in subroutine entry at
> /usr/local/share/perl5/Net/Server/Proto.pm line 125.
> Nov 21 23:49:53.412 emu.sbt.net.au /usr/sbin/amavisd[14377]: Net::Server:
> Binding to UNIX socket file "/var/spool/amavisd/amavisd.sock"
> Nov 21 23:49:53.412 emu.sbt.net.au /usr/sbin/amavisd[14377]: Net::Server:
> Binding to TCP port 10024 on host 127.0.0.1 with IPv4
> Nov 21 23:49:53.413 emu.sbt.net.au /usr/sbin/amavisd[14377]:
> (!)Net::Server: 2013/11/21-23:49:53 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 23:49:53.413 emu.sbt.net.au /usr/sbin/amavisd[14377]: Net::Server:
> 2013/11/21-23:49:53 Server closing!
>
> ----------
>
>
> >> # 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20131121/976575b3/attachment.html>


More information about the amavis-users mailing list