Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-2012, 03:57 AM
Member
 
Posts: 13
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
Reply With Quote
  #2 (permalink)  
Old 01-30-2012, 02:11 AM
Member
 
Posts: 13
Default

Any ideia?
Reply With Quote
  #3 (permalink)  
Old 03-25-2012, 12:28 PM
Junior Member
 
Posts: 7
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=************
Reply With Quote
  #4 (permalink)  
Old 03-25-2012, 01:46 PM
Advanced Member
 
Posts: 206
Default

Look this [SOLVED] zmconfigd is not running.
Reply With Quote
  #5 (permalink)  
Old 03-26-2012, 01:25 AM
Trained Alumni
 
Posts: 6
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?
Reply With Quote
  #6 (permalink)  
Old 03-26-2012, 02:29 AM
Junior Member
 
Posts: 7
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
Reply With Quote
  #7 (permalink)  
Old 03-26-2012, 02:53 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #8 (permalink)  
Old 03-26-2012, 03:03 AM
Junior Member
 
Posts: 7
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.
Reply With Quote
  #9 (permalink)  
Old 04-10-2012, 07:43 AM
Trained Alumni
 
Posts: 6
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.
Reply With Quote
  #10 (permalink)  
Old 04-11-2012, 12:19 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.