Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-2006, 04:00 AM
Active Member
 
Posts: 33
Default Disk statistics not being logged

Hi

I can see in the crontab that disk statistics are supposed to be logged every 10 minutes, along with server status every 2 minutes.

Quote:
#
# Status logging
#
*/2 * * * * /opt/zimbra/libexec/zmstatuslog
*/10 * * * * /opt/zimbra/libexec/zmdisklog
The server status is being logged to the log file, but the disk statistics are only being logged if I manually run the zmdisklog!

This is a persistant problem on all versions that I have tried on Mac OS X. The current version I am running is 4.0RC1 Network and OSS on either PPC Mac OS X or Intel Mac OS X.

Any help appreciated
Jason
Reply With Quote
  #2 (permalink)  
Old 08-24-2006, 04:21 AM
Moderator
 
Posts: 2,207
Default

Is the other process (zmstatuslog) correctly launched each 2 minutes ?
Reply With Quote
  #3 (permalink)  
Old 08-24-2006, 04:25 AM
Active Member
 
Posts: 33
Default

Yes and I can see the entries it makes in the /var/log/zimbra.log file.

Jason
Reply With Quote
  #4 (permalink)  
Old 08-24-2006, 05:40 AM
Active Member
 
Posts: 33
Default

It would appear that the zmdisklog program assumes that /sbin is in the path, which it is not when using cron. Editing the program to call /sbin/mount fixed the problem.

Thanks
Jason
Reply With Quote
  #5 (permalink)  
Old 08-24-2006, 07:36 AM
Moderator
 
Posts: 2,207
Default

Was about to suggest the path issue 8)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.