Problem with zmconfigd

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
lndgoncalves
Posts: 3
Joined: Sat Sep 13, 2014 1:34 am

Problem with zmconfigd

Postby lndgoncalves » Fri Jun 09, 2017 7:05 pm

Good afternoon, the last two days I have been having trouble starting zmconfigd.

All services are running only zmconfigd not.
Note that there is a process running, with the "ps aux" and .pid file in
/opt/zimbra/log/zmconfigd.pid

But when I run the zmconfigdctl restart it fails. The logs are empty, the only information found was in /var/log/zimbra.log.

Procedures executed.
I stopped all zimbra services.
I removed the .pid file
I ran zmfixperms
I manually executed zmconfigd

But none of them can climb the service properly,
What else can I do?

:|


Code: Select all

 zmcontrol -v
Release 8.7.9_GA_1794.RHEL7_64_20170505054622 RHEL7_64 FOSS edition.


Code: Select all

 ps aux|grep zmconfig
zimbra    5943  0.8  1.1 4342920 393164 ?      Sl   10:57   2:32 /opt/zimbra/common/lib/jvm/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.net.preferIPv4Stack=true -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -Djava.ext.dirs=/opt/zimbra/common/lib/jvm/java/jre/lib/ext:/opt/zimbra/lib/jars:/opt/zimbra/lib/ext-common:/opt/zimbra/lib/ext/clamscanner:/opt/zimbra/lib/ext/zimbra-license:/opt/zimbra/lib/ext/twofactorauth:/opt/zimbra/lib/ext/com_zimbra_ssdb_ephemeral_store -Djava.io.tmpdir=/opt/zimbra/data/tmp -Dpython.cachedir.skip=true org.python.util.jython /opt/zimbra/libexec/zmconfigd


Code: Select all

-rw-r----- 1 zimbra zimbra 5 Jun  9 10:57 /opt/zimbra/log/zmconfigd.pid


Code: Select all

zmconfigdctl restart
Stopping zmconfigd...zmconfigd is not running.
Starting zmconfigd...failed.


Code: Select all

 ls -l /opt/zimbra/log/zmconfigd*
-rw-r----- 1 zimbra zimbra 0 May 11 13:40 /opt/zimbra/log/zmconfigd-audit.log
-rw-r----- 1 zimbra zimbra 0 May 11 13:40 /opt/zimbra/log/zmconfigd-log4j.log
-rw-r----- 1 zimbra zimbra 6 Jun  9 15:54 /opt/zimbra/log/zmconfigd.pid


Code: Select all

/var/log/zimbra.log

Jun  9 15:55:45 mail zmconfigd[30455]: Fetching All configs
Jun  9 15:55:45 mail zmconfigd[30455]: All configs fetched in 0.15 seconds
Jun  9 15:55:45 mail zmconfigd[30455]:  File "/opt/zimbra/libexec/zmconfigd", line 222, in <module>     myState.getMtaConfig(myConfig.configFile)
Jun  9 15:55:45 mail zmconfigd[30455]:  File "/opt/zimbra/common/lib/jylibs/state.py", line 347, in getMtaConfig     self.mtaconfig.load(cf,self)
Jun  9 15:55:45 mail zmconfigd[30455]:  File "/opt/zimbra/common/lib/jylibs/mtaconfig.py", line 211, in load     val = state.lookUpConfig(fields[2], fields[3])
Jun  9 15:55:45 mail zmconfigd[30455]:  File "/opt/zimbra/common/lib/jylibs/state.py", line 369, in lookUpConfig     lines = [self.transform(l).strip() for l in open(tmpfile,'r').readlines() if se
Jun  9 15:55:45 mail zmconfigd[30455]:  File "/opt/zimbra/common/lib/jylibs/state.py", line 1080, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
Jun  9 15:55:45 mail zmconfigd[30455]:  File "/opt/zimbra/lib/jars/jython-standalone-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
Jun  9 15:55:45 mail zmconfigd[30455]:  File "/opt/zimbra/common/lib/jylibs/state.py", line 976, in xformConfig     val = str(self.lookUpConfig(type, key))
Jun  9 15:55:45 mail zmconfigd[30455]: Sleeping...Configuration inconsistency detected ('ascii' codec can't encode characters in position 52-53: ordinal not in range(128))



but

Code: Select all

zmconfigd[31937]:Configuration inconsistency detected ('ascii' codec can't encode characters in position 52-53: ordinal not in range(128))


Code: Select all

[zimbra@mail ~]$ /opt/zimbra/libexec/zmconfigd

Broadcast message from systemd-journald@mail.xxxx.com.br (Fri 2017-06-09 16:26:53 -03):

zmconfigd[32277]: zmconfigd already running, exiting

Message from syslogd@mail at Jun  9 16:26:53 ...
 zmconfigd[32277]:zmconfigd already running, exiting


Israeru
Posts: 8
Joined: Tue Aug 08, 2017 9:07 pm

Re: Problem with zmconfigd

Postby Israeru » Tue Aug 15, 2017 1:15 am

Hi you have luck? I have the same trouble
rickygm
Posts: 12
Joined: Sat Sep 13, 2014 1:48 am

Re: Problem with zmconfigd

Postby rickygm » Thu Feb 15, 2018 12:24 am

I'm in the same situation
rijandimby
Posts: 2
Joined: Wed Aug 29, 2018 7:45 am

Re: Problem with zmconfigd

Postby rijandimby » Wed Aug 29, 2018 7:50 am

Hi,

I have the same issue if someone has found a solution.

zmcontrol -v : Release 8.0.0_GA_5434.RHEL6_64_20120907144639 RHEL6_64 FOSS edition.

Thanks
phoenix
Ambassador
Ambassador
Posts: 25778
Joined: Fri Sep 12, 2014 9:56 pm

Re: Problem with zmconfigd

Postby phoenix » Wed Aug 29, 2018 8:17 am

rijandimby wrote:zmcontrol -v : Release 8.0.0_GA_5434.RHEL6_64_20120907144639 RHEL6_64 FOSS edition.
The current version of ZCS is 8.8.9 - you should upgrade to that version.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 53
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
Contact:

Re: Problem with zmconfigd

Postby DavidMerrill » Wed Aug 29, 2018 3:32 pm

This might be an issue with a leftover PID file?
___________________________________
David Merrill - Zimbra Practice Lead
Reliable Networks - Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
rijandimby
Posts: 2
Joined: Wed Aug 29, 2018 7:45 am

Re: Problem with zmconfigd

Postby rijandimby » Fri Aug 31, 2018 9:27 am

DavidMerrill wrote:This might be an issue with a leftover PID file?


Hi,

Here is what I did :
su - zimbra
zmconfigdctl stop

with result :
Stopping zmconfigdctl...success
Stopping zmconfigd...zmconfigd is not running.

then :
rm -rf /opt/zimbra/log/zmconfigdctl.pid
rm -rf /opt/zimbra/log/zmconfigd.pid

Then, i start zmconfigdctl by : zmconfigdctl start

with result :
Starting zmconfigd...failed.
Starting zmconfigdctl...success

In log file : /opt/zimbra/log/zmconfigd.log, i see :
Starting zmconfigd.../opt/zimbra/bin/zmconfigdctl: line 95: 13670 Processus arrêté ${zimbra_home}/libexec/zmconfigd >> ${zimbra_log_directory}/zmconfigd.log 2>&1
Starting zmconfigd...failed.

And in log file /var/log/zimbra.log
zmconfigd[18704]: Fetching All configs
zmconfigd[18704]: All configs fetched in 0.11 seconds
zmconfigd[18704]: File "/opt/zimbra/libexec/zmconfigd", line 206, in <module> myState.getMtaConfig(myConfig.configFile)
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 335, in getMtaConfig self.mtaconfig.load(cf,self)
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/mtaconfig.py", line 208, in load val = state.lookUpConfig(fields[2], fields[3])
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 357, in lookUpConfig lines = [self.transform(l).strip() for l in open(tmpfile,'r').readlines() if self.transform(l).strip()]
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 975, in transform line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
zmconfigd[18704]: File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub return _compile(pattern, 0).sub(repl, string, count)
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 901, in xformConfig val = str(self.lookUpConfig(type, key))
zmconfigd[18704]: Sleeping...Configuration inconsistency detected ('ascii' codec can't encode characters in position 98-100: ordinal not in range(128))

Thanks for your help.
agustin1283
Posts: 1
Joined: Wed Sep 05, 2018 9:22 pm

Re: Problem with zmconfigd

Postby agustin1283 » Mon Sep 10, 2018 12:44 am

Tengo el mismo problema con mi servidor Zimbra, la version es ZCS 8.8.7. Alguien que me ayude con el procedimiento a seguir.

Gracias

rijandimby wrote:
DavidMerrill wrote:This might be an issue with a leftover PID file?


Hi,

Here is what I did :
su - zimbra
zmconfigdctl stop

with result :
Stopping zmconfigdctl...success
Stopping zmconfigd...zmconfigd is not running.

then :
rm -rf /opt/zimbra/log/zmconfigdctl.pid
rm -rf /opt/zimbra/log/zmconfigd.pid

Then, i start zmconfigdctl by : zmconfigdctl start

with result :
Starting zmconfigd...failed.
Starting zmconfigdctl...success

In log file : /opt/zimbra/log/zmconfigd.log, i see :
Starting zmconfigd.../opt/zimbra/bin/zmconfigdctl: line 95: 13670 Processus arrêté ${zimbra_home}/libexec/zmconfigd >> ${zimbra_log_directory}/zmconfigd.log 2>&1
Starting zmconfigd...failed.

And in log file /var/log/zimbra.log
zmconfigd[18704]: Fetching All configs
zmconfigd[18704]: All configs fetched in 0.11 seconds
zmconfigd[18704]: File "/opt/zimbra/libexec/zmconfigd", line 206, in <module> myState.getMtaConfig(myConfig.configFile)
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 335, in getMtaConfig self.mtaconfig.load(cf,self)
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/mtaconfig.py", line 208, in load val = state.lookUpConfig(fields[2], fields[3])
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 357, in lookUpConfig lines = [self.transform(l).strip() for l in open(tmpfile,'r').readlines() if self.transform(l).strip()]
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 975, in transform line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
zmconfigd[18704]: File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub return _compile(pattern, 0).sub(repl, string, count)
zmconfigd[18704]: File "/opt/zimbra/zimbramon/pylibs/state.py", line 901, in xformConfig val = str(self.lookUpConfig(type, key))
zmconfigd[18704]: Sleeping...Configuration inconsistency detected ('ascii' codec can't encode characters in position 98-100: ordinal not in range(128))

Thanks for your help.
jeremiasd
Posts: 1
Joined: Wed Oct 17, 2018 3:15 pm

Re: Problem with zmconfigd

Postby jeremiasd » Wed Oct 17, 2018 3:22 pm

Alguien pudo solucionar este inconveniente?

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 30 guests