Results 1 to 10 of 10

Thread: zmconfigd not running

  1. #1
    darlanart is offline Member
    Join Date
    Jul 2010
    Posts
    13
    Rep Power
    4

    Default zmconfigd not running

    Hello,

    I saw some threads about this issue, but none with a solution in the same scenario that I have, so I created a new topic.
    The process is not running zmconfid:
    [zimbra @ smtp ~] $ zmconfigdctl start
    Starting zmconfigd... / opt / zimbra / bin / zmconfigdctl: line 95: 16474 Killed $ zimbra_home {} / libexec / zmconfigd>> $ {} zimbra_log_directory / zmconfigd.log 2> & 1
    failed.
    Starting zmconfigdctl success ...

    [zimbra @ smtp ~] $ zmcontrol-v
    Release 7.1.4_GA_2555.RHEL6_64_20120105094542 CentOSUNKNOWN_64 FOSS edition.

    [zimbra @ smtp ~] $ cat / etc / redhat-release
    CentOS release 6.2 (Final)


    [zimbra @ smtp ~] $ uname-a
    Linux hostname 2.6.32-220.2.1.el6.x86_64 # 1 SMP Fri Dec 23 2:21:33 CT 2011 x86_64 x86_64 x86_64 GNU / Linux

  2. #2
    darlanart is offline Member
    Join Date
    Jul 2010
    Posts
    13
    Rep Power
    4

    Default

    Any ideia?

  3. #3
    slapper is offline Junior Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    3

    Default

    same things here :

    Code:
    [zimbra@webmail root]$ zmconfigdctl status
    zmconfigd is not running.
    [zimbra@webmail root]$ netstat -tuna | grep 7171
    tcp        0      0 ::ffff:127.0.0.1:7171       :::*                        LISTEN      
    [zimbra@webmail root]$ lsof | grep 7171
    java       8874     zimbra   73u     IPv6          273412535       0t0        TCP localhost:7171 (LISTEN)
    [zimbra@webmail root]$ zmconfigdctl stop
    Stopping zmconfigdctl...success
    Stopping zmconfigd...zmconfigd is not running.
    [zimbra@webmail root]$ lsof | grep 7171
    java       8874     zimbra   73u     IPv6          273412535       0t0        TCP localhost:7171 (LISTEN)
    [zimbra@webmail root]$ cat /etc/redhat-release 
    CentOS release 6.1 (Final)
    [zimbra@webmail root]$ zmcontrol -v
    Release 7.1.3_GA_3346.RHEL6_64_20110928134428 CentOSUNKNOWN_64 FOSS edition.
    [zimbra@webmail root]$ zmconfigdctl start
    Starting zmconfigd...Failed to start
    Starting zmconfigdctl...success
    [zimbra@webmail root]$ zmconfigdctl status
    zmconfigd is not running.
    [zimbra@webmail root]$

    any ideas ??


    i have already search the forum and i have seen some post talking about disable Ipv6 which is disabled

    Code:
    [zimbra@webmail root]$ cat /etc/sysconfig/network
    NETWORKING=yes
    NETWORKING_IPV6=no
    HOSTNAME=************

  4. #4
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    442
    Rep Power
    3

  5. #5
    alessandro.motta is offline Trained Alumni
    Join Date
    Oct 2010
    Posts
    43
    Rep Power
    4

    Default

    Hello everyone,
    i have a fresh 7.1.4 Network Edition installation with multi-server and only on the LDAP master server zmconfigd is not running.
    In the zmconfigd.log i see these errors:

    2012-03-26 08:33:31,380 zmconfigd WARNING [3390-rewrites] Rewrote: /opt/zimbra/conf/stats.conf with mode 440 (0.03 sec)
    2012-03-26 08:33:31,436 zmconfigd CRITICAL [3390-ldap] File "/opt/zimbra/zimbramon/pylibs/state.py", line 591, in doLdap rc = c.execute((master, pw, key, val))
    2012-03-26 08:33:31,440 zmconfigd CRITICAL [3390-ldap] File "/opt/zimbra/zimbramon/pylibs/commands.py", line 101, in execute (rc, output, error) = self.runCmd(a)
    2012-03-26 08:33:31,444 zmconfigd CRITICAL [3390-ldap] File "/opt/zimbra/zimbramon/pylibs/commands.py", line 140, in runCmd p = subprocess.Popen(args, stdout=subprocess.PIPE,
    stdin=subprocess.PIPE, stderr=subprocess.PIPE)
    2012-03-26 08:33:31,447 zmconfigd CRITICAL [3390-ldap] File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/subprocess.py", line 751, in __init__ self._execute_child(args, executa
    ble, preexec_fn, close_fds,
    2012-03-26 08:33:31,451 zmconfigd CRITICAL [3390-ldap] File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/subprocess.py", line 1265, in _execute_child raise OSError(e.getMessage
    () or e)
    2012-03-26 08:33:31,456 zmconfigd CRITICAL [3390-ldap] LDAP FAILURE (Cannot run program "/opt/zimbra/bin/ldapHelper.pl" (in directory "/root"): java.io.IOException: error=13, Permi
    s

    I tried following these threads:

    - Zimbra 7.1.1_GA-zmconfigd ERROR 14116-postconf
    - zmconfigd Problem
    - zmconfigd CRITICAL [26177-MainThread-2]
    - [SOLVED] zmconfigd is not running.
    - starting zmconfigd .... killed
    - [SOLVED] zmconfigd WARNING in 7.0.0 GA
    - [SOLVED] run zmfixperms as root but still getting Permission Denied
    - zmconfigd logs - "criticals" shown
    - Strange permission problem ZCS 7.1.1 p2
    - zmconfigd not running error - all possible fix

    but none was helpful, my zmconfigd is still unable to start.
    I also installed the patch for 7.1.4.

    I think the problem is this:
    LDAP FAILURE (Cannot run program "/opt/zimbra/bin/ldapHelper.pl" (in directory "/root")
    But i can't figure out who is trying to do what in the root directory.
    I already tried to run zmfixperms --extended but it didn't help.

    Does anyone know how to solve this problem?

  6. #6
    slapper is offline Junior Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    3

    Default

    Thanks ccelis5215 !!

    I find a workaround to that issue..
    probably it was ipv6 that was not completely disabled!!

    Before :
    Code:
    [zimbra@webmail root]$ netstat -tuna | grep 7171
    tcp        0      0 ::ffff:127.0.0.1:7171       :::*                        LISTEN
    After:
    Code:
    [zimbra@webmail ~]$ netstat -tuna | grep 7171
    tcp        0      0 127.0.0.1:7171              0.0.0.0:*                   LISTEN
    Now the logs seems to run smoothly :
    Code:
    [root@webmail ~]# tail -f /opt/zimbra/log/zmconfigd.log
    2012-03-26 12:24:51,644 zmconfigd WARNING [5059-MainThread] All configs fetched in 0.02 seconds
    2012-03-26 12:24:52,364 zmconfigd WARNING [5059-MainThread] Watchdog: service antivirus status is OK.
    2012-03-26 12:24:52,410 zmconfigd WARNING [5059-MainThread] All rewrite threads completed in 0.00 sec
    2012-03-26 12:24:52,411 zmconfigd WARNING [5059-MainThread] All restarts completed in 0.00 sec
    Starting zmconfigd...zmconfigd is already running.
    2012-03-26 12:25:52,427 zmconfigd WARNING [5059-MainThread] Fetching All configs
    2012-03-26 12:25:52,443 zmconfigd WARNING [5059-MainThread] All configs fetched in 0.01 seconds
    2012-03-26 12:25:53,171 zmconfigd WARNING [5059-MainThread] Watchdog: service antivirus status is OK.
    2012-03-26 12:25:53,217 zmconfigd WARNING [5059-MainThread] All rewrite threads completed in 0.00 sec
    2012-03-26 12:25:53,217 zmconfigd WARNING [5059-MainThread] All restarts completed in 0.00 sec

    For anyone who search the forum again :


    Make sure nc & which is installed --> for rhel, centos

    Code:
    yum install nc which

    Disable ipv6 :

    1

    Code:
    [zimbra@webmail ~]$ cat /etc/sysconfig/network
    NETWORKING=yes
    NETWORKING_IPV6=no
    IPV6INIT=no
    HOSTNAME=***********
    2

    Code:
    [zimbra@webmail ~]$ cat /etc/hosts
    127.0.0.1 localhost
    12.34.56.78 mail.example.com mail
    
    ## IPv6
    #::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    3
    edit as root & append the follow /etc/sysctl.conf
    Code:
    ########disable ipv6#####
    net.ipv6.conf.all.disable_ipv6 = 1
    4
    reload as root kernel parameters with
    Code:
     sysctl -p
    it's better for other services to leave ipv6 modules
    Code:
    [root@webmail ~]# lsmod | grep ipv6
    ipv6                  322442  180

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by slapper View Post
    probably it was ipv6 that was not completely disabled!!
    The likelihood is that it was the fact you didn't have netcat installed (it is a requirement from ZCS 7.1.3 onwards) and not ipv6, I have ipv6 enabled on all my servers and it's never caused a problem with any of the Zimbra services.

    You might also want to look at the Split DNS article (or search the forums) and correct your /etc/hosts file - the loopback line is incorrect.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    slapper is offline Junior Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    3

    Default

    phoenix thanks for the reply!!

    nc was already installed in my system when i was deploy zimbra.My zmconfigd
    was running without any issue until two days ago..

    maybe i will try to enable ipv6 again to see how its going.

  9. #9
    alessandro.motta is offline Trained Alumni
    Join Date
    Oct 2010
    Posts
    43
    Rep Power
    4

    Default

    Finally solved the problem.
    My /etc/hosts file was missing the line:

    127.0.0.1 localhost

    Now the zmconfigd is running.
    It's strange that during the installation process Zimbra doesn't notify the lack of this line.
    Hope this helps someone.

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by alessandro.motta View Post
    Finally solved the problem.
    My /etc/hosts file was missing the line:

    127.0.0.1 localhost

    Now the zmconfigd is running.
    It's strange that during the installation process Zimbra doesn't notify the lack of this line.
    Hope this helps someone.
    The correct format of that line is;

    Code:
    127.0.0.1 localhost.localdomain localhost
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  2. Can't seem to get global in BES
    By sdemeyer in forum Zimbra Connector for BlackBerry
    Replies: 12
    Last Post: 03-19-2008, 08:22 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •