View Single Post
  #26 (permalink)  
Old 03-30-2010, 10:34 PM
p_nyet p_nyet is offline
Loyal Member
 
Posts: 84
Default

I'm getting same problem few days ago,
I'm tried to check any advice from this thread, but my problem doesn't solve.
Today I've check permission files on /opt/zimbra/zmstats, and some files owned by root:

drwxr-x--- 2 zimbra zimbra 4096 Mar 26 00:02 2010-03-25
drwxr-x--- 2 zimbra zimbra 4096 Mar 27 00:00 2010-03-26
drwxr-xr-x 2 root root 4096 Mar 28 00:00 2010-03-27
drwxr-xr-x 2 root root 4096 Mar 29 00:00 2010-03-28
drwxr-xr-x 2 root root 4096 Mar 30 00:00 2010-03-29
drwxr-xr-x 2 root root 4096 Mar 31 00:00 2010-03-30
drwxr-xr-x 2 root root 4096 Mar 31 09:45 2010-03-31
-rw-r----- 1 zimbra zimbra 20394059 Mar 27 23:59 allprocs.csv
-rw-r----- 1 zimbra zimbra 372589 Mar 27 23:59 cpu.csv
-rw-r----- 1 zimbra zimbra 59243 Mar 27 23:50 df.csv
-rw-r--r-- 1 root root 6370 Mar 31 11:25 fd.csv

I think permission file is problem there, because:

/opt/zimbra/zmstat/mtaqueue.csv was stale (2010-03-27) pre-rotating
sh: /opt/zimbra/zmstat//2010-03-27/mtaqueue.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/mtaqueue.csv to /opt/zimbra/zmstat//2010-03-27/mtaqueue.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/io.csv was stale (2010-03-27) pre-rotating
sh: /opt/zimbra/zmstat//2010-03-27/io.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/io.csv to /opt/zimbra/zmstat//2010-03-27/io.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/allprocs.csv was stale (2010-03-27) pre-rotating
sh: /opt/zimbra/zmstat//2010-03-27/allprocs.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/allprocs.csv to /opt/zimbra/zmstat//2010-03-27/allprocs.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/df.csv was stale (2010-03-27) pre-rotating
sh: /opt/zimbra/zmstat//2010-03-27/df.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/df.csv to /opt/zimbra/zmstat//2010-03-27/df.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
zmstat-mysql.pid: Already running as pid 9669
/opt/zimbra/zmstat/mysql.csv was stale (2010-03-27) pre-rotating
sh: /opt/zimbra/zmstat//2010-03-27/mysql.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/mysql.csv to /opt/zimbra/zmstat//2010-03-27/mysql.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
Warning: Not possible to monitor process stats
/opt/zimbra/zmstat/proc.csv was stale (2010-03-27) pre-rotating
sh: /opt/zimbra/zmstat//2010-03-27/proc.csv.gz: Permission denied

Ok, now I'm tried to change ownership:
as root:
# chown -R zimbra.zimbra /opt/zimbra/zmstat/

and, as zimbra:
$ zmstatctl start
$ zmstatctl status

Running: zmstat-cpu
Running: zmstat-proc
Running: zmstat-vm
Running: zmstat-fd
Running: zmstat-allprocs
Running: zmstat-mysql
Running: zmstat-io
Running: zmstat-mtaqueue
Running: zmstat-df
Running: zmstat-io-x

Not sure?
$ zmcontrol status
$ zmcontrol status
Host mail.lerindro.co.id
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Running

Now open zimbra administration panel and see server status, stats running well...
__________________
Just logs
blog.pnyet.web.id
Reply With Quote