How to resolve mta stopped postfix is not running.

Suddenly mta stopped postfix is not running on Zimbra server. After that try to restart the Zimbra services but it does not succeed. Zimbra is SMTP server for oracle workflow notification.

mta stopped postfix
mta stopped postfix

 

Steps to resolve mta stopped postfix error.

[[email protected] ~]$ zmcontrol start

Host mail.ace-cranes.in

        Starting zmconfigd…Done.

        Starting dnscache…Done.

        Starting logger…Done.

        Starting mailbox…Done.

        Starting memcached…Done.

        Starting proxy…Done.

        Starting amavis…Done.

        Starting antispam…Done.

        Starting antivirus…Done.

        Starting opendkim…Done.

        Starting snmp…Done.

        Starting spell…Done.

        Starting mta…Failed.

 

Check status using zmcontrol:-

[[email protected] ~]$ zmcontrol status

Host mail.ace-cranes.in

        amavis                  Running

        antispam                Running

        antivirus               Running

        dnscache                Running

        ldap                    Running

        logger                  Running

        mailbox                 Running

        memcached               Running

        mta                     Stopped

                postfix is not running

        opendkim                Running

        proxy                   Running

        service webapp          Running

        snmp                    Running

        spell                   Running

        stats                   Running

        zimbra webapp           Running

        zimbraAdmin webapp      Running

        zimlet webapp           Running

        zmconfigd               Running

In /var/log/zimbra.log, showing below logs.

 

Error:-

Dec 14 10:23:00 mail postfix/postqueue[23568]: fatal: Queue report unavailable – mail system is down

Dec 14 10:23:03 mail zimbramon[23601]: 23601:info: Starting services initiated by zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting zmconfigd via zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting dnscache via zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting logger via zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting mailbox via zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting memcached via zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting proxy via zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting amavis via zmcontrol

Dec 14 10:23:04 mail zimbramon[23601]: 23601:info: Starting antispam via zmcontrol

Dec 14 10:23:07 mail zimbramon[23601]: 23601:info: Starting antivirus via zmcontrol

Dec 14 10:23:07 mail zimbramon[23601]: 23601:info: Starting opendkim via zmcontrol

Dec 14 10:23:07 mail zimbramon[23601]: 23601:info: Starting snmp via zmcontrol

Dec 14 10:23:07 mail zimbramon[23601]: 23601:info: Starting spell via zmcontrol

Dec 14 10:23:07 mail zimbramon[23601]: 23601:info: Starting mta via zmcontrol

Dec 14 10:23:07 mail /postfix-script[24064]: the Postfix mail system is not running

 

If other program using 25 port then note PID of that program and kill

Identify the problamatic pid using netstat command.

[[email protected] ~]# netstat -tulpn

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address        Foreign Address    State       PID/Program name

tcp        0      0 0.0.0.0:7993                0.0.0.0:*             LISTEN      18927/java

tcp        0      0 127.0.0.1:25                0.0.0.0:*              LISTEN      3723/master

 

 Kill the port pid:-

Using kill command we will kill 25 port pid.

# kill -9 3723

We know that earlier we were faced the issue as mta stopped postfix is not running.

How to start Zimbra services?.

Here we can see we are usning zmcontrol command to start the zimbra services.

[[email protected] ~]$ zmcontrol start

Host mail.ace-cranes.in

        Starting zmconfigd…Done.

        Starting dnscache…Done.

        Starting logger…Done.

        Starting mailbox…Done.

        Starting memcached…Done.

        Starting proxy…Done.

        Starting amavis…Done.

        Starting antispam…Done.

        Starting antivirus…Done.

        Starting opendkim…Done.

        Starting snmp…Done.

        Starting spell…Done.

        Starting mta…Done.

        Starting stats…Done.

        Starting service webapp…Done.

        Starting zimbra webapp…Done.

        Starting zimbraAdmin webapp…Done.

        Starting zimlet webapp…Done.

Verify the services status:-

[[email protected] ~]$ zmcontrol status

Host mail.ace-cranes.in

        amavis                  Running

        antispam                Running

        antivirus               Running

        dnscache                Running

        ldap                    Running

        logger                  Running

        mailbox                 Running

        memcached               Running

        mta                     Running

        opendkim                Running

        proxy                   Running

        service webapp          Running

        snmp                    Running

        spell                   Running

        stats                   Running

        zimbra webapp           Running

        zimbraAdmin webapp      Running

        zimlet webapp           Running

        zmconfigd               Running

Now check the workflow services are running and resolve mta stopped postfix.

You may check the another related post at ‘mta stopped postfix‘.

You may also check my another post  related to RMAN bacup click ‘‘here‘. 

2 thoughts on “How to resolve mta stopped postfix is not running.”

Leave a Comment