Author Topic: Amavis no Start  (Read 4528 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Amavis no Start
« on: December 25, 2018, 05:21:40 PM »
[root@joshua amavisd]# systemctl start amavisd
Job for amavisd.service failed because a configured resource limit was exceeded. See "systemctl status amavisd.service" and "journalctl -xe" for details.
[root@joshua amavisd]#

[root@joshua amavisd]# amavisd -u amavis -c /etc/amavisd/amavisd.conf debug
Dec 25 14:18:57.808 joshua.edmodo.cl /sbin/amavisd[16203]: logging initialized, log level 0, syslog: amavis.mail
Dec 25 14:18:57.808 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Config files have been read, modules loaded.
Dec 25 14:18:57.809 joshua.edmodo.cl /sbin/amavisd[16203]: starting. /sbin/amavisd at joshua.edmodo.cl amavisd-new-2.11.1 (20181009), Unicode aware, LANG="en_US.UTF-8"
Dec 25 14:18:57.809 joshua.edmodo.cl /sbin/amavisd[16203]: perl=5.016003, user=amavis, EUID: 989 (989);  group=, EGID: 986 (986)
Dec 25 14:18:57.835 joshua.edmodo.cl /sbin/amavisd[16203]: INFO: no optional modules: unicore::lib::Nt::De.pl Unix::Getrusage
Dec 25 14:18:57.835 joshua.edmodo.cl /sbin/amavisd[16203]: SpamControl: attempting to load scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Dec 25 14:18:57.835 joshua.edmodo.cl /sbin/amavisd[16203]: SpamControl: scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Dec 25 14:18:58.014 joshua.edmodo.cl /sbin/amavisd[16203]: INFO: SA version: 3.4.0, 3.004000, no optional modules: Net::CIDR::Lite Image::Info Image::Info::GIF Image::Info::JPEG Image::Info::PNG Image::Info::BMP Image::Info::TIFF
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: SpamControl: init_pre_chroot on SpamAssassin done
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: socket module IO::Socket::IP, protocol families available: INET, INET6
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: will bind to /var/run/amavisd/amavisd.sock|unix, *:10024/tcp
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Transferring control to Net::Server.
Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Preparing to bind sockets.
Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: 2018/12/25-14:18:58 Amavis (type Net::Server::PreForkSimple) starting! pid(16203)
Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Resolved
  • :10024 to [::]:10024, IPv6

Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Binding to UNIX socket file "/var/run/amavisd/amavisd.sock"
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Binding to TCP port 10024 on host :: with IPv6
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: (!)Net::Server: 2018/12/25-14:18:58 Can't connect to TCP port 10024 on :: [Address already in use]\n  at line 68 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STOPPING=1\nSTATUS=Server rundown, notifying child processes.
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: 2018/12/25-14:18:58 Server closing!
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Child processes have been stopped.
[root@joshua amavisd]#

helpme please !!!

rodrigo

Offline
***
Re: Amavis no Start
« Reply #1 on: December 26, 2018, 03:11:19 AM »
You have a message claiming "Address already in use".
Seems the amavisd-new server is already started.
Why you didn't run this "systemctl restart amavisd" .. ??
« Last Edit: December 26, 2018, 03:15:51 AM by Netino »