(Last Updated On: February 20, 2019)

Have you tried starting zmconfigd on your Zimbra server but can’t get it running?. This guide will show you the most common reasons/solutions to why zmconfigd can’t start on your Zimbra server.

To check the status of zmconfigd service on Zimbra, use the command:

$ zmconfigdctl status
zmconfigd is not running.

For a good operating Zimbra server, the returned state should be running.

$ zmconfigdctl status
zmconfigd is running.

The common reasons for this issue are:

Problem with IPv6

If you have IPv6 enabled, consider disabling it. Add these line to /etc/sysctl.conf to disable IPv6 on Linux.

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

The save the file and apply rules.

# sysctl -p

Also, comment out the entries in your /etc/hosts file.

#::1 localhost ip6-localhost ip6-loopback
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters

Then try restart zmconfigd:

# su - zimbra
$ zmconfigdctl restart

Zimbra can’t get zmconfigd service status

It could also be possible that zmconfigd is in running state but Zimbra can’t get its state. For this, you may need to remove its pid file and restart the service

# cat /opt/zimbra/log/zmconfigd.pid
# rm /opt/zimbra/log/zmconfigd.pid
# su - zimbra -c "zmconfigdctl restart"

Missing nc and which commands.

If you have nc command missing, trying to start zmconfigd may result in a failure. Install it as follows.

Install nc on Ubuntu / Debian systems:

sudo apt-get install netcat-openbsd

For CentOS servers, nc command is provided by the nmap-ncat package.

sudo yum -y install nmap-ncat

After installing nc, try to restart Zimbra. Hope one of the three methods worked for you.

Also check:

How to solve Zimbra zmconfigd not running/starting

Install Zextras Suite on Zimbra CentOS 7

Zimbra Multi-Server Installation on CentOS 7

How to Set Secure Password Policy on Zimbra

Configure whitelist and blacklist Zimbra Amavis Spam filtering

Zimbra Firewall Configuration with ufw for Ubuntu and firewalld for CentOS