Monday, September 8, 2014

Zimbra reports “ Error: Queue report unavailable – mail system is down ”

During update from one version to another or sometimes when you reboot Zimbra you can get following error:  "Error: Queue report unavailable - mail system is down".
We can find that it does not starts correctly the service postfix MTA. But the system shows that everything is working properly:
zcs @ zimbra: ~ $ zmcontrol status
Host zcs.ilba.cat
        antispam                Running
        antivirus               Running
        convertd                Running
        ldap                    Running
        LOGGER Running
        mailbox                 Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zmconfigd               Running
We reviewed logs and services and we see that the MTA is down:
zimbra@zcs:~$ tail -f /var/log/mail.log
Jan 22 11:08:00 zcs postfix/postqueue[19195]: fatal: Queue report unavailable - mail system is down

zimbra @ zcs: ~ $ netstat -nlpt | grep 25
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:7025            0.0.0.0:*               LISTEN      -
We proceed to restart the service postfix hand, indicates that it has raised correctly, but does not work:
Zimbra ZCS @: ~ $ / opt / Zimbra / bin / zmmtactl stop
/postfix-script: fatal: the Postfix mail system is not running
Stopping saslauthd...done.

Zimbra ZCS @: ~ $ / opt / Zimbra / bin / zmmtactl start
Rewriting configuration files...done.
Starting saslauthd...done.

zimbra @ zcs: ~ $ netstat -nlpt | grep 25
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:7025            0.0.0.0:*               LISTEN      -
The problem is that there is master.pid file, which tells the postfix that is raised, but it really is not raised. We looked:
root@zcs:~# locate master.pid
/opt/zimbra/data/postfix/spool/pid/master.pid
And delete it or rename it and then restart the MTA:
zcs root @: ~ # mv /opt/zimbra/data/postfix/spool/pid/master.pid /opt/zimbra/data/postfix/spool/pid/master.pid.ori

root@zcs:~# su - zimbra

Zimbra ZCS @: ~ $ / opt / Zimbra / bin / zmmtactl start
Rewriting configuration files...done.
Starting saslauthd...already running.
/postfix-script: starting the Postfix mail system

14 comments:

dingoeater said...

These solved my problem and was very helpful. Thanks!

Pescepalla said...

Thanks a lot...

It solved my problem too

Unknown said...

My Zimbra server had this exact problem after a power outage. MTA not started. I could receive emails, but was unable to send them. deleting the master.pid solved my problem.

Thanks!!

Unknown said...

Thanks!

Diter de Paula said...

Thanks a lot. Solved my problem!!!

Unknown said...

Really appreciate it! Saved my behind!

Nankumba Joanna Anna said...

Solved my problem last time about a year back. But it has failed this time around

fatal postfix script:mail system startup failed .

TarakSinha said...

Hi Guys,

I am having same issue but couldn't fix it. Can anyone help me

zmcontrol -v
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 RHEL5_64 FOSS edition, Patch 7.1.4_P1.
[zimbra@jedix1.qai ~]$ zmcontrol status
Host jedix1.qai.expertcity.com
ldap Running
logger Running
mailbox Running
mta Stopped
postfix is not running
snmp Running
spell Running
stats Stopped
zmconfigd Running

Pablo said...

This solved my problem! Thanks!!

Unknown said...

Solved my Problem too ...

commandlinekid said...

Solved my problem thanks! BTW: TODAY is 12/13/2017 and it seems to have started either this morning or last night. Update? Anywho...I think it's working now.

Unknown said...

Thank you. It solve my problem!

Unknown said...

Thanks, it's working for Me...

surya said...

Thanks a lot, it's working for Me...

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

This HOW-TO contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk pe...