Topic: amavis Net::Server: [Permission denied]
I have a new server, came installed with iRedMail on Centos 6/MySQL
iRedAdmin v0.2.2 (MySQL)
it came 'pre installed', all working good
installed some domains, some users, all good
yesterday, installed more domains/users, now, I see amavis is failing
before I started using, tested amavis, definitely OK
amavisd debug says (full message below)
tried re-installing Net::Server, didn't help
what to do..?
..
Nov 23 12:52:42.679 /usr/sbin/amavisd[853]: Net::Server: Binding to UNIX socket file "/var/spool/amavisd/amavisd.sock"
Nov 23 12:52:42.683 /usr/sbin/amavisd[853]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 with IPv4
Nov 23 12:52:42.684 /usr/sbin/amavisd[853]: (!)Net::Server: 2013/11/23-12:52:42 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 23 12:52:42.684 /usr/sbin/amavisd[853]: Net::Server: 2013/11/23-12:52:42 Server closing!
try different port, not 10024, same problem
tried current build amavisd from amavisd-new home page, same prob
# netstat | grep 10024
#
Linux 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
CPAN: Module::CoreList loaded ok (v2.18)
Net::Server is up to date (2.007).
# amavisd -V
amavisd-new-2.8.0 (20120630)
[root@emu /]# amavisd debug
Nov 23 12:56:36.595 emu /usr/sbin/amavisd[1061]: logging initialized, log level 0, syslog: amavis.mail
Nov 23 12:56:36.595 emu /usr/sbin/amavisd[1061]: starting. /usr/sbin/amavisd at emu amavisd-new-2.8.1 (20130628), Unicode aware, LANG="en_US.UTF-8"
Nov 23 12:56:36.595 emu /usr/sbin/amavisd[1061]: perl=5.010001, user=, EUID: 495 (495); group=, EGID: 493 493 (493 493)
Nov 23 12:56:36.637 emu /usr/sbin/amavisd[1061]: 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 23 12:56:36.637 emu /usr/sbin/amavisd[1061]: SpamControl: attempting to load scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Nov 23 12:56:36.637 emu /usr/sbin/amavisd[1061]: SpamControl: scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Nov 23 12:56:36.915 emu /usr/sbin/amavisd[1061]: INFO: SA version: 3.3.1, 3.003001, no optional modules: URI::_idna URI::_punycode 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 23 12:56:36.915 emu /usr/sbin/amavisd[1061]: SpamControl: init_pre_chroot on SpamAssassin done
Nov 23 12:56:36.916 emu /usr/sbin/amavisd[1061]: socket module IO::Socket::INET6, protocol families available: INET, INET6
Nov 23 12:56:36.916 emu /usr/sbin/amavisd[1061]: 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 23 12:56:36.917 emu /usr/sbin/amavisd[1061]: Net::Server: 2013/11/23-12:56:36 Amavis (type Net::Server::PreForkSimple) starting! pid(1061)
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 23 12:56:36.922 emu /usr/sbin/amavisd[1061]: Net::Server: Binding to UNIX socket file "/var/spool/amavisd/amavisd.sock"
Nov 23 12:56:36.922 emu /usr/sbin/amavisd[1061]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 with IPv4
Nov 23 12:56:36.922 emu /usr/sbin/amavisd[1061]: (!)Net::Server: 2013/11/23-12:56:36 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 23 12:56:36.922 emu /usr/sbin/amavisd[1061]: Net::Server: 2013/11/23-12:56:36 Server closing!
[root@emu /]#
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.