Topic: Amavisd died and cant start again.....
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL iRedAdmin-Pro
- Linux/BSD distribution name and version: Centos 6.3
- Related log if you're reporting an issue:
Oct 21 13:09:11 mail34 amavis[15092]: Using primary internal av scanner code for ClamAV-clamd
Oct 21 13:09:11 mail34 amavis[15092]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Oct 21 13:09:11 mail34 amavis[15092]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.43, libdb 4.7
Oct 21 13:09:11 mail34 amavis[15092]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Oct 21 13:09:11 mail34 amavis[15092]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
[root@mail34 log]# sa-update
[root@mail34 log]# /etc/init.d/amavisd status
amavisd dead but subsys locked
[root@mail34 log]# /etc/init.d/amavisd restart
Shutting down amavisd: The amavisd daemon is not running
[FAILED]
Starting amavisd: [ OK ]
[root@mail34 log]# /etc/init.d/amavisd status
amavisd dead but subsys locked
====
Reboot didnt help - i also tried to delete the lock files without it helping.
I had the server up and running yesterday, and havent touched it since. Now i was about to move a few more domains over to test more, but i cant send / recive mails
Oct 21 13:15:15 mail34 postfix/pickup[1814]: 0548422669: uid=0 from=<root>
Oct 21 13:15:15 mail34 postfix/cleanup[2025]: 0548422669: message-id=<20121021111515.0548422669@mail34.mydomain.com>
Oct 21 13:15:15 mail34 postfix/qmgr[1815]: 0548422669: from=<root@mail34.mydomain.com>, size=412, nrcpt=1 (queue active)
Oct 21 13:15:15 mail34 postfix/smtp[2039]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Oct 21 13:15:15 mail34 postfix/smtp[2039]: 0548422669: to=<tt@somedomain.com>, relay=none, delay=0.05, delays=0.04/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.