When trying to start Amavis you see this in the mail log:
Oct 02 03:20:15 condor3648 systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
Oct 02 03:20:16 condor3648 amavis[1697]: starting. /usr/sbin/amavisd-new at condor3648.startdedicated.com amavisd-new-2.11.0 (20160426), Unicode aware, LC_ALL="C", LANG="en_US.UTF-8"
Oct 02 03:20:16 condor3648 amavis[1705]: (!)Net::Server: 2020/10/02-03:20:16 Can't connect to TCP port 10024 on 127.0.0.0 [Address already in use]\n  at line 68 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm
Oct 02 03:20:16 condor3648 amavis[1690]: Starting amavisd: amavisd-new.
Oct 02 03:20:16 condor3648 systemd[1]: Started LSB: Starts amavisd-new mailfilter.Kill the Amavis and Amavisd-milter Processes
Get the amavis user process IDs:
ps aux | grep amavis
amavis    326354  0.2  0.2 833528 356948 ?       S    03:10   0:03 /usr/sbin/amavisd (ch10-avail)
amavis    326355  0.2  0.2 831928 354688 ?       S    03:10   0:03 /usr/sbin/amavisd (ch9-avail)
amavis    326366  0.1  0.2 827004 347424 ?       S    03:10   0:02 /usr/sbin/amavisd (ch5-avail)
amavis   2222593  0.0  0.0 2214520 4876 ?        Ssl  Oct23   6:30 /usr/sbin/amavisd-milter -s inet:10024@127.0.0.1 -m 0 -M 300 -t 600 -T 600 -B -PForce kill the amavis user processes IDs:
kill -9 326354 326355 326366 2222593Now restart amavis and Amavisd-milter:
Centos/RHEL/CloudLinux/AlmaLinux
systemctl restart amavisd
systemctl restart amavisd-milterDebian/Ubuntu
systemctl restart amavis
systemctl restart amavisd-milter