Solved: Zimbra Amavis Service Not Running – How to Fix It

Posted by

A few days ago, my datacenter had to perform emergency maintenance. As a result, my Zimbra had to be migrated to a different host. After the migration, the Zimbra Amavis service was not running.

After checking the log, I found this information/error

Apr 15 13:18:59 mail amavis[257393]: Net::Server: Process Backgrounded
Apr 15 13:18:59 mail amavis[257393]: Net::Server: 2025/04/15-13:18:59 Amavis (type Net::Server::PreForkSimple) starting! pid(257393)
Apr 15 13:18:59 mail amavis[257393]: Net::Server: Binding to UNIX socket file "/opt/zimbra/data/amavisd/amavisd.sock"
Apr 15 13:18:59 mail amavis[257393]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 with IPv4
Apr 15 13:18:59 mail amavis[257393]: Net::Server: Binding to TCP port 10024 on host ::1 with IPv6
Apr 15 13:18:59 mail amavis[257393]: (!)Net::Server: 2025/04/15-13:18:59 Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]\n  at line 64 in file /opt/zimbra/common/lib/perl5/Net/Server/Proto/TCP.pm
Apr 15 13:18:59 mail amavis[257393]: Net::Server: 2025/04/15-13:18:59 Server closing!

You can highlight this information

Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]

To solve this issue, you have two options.

Option 1

Please ensure that there is a localhost entry for IPv6 in the /etc/hosts file. If it’s not present, you can add the following line:

::1  localhost ip6-localhost ip6-loopback

Option 2

If option 1 fails, please do this.

Open amavisd.conf.in file

su - zimbra
vi /opt/zimbra/conf/amavisd.conf.in

Add this line after “use strict;” (first line)

$inet_socket_bind = '127.0.0.1';

Save and start Zimbra service

zmcontrol start

Good Luck 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.