zmconfigd not running

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

zmconfigd not running

Post by rickygm »

hi forum , I have an error with zimbra, there are times when this service stops and in the webmail it shows a message zcs upstream server error 504, I have to start the service again so that the mail works again .

version in use=
su - zimbra -c "zmcontrol -v"
Release 8.7.11_GA_1854.RHEL7_64_20170531151956 RHEL7_64 FOSS edition.

any idea?
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

Re: zmconfigd not running

Post by rickygm »

when I try to restart I get this message
Starting zmconfigd ... / opt / zimbra / bin / zmconfigdctl: line 82: kill: (13880) - Not such
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 313
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: RE: Re: zmconfigd not running

Post by tonster »

rickygm wrote:when I try to restart I get this message
Starting zmconfigd ... / opt / zimbra / bin / zmconfigdctl: line 82: kill: (13880) - Not such
What do the logs tell you?

Sent from my SM-G950U using Tapatalk
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

Re: zmconfigd not running

Post by rickygm »

Is there any other specific I can see? , I saw zmconfigd-log4j.log
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

Re: zmconfigd not running

Post by rickygm »

hi , some help?, the service stop s a couple of times a day
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: zmconfigd not running

Post by DualBoot »

Hello,

configd is not a major process for a running mailboxd. The problem is somewhere else.
But your problem with configd can be related to the same root cause.
If you get 504, that means your mailboxd is unavailable so the log to investigate are :
mailbox.log and zmmailboxd.out

Regards,
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

Re: zmconfigd not running

Post by rickygm »

looking in the zimbra log, I find this message


Feb 14 15:46:42 node-01 zmconfigd[886]: join() gc FAILED
Feb 14 15:46:42 node-01 zmconfigd[886]: Hung threads detected (4 total), exiting
Feb 14 15:46:43 node-01 postfix/smtps/smtpd[4959]: connect from unknown[172.16.11.83]
Feb 14 15:46:44 node-01 saslauthd[4242]: authentication against url 'https://email.domain.nl:7073/service/admin/soap/' caused error 'curl_easy_perform: error(28): Connection timed out after 15001 milliseconds'

I have tried in different methods, deactivating ipv6 in /etc/hosts
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

Re: zmconfigd not running

Post by rickygm »

DualBoot wrote:Hello,

configd is not a major process for a running mailboxd. The problem is somewhere else.
But your problem with configd can be related to the same root cause.
If you get 504, that means your mailboxd is unavailable so the log to investigate are :
mailbox.log and zmmailboxd.out

Regards,
mailbox.log

2018-02-14 15:47:57,884 WARN [MailboxPurge] [mid=76;] purge - Unable to purge mailbox 76
com.zimbra.common.service.ServiceException: system failure: unable to lookup account via query: (&(zimbraId=acce37ca-9201-459f-a8b0-2a15e4187915)(objectClass=zimbraAccount)) message: LDAP error: - unable to search ldap: ldap host=email.domain.nl:389: An I/O error occurred while trying to read the response from the server: java.net.SocketTimeoutException: Read timed out
ExceptionId:MailboxPurge:1518644877883:25e72724c06645d6
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:286)
at com.zimbra.cs.account.ldap.LdapProvisioning.getAccountByQuery(LdapProvisioning.java:932)
at com.zimbra.cs.account.ldap.LdapProvisioning.getAccountById(LdapProvisioning.java:946)
at com.zimbra.cs.account.ldap.LdapProvisioning.get(LdapProvisioning.java:1003)
at com.zimbra.cs.account.ldap.LdapProvisioning.get(LdapProvisioning.java:991)
at com.zimbra.cs.mailbox.Mailbox.getAccount(Mailbox.java:950)
at com.zimbra.cs.mailbox.PurgeThread.run(PurgeThread.java:152)
Caused by: com.zimbra.cs.ldap.LdapException: LDAP error: - unable to search ldap: ldap host=email.domain.nl:389: An I/O error occurred while trying to read the response from the server: java.net.SocketTimeoutException: Read timed out
ExceptionId:MailboxPurge:1518644877883:25e72724c06645d6
Code:ldap.LDAP_ERROR
at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:90)
at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:74)
at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.mapToLdapException(UBIDLdapContext.java:239)
at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.searchDir(UBIDLdapContext.java:736)
at com.zimbra.cs.account.ldap.ZLdapHelper.searchForEntry(ZLdapHelper.java:208)
at com.zimbra.cs.account.ldap.LdapProvisioning.getSearchResultForAccountByQuery(LdapProvisioning.java:912)
at com.zimbra.cs.account.ldap.LdapProvisioning.getAccountByQuery(LdapProvisioning.java:927)
... 5 more
Caused by: LDAPSearchException(resultCode=85 (timeout), numEntries=0, numReferences=0, errorMessage='An I/O error occurred while trying to read the response from the server: java.net.SocketTimeoutException: Read timed out')
at com.unboundid.ldap.sdk.LDAPConnection.search(LDAPConnection.java:3305)
at com.zimbra.cs.ldap.unboundid.UBIDLdapOperation$Search.execute(UBIDLdapOperation.java:287)
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

Re: zmconfigd not running

Post by rickygm »

it is possible that this is a bug, I have read in the forum that many people have not been able to solve this problem.
Skotsh
Posts: 2
Joined: Sat Mar 03, 2018 11:17 am

Re: zmconfigd not running

Post by Skotsh »

Hi,

After enabled IPv6 to Zimbra, zmconfigd start says "failed". I cannot see any problems in zimbra.log while service is starting..

--
$ zmconfigdctl status
zmconfigd is not running.
$ zmconfigdctl start
Starting zmconfigd...failed.
--
Mar 3 12:41:35 xxxxx zmconfigd[31022]: zmconfigd started on idaho.sconet.org with loglevel=3 pid=31022
Mar 3 12:41:35 xxxxx zmconfigd[31022]: Fetching All configs
Mar 3 12:41:35 xxxxx zmconfigd[31022]: All configs fetched in 0.29 seconds
.. lot of Rewrote lines ..
Mar 3 12:41:40 xxxxx zmconfigd[31022]: All rewrite threads completed in 4.36 sec
Mar 3 12:41:40 xxxxx zmconfigd[31022]: All restarts completed in 0.00 sec
Mar 3 12:42:40 xxxxx zmconfigd[31022]: Fetching All configs
Mar 3 12:42:40 xxxxx zmconfigd[31022]: All configs fetched in 0.14 seconds
.. lot of Tracking service and Watchdog: service lines ..
Mar 3 12:42:45 xxxxx zmconfigd[31022]: All rewrite threads completed in 0.00 sec
Mar 3 12:42:45 xxxxx zmconfigd[31022]: All restarts completed in 0.00 sec

So, how to start debug what is wrong? 8.8.6 GA NE edition in Ubuntu 16.04 LTS system.


- Marko
Post Reply