Often Zimbra server users come across the issue of Zimbra zmconfigd not running/starting.
At Bobcares we fix this issue as a part of our Server Management Services for our clients.
Today, let’s see how our Support Engineers fix this issue with a few simple and easy steps.
How to check whether zmconfigd is running or not?
To check the status of zmconfigd service on Zimbra, we can use the command:
$ zmconfigdctl status
A Zimbra server operating fine would give the us status as running.
But there will be some instances where we end up with Zimbra zmconfigd not running/starting.
Common causes and their solutions:
The issue with zmcofigd status may be caused due to any of the following reasons:
- Problem with IPv6
- Zimbra cannot get zmconfigd service status
- Missing Netcat (nc) and which commands
Problem with IPv6
If we are using IPv6 in our Zimbra server it will cause the issue of Zimbra zmconfigd not running/starting.
So if we have IPv6 enabled, we need to disable it. Any edits in the configuration file should be done after disabling IPv6 if it’s enabled in the server.
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
Save the file and apply rules.
$ sudo sysctl -p
Also, comment out the entries in /etc/hosts file.
#::1 localhost ip6-localhost ip6-loopback #ff02::1 ip6-allnodes #ff02::2 ip6-allrouters
Then try restart zmconfigd:
$ sudo su – zimbra $ zmconfigdctl restart
After restart upon checking the status, we can find it running.
[Still facing the issue? We are here for you!]
Zimbra cannot get zmconfigd service status
Sometimes It is also possible that zmconfigd is in a running state but Zimbra cannot get its state.
To fix this we have to remove its pid file and restart the service.
$ cat /opt/zimbra/log/zmconfigd.pid 32500 $ sudo rm /opt/zimbra/log/zmconfigd.pid $ sudo su – zimbra -c “zmconfigdctl restart”
After doing this we will see that issue of Zimbra zmconfigd not running/starting is fixed.
Missing netcat (nc) and which commands
If we have nc command missing, we can see that while trying to start zmconfigd it may result in a failure.
We can fix this error by installing it.
Install nc on Ubuntu / Debian systems:
$ sudo apt-get install netcat-openbsd
Install on CentOS:
For CentOS servers, nc command is provided by the nmap-ncat package.
$ sudo yum -y install nmap-ncat
After installing nc, we need to restart Zimbra.
[Need further assistance? We are here for you!]
In short, we’ve discussed some causes such as missing netcat (nc) command, Pid issue of zimbraa etc., along with some quick fixes that our Support Engineers follow to fix zmconfigd not running/starting issue.