1

Topic: Can't start amavisd service

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Hi
Here is the status of amavisd service :
[root@mail ~]# service amavisd status
amavisd dead but subsys locked

And here is my reload status
service amavisd reload
Reloading amavisd: The amavisd daemon is apparently not running, no PID file /var/run/amavisd/amavisd.pid
                                                           [FAILED]

I do search many topics on the internet and try many ways to fix it but the problem is still there , Now my server can't send or recieve email , please help .

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can't start amavisd service

Please ALWAYS ALWAYS ALWAYS show us basic info of your iRedMail server, so that we can give you quicker and accurate reply.

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

How much RAM do you have on this server? Any related log in /var/log/maillog?

3

Re: Can't start amavisd service

Hi ZhangHuangbin , I found the problem by run "amavisd debug" command

Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]\n  at line 68 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm

Amavisd try to connect to port 10024 ip ::1 , I disable IPV6 on the server and add this line $inet_socket_bind = '127.0.0.1'; to amavisd config file , now it's working .