Control Web Panel
WebPanel => CentOS 9 Problems => Topic started by: kwesiaryee on August 05, 2024, 09:22:50 AM
-
I tried to rebuilt my Mail Server and I got the following errors;
Job for amavisd.service failed because a timeout was exceeded.
See "systemctl status amavisd.service" and "journalctl -xeu amavisd.service" for details.
The job identifier is 170783.
Aug 05 11:10:49 vps.domain.net amavis[66859]: starting. /usr/sbin/amavisd at vps.domain.net amavis-2.13.1 (20240304), Unicode aware, LANG="en_US.UTF-8"
Aug 05 11:10:49 vps.domain.net amavis[66859]: perl=5.032001, user=, EUID: 986 (986); group=(), EGID: 983 983 (983 983)
Aug 05 11:10:50 vps.domain.net amavis[66864]: (!)Net::Server: 2024/08/05-11:10:50 Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]\n at line 64 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm
Aug 05 11:10:50 vps.domain.net systemd[1]: amavisd.service: Can't open PID file /run/amavisd/amavisd.pid (yet?) after start: Operation not permitted
Have this been experienced by someone before and how can this be resolved. Or any suggestions to resolve this will be appreciated. I do understand this is beta.
Please help me out
-
Do you have correct permissions on the PID directory? Can you manually start it as root?
-
Are you running this on AlmaLinux 9?
If so, you have to do the following after you install CWP:
dnf install spamassassin amavis
systemctl enable spamassassin
systemctl start spamassassin
systemctl enable amavisd
systemctl start amavisd
Also before installing CWP, you have to install ClamAV or it won't work.
For some reason you can't install it after CWP.
-
I already have it installed, is there any walk around?
-
Yes it's running on AlmaLinux-9.
The worse part is that I still can't send emails to other emails but can receive emails. I use these website to do a lot of automation and that makes emailing extremely vital. And hee I am I cannot do it.
Any way I can resolve it?
-
Dovecot, SpamAssassin, Amavis are for incoming emails, not outgoing.
Postfix handles that.
But to send emails, you need to have your hostname, rDNS, DKIM, SPF, DMARC all configured correctly, or other mail servers will reject the emails.
-
I'm still getting the following errors although I did a reinstall with Startburst suggestions;
Job for amavisd.service failed because a timeout was exceeded.
See "systemctl status amavisd.service" and "journalctl -xeu amavisd.service" for details.
-
Been out of the game for awhile but (referring to first post) it appears to be related to amavisd trying to bond to IP6.
the "fix" appears to be to add
$inet_socket_bind = '127.0.0.1';
/etc/amavisd/amavisd.conf
BUT I'm no CWP guru and others may advise against that as there is probably a better way to fix the issue.
EDIT: In hindsight that probably a non fatal issue.
-
I'm still getting the following errors although I did a reinstall with Startburst suggestions;
Job for amavisd.service failed because a timeout was exceeded.
See "systemctl status amavisd.service" and "journalctl -xeu amavisd.service" for details.
What line does the error log mention?
Easiest way to view it is to click on the Status button.
That will give you a starting point of what is configured wrong.
-
thank you it works :)
Been out of the game for awhile but (referring to first post) it appears to be related to amavisd trying to bond to IP6.
the "fix" appears to be to add
$inet_socket_bind = '127.0.0.1';
/etc/amavisd/amavisd.conf
BUT I'm no CWP guru and others may advise against that as there is probably a better way to fix the issue.
EDIT: In hindsight that probably a non fatal issue.
-
Good to hear :)