Zimbra won't shutdown - Stopping zimlet webapp fails
-
- Posts: 18
- Joined: Sat Sep 13, 2014 12:22 am
- Location: Shanghai, P.R.China
- ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016
- Contact:
Zimbra won't shutdown - Stopping zimlet webapp fails
The subject pretty much says it all. When 'zmcontrol shutdown' is run, zmconfigd stops, it moves on to 'Stopping zimlet webapp...' which eventually fails.
I have a daily cron job that shuts zimbra down, rsyncs the zimbra root to another location, then restarts zimbra. It has been running flawlessly for years.
The server and nearly all its users are 14 hours ahead of me and when I tried connecting today I got an error that the server wasn't responding. I realized it was within the usual backup timeframe so I connected via ssh to check its progress. I found the backup was not running and there were a mixture of some services running, others not. I checked my cron job log and from the time stamps found the zimbra shutdown had been running for nearly 15 minutes but had not completed stopping zimbra. I needed to get it back up and online so I ran a zmcontrol start and all returned to normal. All services were up, I could logon through the web interface and send and receive mail.
I ran zmfixperms, then tried running 'zmcontrol stop' again. Same result. It hung on 'Stopping zimlet webapp.' After several minutes, I interrupted through the stop command, ran 'zmcontrol start,' and verified all services were running normally again.
The host O/S is CentOS release 6.8 with Zimbra Release 8.7.0_GA_1659.RHEL6_64_20160628192545 RHEL6_64 FOSS edition. The most recent upgrade was from 8.07 to 8.70 in early October. I find nothing of significance in either Zimbra.log or mailbox.log.
We have run Zimbra since early release 5 with very few previous problems but I have had to suspend my cron job pending resolution of this problem. There are other nagging problems with this release but having a production system that cannot be shutdown smoothly makes me very uncomfortable.
I have a daily cron job that shuts zimbra down, rsyncs the zimbra root to another location, then restarts zimbra. It has been running flawlessly for years.
The server and nearly all its users are 14 hours ahead of me and when I tried connecting today I got an error that the server wasn't responding. I realized it was within the usual backup timeframe so I connected via ssh to check its progress. I found the backup was not running and there were a mixture of some services running, others not. I checked my cron job log and from the time stamps found the zimbra shutdown had been running for nearly 15 minutes but had not completed stopping zimbra. I needed to get it back up and online so I ran a zmcontrol start and all returned to normal. All services were up, I could logon through the web interface and send and receive mail.
I ran zmfixperms, then tried running 'zmcontrol stop' again. Same result. It hung on 'Stopping zimlet webapp.' After several minutes, I interrupted through the stop command, ran 'zmcontrol start,' and verified all services were running normally again.
The host O/S is CentOS release 6.8 with Zimbra Release 8.7.0_GA_1659.RHEL6_64_20160628192545 RHEL6_64 FOSS edition. The most recent upgrade was from 8.07 to 8.70 in early October. I find nothing of significance in either Zimbra.log or mailbox.log.
We have run Zimbra since early release 5 with very few previous problems but I have had to suspend my cron job pending resolution of this problem. There are other nagging problems with this release but having a production system that cannot be shutdown smoothly makes me very uncomfortable.
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
I notice zimlet webapp take the longest to stop. Potential issue.
- andreaswolske
- Posts: 35
- Joined: Tue Nov 26, 2013 11:24 am
- Location: Berlin
- ZCS/ZD Version: Release 8.8.15_GA_3829.RHEL7_64_201
- Contact:
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
Same issue here with RHEL 6.8 ZCS 7.2. Do you have by any chance non-default Zimlets installed? I'm running zExtras Chat.
Pressing Ctrl-C on all Jetty Apps will finally stopping zimbra leaving MySQL still running.
What I'm wondering is the following "zmmailboxdctl stop" does work which is pretty much the same. zmstorectl stop does not work either.
I'll open a SR with Zimbra.
Pressing Ctrl-C on all Jetty Apps will finally stopping zimbra leaving MySQL still running.
What I'm wondering is the following "zmmailboxdctl stop" does work which is pretty much the same. zmstorectl stop does not work either.
I'll open a SR with Zimbra.
- andreaswolske
- Posts: 35
- Joined: Tue Nov 26, 2013 11:24 am
- Location: Berlin
- ZCS/ZD Version: Release 8.8.15_GA_3829.RHEL7_64_201
- Contact:
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
I just filed ab Buf report: https://bugzilla.zimbra.com/show_bug.cgi?id=107669
-
- Advanced member
- Posts: 85
- Joined: Sat Sep 13, 2014 1:09 am
- ZCS/ZD Version: 8.8.15.GA.4179.UBUNTU20.64
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
Has anyone discovered a workaround for this? I'm having the same issue on 8.7.4.GA.1730 on Ubuntu 16 and it is currently preventing me from upgrading.
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
I'm having the same issue with a brand new install of Zimbra 8.8.5 on Centos 7.4. It started after I installed LetsEncrypt certs. Before I did that, I was using self-signed certs and did not have the shutdown problem.
-
- Posts: 3
- Joined: Wed May 24, 2017 8:34 am
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
Anyone found solution for this issue?
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
Hi,
same problem with
* Release 8.8.8.GA.2009.UBUNTU16.64 UBUNTU16_64 FOSS edition
* latest OS patches
* certificate from own CA
any solution known?
also after pressing Ctrl+C, the next Javaprocess seems to hang to stop
a seems to stop all processes.
regards
Thomas
same problem with
* Release 8.8.8.GA.2009.UBUNTU16.64 UBUNTU16_64 FOSS edition
* latest OS patches
* certificate from own CA
any solution known?
also after pressing Ctrl+C, the next Javaprocess seems to hang to stop
a
Code: Select all
pkill -u zimbra
regards
Thomas
-
- Posts: 3
- Joined: Wed May 24, 2017 8:34 am
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
still hasn't find any solution.
Re: Zimbra won't shutdown - Stopping zimlet webapp fails
Well, i see this solution, but not tested yet:
Jason Waters 2017-06-30 23:49:58 UTC
I got mine fixed! Thanks to Zimbra support. So I did this.
su - Zimbra
zmcontrol stop
Then control-C to to stop the services that don't start
mkdir /opt/zimbra/log/oldpids
mv /opt/zimbra/log/*.pid /opt/zimbra/log/oldpids
zmcontrol start
zmcontrol stop
And mine just worked! Hope it helps others!
Jason Waters 2017-06-30 23:49:58 UTC
I got mine fixed! Thanks to Zimbra support. So I did this.
su - Zimbra
zmcontrol stop
Then control-C to to stop the services that don't start
mkdir /opt/zimbra/log/oldpids
mv /opt/zimbra/log/*.pid /opt/zimbra/log/oldpids
zmcontrol start
zmcontrol stop
And mine just worked! Hope it helps others!