Have a problem on a front-end MTA where stats is showing as not running. Yet if I check on the node I can see the processes
Code:
zimbra@smtp01 ~]$ ps aux | grep zmstat
zimbra 9908 0.0 0.0 6024 596 pts/1 S+ 06:00 0:00 grep zmstat
zimbra 14572 0.0 0.1 41536 6536 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-proc
zimbra 14574 0.0 0.1 41276 6296 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-cpu
zimbra 14576 0.0 0.1 41276 6312 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-vm
zimbra 14578 0.0 0.1 41272 6308 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-io -x
zimbra 14580 0.0 0.1 41408 6464 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-df
zimbra 14586 0.0 0.1 41276 6296 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-io
zimbra 14610 0.0 0.1 44016 6912 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-allprocs
zimbra 14615 0.0 0.1 41144 6212 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-mtaqueue
zimbra 14653 0.0 0.1 43880 6848 pts/1 S 05:45 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-nginx
zmcontrol also shows that it is not running
Code:
[zimbra@smtp01 ~]$ zmcontrol status
Host smtp01.domain.com
antispam Running
antivirus Running
imapproxy Running
mta Running
snmp Running
stats Stopped Now the interesting bit comes when I stop the stats and restart them
Code:
[zimbra@smtp01 ~]$ zmstatctl start
Invoking: /opt/zimbra/libexec/zmstat-proc
Invoking: /opt/zimbra/libexec/zmstat-cpu
Invoking: /opt/zimbra/libexec/zmstat-vm
Invoking: /opt/zimbra/libexec/zmstat-io -x
Invoking: /opt/zimbra/libexec/zmstat-df
Invoking: /opt/zimbra/libexec/zmstat-io
Invoking: /opt/zimbra/libexec/zmstat-fd
Invoking: /opt/zimbra/libexec/zmstat-allprocs
Invoking: /opt/zimbra/libexec/zmstat-mtaqueue
Invoking: /opt/zimbra/libexec/zmstat-nginx
[zimbra@smtp01 ~]$ Password:
Right at the very end I get a password prompt; hitting enter goes back to the prompt. I have checked the ssh identity for the zimbra user and that looks okay
Code:
[zimbra@smtp01 ~]$ ssh -i .ssh/zimbra_identity -o strictHostKeyChecking=no zimbra@smtp01.domain.com
Connection to smtp01.domain.com closed.
Any ideas ?