Sometimes Zimbra users experiences issue of Zimbra zmconfigd not running/starting.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to fix Zimbra webmail related issues.
Now, we will look into how to solve this issue in a few steps.
In order to check the status of zmconfigd service on Zimbra, we simply execute the command:
zmconfigdctl status
If the Zimbra server service is active then it will give the status as running.
But there will be some cases where we end up with Zimbra zmconfigd not running/starting.
The issue with zmcofigd status may be caused due to any of the following reasons:
i. Issues with IPv6
ii. Zimbra cannot get zmconfigd service status
iii. Missing Netcat (nc) and which commands
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 by running the following command;
sudo sysctl -p
Additionally, 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 by executing the command:
sudo su – zimbra
zmconfigdctl restart
After restart upon checking the status, we can find it running.
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. To do this, execute;
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.
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.
To Install nc on Ubuntu / Debian systems, execute:
sudo apt-get install netcat-openbsd
Installing on CentOS:
For CentOS servers, nc command is provided by the nmap-ncat package. So execute;
sudo yum -y install nmap-ncat
After installing nc, we need to restart Zimbra.
This article will help to fix "zmconfigd not running/starting" issue which results from factors such as such as missing netcat (nc) command, Pid issue of zimbra and so on.