Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by GreatGazoo »

I used ps aux | grep zimbra and lsof | grep LISTEN and did not find anything that really helped.  Anyone had to deal with before?

Raunaq
Posts: 39
Joined: Fri Sep 12, 2014 11:22 pm

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by Raunaq »

Hello GreatGazoo,



Did you tried restarting all the services by

zmcontrol restart
GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by GreatGazoo »

I have several times and no matter what it always comes back. I updated the kernel on Ubuntu 12.04 as recommended but since then this is occurring.
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by quanah »

Looks like you have a stale pid file on disk you need to remove.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
RuiSimoes
Posts: 11
Joined: Sat Sep 13, 2014 2:31 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by RuiSimoes »

Look into the dir "/opt/zimbra/zmstat/pid/"



If you have something... rename to ".old" and try to start the service "/opt/zimbra/bin/zmstatctl start"
GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by GreatGazoo »

I have the following under that directory:

zmstat-allprocs.pid  
zmstat-fd.pid      
zmstat-io-x.pid      
zmstat-proc.pid
zmstat-cpu.pid     
zmstat-fd-real.pid
zmstat-ldap.pid      
zmstat-vm.pid
zmstat-df.pid
zmstat-io.pid
zmstat-mtaqueue.pid

GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by GreatGazoo »

Turns out that was it...THANK YOU
pivert
Posts: 20
Joined: Sat Sep 13, 2014 12:12 am

Re: Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by pivert »

Same issue, found this in the folder:

Code: Select all

zimbra@srv:~/zmstat/pid$ ls -lh
total 0
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-allprocs.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-cpu.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-fd-real.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-fd.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-io-x.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-io.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-ldap.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-mtaqueue.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-nginx.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-proc.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-vm.pid
  • Deleting them fixed the problem (they were all empty, 0 bytes, and more than 2 years old)
  • After deletion and a zmcontrol start, files were recreated, each containing a PID.
  • Zimbra team should add a routine to ensure this folder is cleaned during upgrades, and maybe on restarts.
davidkillingsworth
Outstanding Member
Outstanding Member
Posts: 251
Joined: Sat Sep 13, 2014 2:26 am
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU14.64-Patch 24

Re: Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Post by davidkillingsworth »

I just had this after applying the latest patch and issuing "zmcontrol restart" on my Ubuntu server.

Renaming all of the PID files to old and then restarting again fixed the issue and then I deleted all of the .old files.

Thanks for this solution.
Post Reply