zmconfigd not running error - all possible fix

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
13445raj
Outstanding Member
Outstanding Member
Posts: 743
Joined: Fri Sep 12, 2014 9:59 pm
Location: Canada
Contact:

zmconfigd not running error - all possible fix

Postby 13445raj » Thu Jun 30, 2011 8:32 pm

Hi..so if anyone *still* getting zmconfigd not running error on 7.1.1 even after Patch 2

Following is the information on tested fix
OS: RHEL/CentOS 5 fresh minimal install

Zimbra NE (OSS version should behave same): 7.1.1 + Patch 2 (link for Patch http://files2.zimbra.com/downloads/7.1.1_GA/zcs-patch-7.1.1_GA_3213.tgz )

the zimbra install will give

[QUOTE] zmconfigd Stopped

zmconfigd is not running[/QUOTE]
main culprits are three things

1) NetCat package: yum install nc

2) Which package: yum install which

3) IPV6: NETWORKING_IPV6=no in /etc/sysconfig/network

* I don't know if this is of any problem but i did see "address already in use" for 7171 port in /opt/zimbra/log/zmconfigd.log
Hope this helps

Raj


User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

zmconfigd not running error - all possible fix

Postby quanah » Thu Jun 30, 2011 10:25 pm

If neither nc/netcat nor which are installed then a normal server installation of the OS was not done, which is one of the basic requirements for installing ZCS as noted in the installation guide.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
13445raj
Outstanding Member
Outstanding Member
Posts: 743
Joined: Fri Sep 12, 2014 9:59 pm
Location: Canada
Contact:

zmconfigd not running error - all possible fix

Postby 13445raj » Fri Jul 01, 2011 6:53 am

well.. done more than 500+ zimbra installs and never installed these till v7
even the latest install guide dont mention it in requirements:

http://www.zimbra.com/docs/os/latest/multi_server_install/wwhelp/wwhimpl/js/html/wwhelp.htm#href=OS_MultiServerInstall_7_1_2.System_Requirements.html

[QUOTE]Other Dependencies

For Red Hat Enterprise, Fedora Core and SUSE operating systems, the server must also have the following installed:

• NPTL. Native POSIX Thread Library

• Sudo. Superuser, required to delegate admins.

• libidn. For internationalizing domain names in applications (IDNA)

• GMP. GNU Multiple-Precision Library.

• compat-libstdc ++-33. Compatibility Standard C++ libraries.

For RHEL servers only
For SLES10 - compat-libstdc++-5.0.7

For SLES11 - libstdc++33



For Ubuntu 8.04

• Sudo

• libidn11

• libpcre3

• libexpat1

• libstdc++6

• libstdc++5

• libgmp3C2

Note: Ubuntu 8 (64-bit) requires libperl 5.8. [/QUOTE]
Even the installer dont complaint for these packages and happily install everything breaking zmconfigd servcie even after patch 2
it was a surprise to me as even i who installs zimbra thru PXE/KS in
we should either update the documentation or install sctipt to catch these
Thanks

Raj
Heatryn
Posts: 13
Joined: Sat Sep 13, 2014 2:04 am

zmconfigd not running error - all possible fix

Postby Heatryn » Sat Jul 02, 2011 12:17 pm

What package do I need to install for the "which" constraint under Ubuntu 10.04 64 bit?
apt-get install which doesn't find the right package.
Saturdays
Advanced member
Advanced member
Posts: 190
Joined: Sat Sep 13, 2014 1:17 am

zmconfigd not running error - all possible fix

Postby Saturdays » Sat Jul 02, 2011 4:05 pm

[quote user="Heatryn"]What package do I need to install for the "which" constraint under Ubuntu 10.04 64 bit?
apt-get install which doesn't find the right package.[/QUOTE]
did you tried apt-cache search which ?
rosch
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 1:34 am

zmconfigd not running error - all possible fix

Postby rosch » Sat Jul 02, 2011 5:35 pm

[quote user="Heatryn"]What package do I need to install for the "which" constraint under Ubuntu 10.04 64 bit?
apt-get install which doesn't find the right package.[/QUOTE]
There is no "which" package.

I bet it's already installed, just try:

which which


If you get

/usr/bin/which


then you're fine.
By the way I find this a really serious issue and it looks like the OS version has not been tested on Ubuntu 64 although the package is available. Zimbra reminded me that 7.1.1 is a "critical update"..

I installed the patch (zcs-patch-7.1.1_GA_3213) but the issue persists.
Starting zimbra makes my cpu stay put at 100%, makes grow /var/log/zimbra-stats.log at a reate of 3Gb in 15min... it's really not pretty.
According to quanah it's unwise to downgrade but at this point I really don't see any alternative.
ps: disabling ipv6 in Ubuntu-like systems:

add the following to /etc/sysctl.conf



#disable ipv6

net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.default.disable_ipv6 = 1

net.ipv6.conf.lo.disable_ipv6 = 1
rosch
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 1:34 am

zmconfigd not running error - all possible fix

Postby rosch » Sun Jul 03, 2011 10:52 am

YAY :), DISABLING ALL LOGGING WAS THE WORKAROUND. THIS IS PERFECTLY OK IF YOU CAN LIVE WITH THE FACT THAT THE ADMIN CONSOLE IS NOT SHOWING CORRECT INFORMATION ABOUT THE SERVER STATUS.
WHAT I DID:



  • STOP ZMLOGGER WITH
    ZMLOGGERCTL STOP


  • FIX FILE /ETC/RSYSLOG.CONF WHICH DOESN'T GET CLEANED UP BY THE ZIMBRA INSTALL SCRIPT.

    I REMOVED ALL ENTRIES (AT THE END OF THE FILE) THAT LOOK SIMILAR TO THESE:

    LOCAL0.* @MAIL.YOURSERVER.COM

    LOCAL1.* @MAIL.YOURSERVER.COM

    AUTH.* @MAIL.YOURSERVER.COM

    LOCAL0.* -/VAR/LOG/ZIMBRA.LOG

    LOCAL1.* -/VAR/LOG/ZIMBRA-STATS.LOG

    AUTH.* -/VAR/LOG/ZIMBRA.LOG

    MAIL.* @MAIL.YOURSERVER.COM

    MAIL.* -/VAR/LOG/ZIMBRA.LOG


    I FOUND THIS VALUABLE INFORMATION AT "DANIEL'S BLOG AT NUMLOCK.CH. :COOL:

    THIS PREVENTS RSYSLOG FROM DOING CRAZY LOGGING BUT I STILL HAD ZMLOGGER ACTING UP.
  • NOW DISABLE THE LOGGING SERVICE AND PREVENT IT FROM BEING RUN BY THE LOGROTATE SCRIPT:

    ZMPROV MS $(HOSTNAME) -ZIMBRASERVICEENABLED LOGGER


    COMMENT OUT THE STARTING COMMANDS IN THE LOGROTATE SCRIPT /ETC/LOGROTATE.D/ZIMBRA.

    LOOK FOR LINES INCLUDING ONE OF THE FOLLOWING (I FOUND 4):

    SU - ZIMBRA -C "/OPT/ZIMBRA/BIN/ZMSWATCHCTL ..

    SU - ZIMBRA -C "/OPT/ZIMBRA/BIN/ZMLOGSWATCHCTL ..


    ("COMES FROM THIS POST)


NOW MY CPUS WERE FINALLY BACK TO
I HOPE SOMEBODY CAN SAVE A COUPLE OF HOURS AND GREY HAIR WITH THIS.

ALSO I'LL OPEN A BUG REPORT.
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

zmconfigd not running error - all possible fix

Postby quanah » Sun Jul 03, 2011 8:51 pm

[quote user="13445raj"]well.. done more than 500+ zimbra installs and never installed these till v7
even the latest install guide dont mention it in requirements:

http://www.zimbra.com/docs/os/latest/multi_server_install/wwhelp/wwhimpl/js/html/wwhelp.htm#href=OS_MultiServerInstall_7_1_2.System_Requirements.html
>

Even the installer dont complaint for these packages and happily install everything breaking zmconfigd servcie even after patch 2
it was a surprise to me as even i who installs zimbra thru PXE/KS in
we should either update the documentation or install sctipt to catch these
Thanks

Raj[/QUOTE]
We only list packages that are not part of a standard installation as requirements. It has always been this way. I've never had to install which, nc/netcat, file, or any number of utilities separately when doing OS installs, because they are standard packages to the OS. I.e., which, netcat/nc, file, etc are all part of RedHat, Ubuntu, SLES, etc, standard installations. If you've managed to install these without those utilities present, you've done something odd.
--Quanah
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

zmconfigd not running error - all possible fix

Postby quanah » Sun Jul 03, 2011 8:52 pm

[quote user="rosch"]

By the way I find this a really serious issue and it looks like the OS version has not been tested on Ubuntu 64 although the package is available. [/QUOTE]
I'm unclear why you think the 7.1.1 P2 patch has not been tested on Ubuntu 64. All of our patches are tested on every supported platform prior to release.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
rosch
Advanced member
Advanced member
Posts: 137
Joined: Sat Sep 13, 2014 1:34 am

zmconfigd not running error - all possible fix

Postby rosch » Mon Jul 04, 2011 3:06 am

[quote user="quanah"]I'm unclear why you think the 7.1.1 P2 patch has not been tested on Ubuntu 64. All of our patches are tested on every supported platform prior to release.[/QUOTE]

Well I wrote that because I spent a whole night trying to make 7.1.1 work and I was not in the best of moods :). Please don't take it personally.
I was not talking specifically about the patch but since I found at least one other user with similar symptoms I dare say that the testing was not thorough enough. Or else my system differs enough from the tested one allowing the race condition to occur..

Return to “Administrators”

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 10 guests