Zimbra Services Stopped? Find the Failure Behind zmcontrol

When zmcontrol status shows Zimbra host services as Stopped, first identify the affected component and read its startup errors instead of repeatedly restarting the entire mail server. If services stayed down after a reboot, check available disk space, attempt a controlled start, and use the relevant Zimbra logs to find the specific cause.

A stopped mailbox, MTA, LDAP, proxy, or configuration daemon can have different causes. The commands below apply to typical Linux-based Zimbra Collaboration installations; exact services and control scripts vary by release and server role. Run these checks on the affected host, not automatically on every server in a multi-server deployment.

Identify which Zimbra services actually failed

1. Capture the complete service status

Connect over SSH, switch to the zimbra account, and capture the full output, including indented explanations beneath any stopped service:

su - zimbra
zmcontrol status

The Host line identifies the server being queried. A result such as mailbox Stopped followed by zmmailboxdctl is not running identifies the failed controller but does not yet explain why it failed. Other components may still be healthy. Zimbra's zmcontrol command reference documents the status and lifecycle commands.

Example Zimbra terminal showing ldap and mta running while mailbox is stopped with a zmmailboxdctl message
Example status output: read the indented mailbox error, not just the word Stopped.

2. Record the Zimbra release and host identity

Still as zimbra, collect the installed build and Zimbra hostname:

zmcontrol -v
zmhostname

Record these values before using an older troubleshooting article or a command suggested for another Zimbra release. An LDAP-only server should not be expected to report every service found on a single-server installation. Compare against the services intended for this host.

Example Linux terminal displaying Zimbra release information and the configured mail.example.com hostname
Example version and hostname check: compare the installed release and host identity with your deployment records.

Try the safest recovery checks first

3. Check disk capacity, inodes, and memory

As a privileged Linux administrator, inspect the filesystems that hold Zimbra data and logs, as well as available memory:

df -h / /opt/zimbra /var/log
df -i /opt/zimbra
free -h

A full filesystem or exhausted inodes can prevent services from creating database, log, or PID files. If /opt/zimbra is on a separate volume, also verify that its expected mount is present. Resolve any capacity or mount problem before restarting; do not delete mail stores, database files, or unfamiliar logs to make space.

Example terminal displaying df disk usage and free memory usage for a Zimbra server
Example capacity checks: review free space, the correct Zimbra mount, and available memory before retrying startup.

4. Start stopped services once and capture the failure

If the host was recently rebooted and several services remain stopped, run the standard start command as zimbra:

zmcontrol start
zmcontrol status

If production services are otherwise running, avoid a blanket zmcontrol restart, which interrupts healthy components. A single failed service may be recoverable with its own control script after its underlying error is corrected. A startup line that says Done is not sufficient by itself: a daemon can exit moments later, so always repeat the status check.

Example Zimbra startup terminal with mailbox failed and other service startup lines marked done
Example startup sequence: the mailbox failure is the next diagnostic target even though other services started.

Use the failure logs to narrow down the cause

5. Read the logs for the stopped component

For a mailbox startup failure, check these files as zimbra:

tail -n 80 /opt/zimbra/log/zmmailboxd.out
tail -n 80 /opt/zimbra/log/mailbox.log

For LDAP, Postfix, authentication, or antivirus-related failures, examine /var/log/zimbra.log. For zmconfigd, inspect /opt/zimbra/log/zmconfigd.log. Zimbra documents these paths in its log file reference and configuration daemon reference.

Look for the first meaningful error near the attempted startup: Address already in use, Permission denied, No space left on device, LDAP connection failures, database errors, or a stale PID. Match the timestamp to your attempt. A generic “not running” line is usually a symptom rather than the root cause.

Example mailbox startup log in a Linux terminal containing a failed bind and address already in use message
Example mailbox log: a bind failure points toward a socket conflict; the displayed log entries are illustrative, not a diagnostic record.

Correct the specific dependency or startup conflict

6. Verify hostname and LDAP name resolution

If the logs show LDAP connection or hostname-resolution errors, compare the system's fully qualified domain name with Zimbra's configuration:

hostname -f
zmhostname
getent hosts "$(zmhostname)"
zmlocalconfig ldap_url

Check that each configured LDAP endpoint resolves to the correct address from the affected server and that the required network path is reachable. Zimbra's LDAP troubleshooting documentation identifies failure to start, resolve, or connect to LDAP as separate causes. Fix DNS, host mapping, firewall policy, or a failed LDAP host according to your topology; do not rename a production Zimbra server merely to make the strings match.

Example terminal comparing hostname -f with getent hosts for mail.example.com and an internal IP address
Example DNS check: the expected hostname resolves to an address; verify that address against the real server configuration.

7. Investigate port conflicts, permissions, and stale PID messages

If the log says Address already in use, run the following as root and identify the process listening on the exact port named in the error:

ss -lntp

A listener on port 443 may be normal when Zimbra proxy is configured. A conflict exists only when a different process occupies a port that the failed Zimbra component needs. Confirm ownership and configuration before stopping any process; do not assume every nginx or postfix listener is foreign to Zimbra.

If the log specifically reports incorrect ownership or permissions under /opt/zimbra, Zimbra provides /opt/zimbra/libexec/zmfixperms for use as root. Review the effect and schedule a maintenance window first; the extended option can take substantially longer. See the Zimbra permissions procedure. Avoid blanket recursive chown commands.

If an error explicitly identifies a stale PID, first confirm the referenced process no longer exists and that the service is safely stopped before touching its specific PID file. Never delete every PID file while services remain active. Zimbra's stale PID guidance covers this less common situation. Database corruption or certificate problems need their own version-specific procedure, not an improvised reset.

Example root terminal showing the ss -lntp socket list with nginx listening on port 443
Example socket listing: the highlighted 443 listener is not automatically an error; compare with the failing port in your own logs.

Verify that the mail host is healthy again

8. Recheck service state and one real mail workflow

After correcting the confirmed cause, start the affected service using the appropriate control script, or run zmcontrol start if the host's services were previously down. Then verify:

zmcontrol status

Confirm that every expected and enabled service on this host reports Running. Wait briefly and rerun the command to catch a process that starts and exits. For a mailbox or proxy incident, test the applicable webmail or IMAP login; for an MTA incident, check a controlled inbound and outbound message and the mail queue. Watch the corresponding log for fresh errors rather than relying only on a green status line.

If the same service stops again, retain the service status, startup output, Zimbra release, timestamps, and the relevant short log excerpts before escalating. Do not post unredacted account data, tokens, or passwords in a public support request.

Example Zimbra status terminal showing ldap mailbox mta proxy and zmconfigd all running
Example verification view: expected Zimbra services show Running after the underlying startup issue is resolved.

Leave a Comment

How to