View Single Post
  #15 (permalink)  
Old 01-20-2010, 11:27 PM
Oded Arbel Oded Arbel is offline
Intermediate Member
 
Posts: 21
Default

A stop and start just gives me:

Stopping logswatch...done.
Starting logswatch...done.

after which 'zmloggerctl status' still give me nothing.

Running '/opt/zimbra/libexec/zmstatuslog' also has no output, and nothing in any log (I also looked in /opt/zimbra/log/*), but its not surprising as from looking at the code zmstatuslog just calls 'zmcontrol status' and parses the output.

zmloggerctl is a bit more intersting - it calls zmlogswatchctl which in turn test if 'logswatch' is running by inspecting its pid and sending a signal, and it does run on my system, and also checks 'zmrrdfetch-server' which apparently isn't running on my system (the pid file does not exist) but zmlogswatchctl doesn't seem to mind because it concludes with the output

zmlogswatch is running


Now here is the most intresting part - as I've mentioned, zmstatuslog calls zm control and parses the status, so I ran it manually and it tells me this:

Host vhost1.heptagon.co.il
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Stopped


So I tried:

$ bin/zmstatctl status
Running: zmstat-allprocs
process 1193 in /opt/zimbra/zmstat/pid/zmstat-cpu.pid not running
process 1203 in /opt/zimbra/zmstat/pid/zmstat-fd.pid not running
process 1191 in /opt/zimbra/zmstat/pid/zmstat-proc.pid not running
process 1195 in /opt/zimbra/zmstat/pid/zmstat-vm.pid not running
process 1324 in /opt/zimbra/zmstat/pid/zmstat-mtaqueue.pid not running
process 1326 in /opt/zimbra/zmstat/pid/zmstat-nginx.pid not running
Running: zmstat-df
Running: zmstat-mysql
process 1197 in /opt/zimbra/zmstat/pid/zmstat-io-x.pid not running
process 1201 in /opt/zimbra/zmstat/pid/zmstat-io.pid not running


So I ran 'bin/zmstatctl start' and it "invoked" lots of stuff and then the above status returned all "Running".

Now I ran 'zmstatuslog' log again, which still has no output and nothing in the logs and the 'server status' screen is still showing all the local services as down, and "server statistics" still has the error

Message: system failure: Unable to read logger stats Error code: service.FAILURE Method: GetLoggerStatsRequest Details:soap:Receiver


I'm starting to give up on the thing, but if you have any more ideas, keep them coming :-)
Reply With Quote