-
Server Stats Cont...
Hello,
I have searched extensively in these forums and they have proved a fantasitic resource. Good work everyone.
The server is running SuSE 9, 1 Gig RAM, Dual RAID SATA 80 gig drives, and Version 3.0.0_GA_156.SuSEES9.
I have all server processes running and can successfully send and recieve emails. I have been unable to locate anything on this specific issue. I am working on the Server Status and Statistics section - specifically using this thread - http://www.zimbra.com/forums/administrators/1378-no-data-server-statistics.html
Here is the error i am getting in both /opt/zimbra/bin/zmlogprocess and /tmp/logprocess.out
Aggregating hour disk from 2006-02-15 22:00:00 to 2006-02-15 23:00:00
Aggregating day disk from 2006-02-14 00:00:00 to 2006-02-15 00:00:00
RAW: 31
sed: -e expression #1, char 28: unterminated `s' command
grep: write error: Broken pipe
SUM:
Pruning raw mta logs from 2006-01-15 00:00:00
Pruning raw amavis logs from 2006-01-15 00:00:00
Can anyone help me out with this? Regards.
Dave
-
Not sure how this happened - but it looks like zimbraLogSummaryLifetime is not set:
zmprov mcf zimbraLogSummaryLifetime 731
-
Thank you for the reply Marc.
I applied the command as zimbra. I then did a zmcontrol stop and start. I looked at both /opt/zimbra/bin/zmlogprocess and /tmp/logprocess.out and they still have the error. In addition, i now have the following.
Host dmrmail01.dmrcom.com
antispam Running
antivirus Running
ldap Running
logger Stopped
mailbox Running
mta Running
snmp Stopped
spell Running
-
looks like swatch isn't starting.
zmcontrol stop
ps auxww | grep zimbra
kill any swatch processes (or any tail -f /var/log/zimbra.log processes) and restart.
-
The issue of the logger and snmp not starting is due to the fact that the permissions on the zimbra.log file reverted to root for some reason. chown to zimbra fixed that up. Now i'm back to the original post issue. Run /opt/zimbra/bin/zmlogprocess and i get:
Aggregating hour disk from 2006-02-16 08:00:00 to 2006-02-16 09:00:00
Aggregating day disk from 2006-02-15 00:00:00 to 2006-02-16 00:00:00
RAW: 31
sed: -e expression #1, char 28: unterminated `s' command
grep: write error: Broken pipe
SUM:
Pruning raw mta logs from 2006-01-16 00:00:00
Pruning raw amavis logs from 2006-01-16 00:00:00
Run cat logprocess.out and now i get the above error as well.
Thank you for your assistance.
-
Code:
su - zimbra
/opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime'
What does that return?
-
zimbra@dmrmail01:/tmp> /opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime'
zimbraLogSummaryLifetime: 731
-
Mmm. Try changing that config value from 731 to 731d (my mistake) - and see if that fixes it.
-
Thanks for the time Marc,
The latest output.
zimbra@dmrmail01:/tmp> /opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime'
zimbraLogSummaryLifetime: 731d
zimbra@dmrmail01:/tmp> /opt/zimbra/bin/zmlogprocess
Processing mta entries from 400
Found 1 messages
Inserted 1 rows
Saving ID 400
Deleting processed postfix logs from raw_logs...Done
Processing clamd entries from 1810
Found 0 entries
Deleting processed clamd logs from raw_logs...Done
Processing amavis entries from 1796
Found 0 entries
Deleting processed amavis logs from raw_logs...Done
Processing sendmail entries from 0
Found 0 entries
Deleting processed sendmail logs from raw_logs...Done
Processing zimbramon entries from 1815
Found 0 entries
Deleting processed zimbramon logs from raw_logs...Done
Aggregating hour mta from 2006-02-15 10:00:00 to 2006-02-15 11:00:00
Aggregating hour mta from 2006-02-15 11:00:00 to 2006-02-15 12:00:00
Aggregating hour mta from 2006-02-15 12:00:00 to 2006-02-15 13:00:00
Aggregating hour mta from 2006-02-15 13:00:00 to 2006-02-15 14:00:00
Aggregating hour mta from 2006-02-15 14:00:00 to 2006-02-15 15:00:00
Aggregating hour mta from 2006-02-15 15:00:00 to 2006-02-15 16:00:00
Aggregating hour mta from 2006-02-15 16:00:00 to 2006-02-15 17:00:00
Aggregating hour mta from 2006-02-15 17:00:00 to 2006-02-15 18:00:00
Aggregating hour mta from 2006-02-15 18:00:00 to 2006-02-15 19:00:00
Aggregating hour mta from 2006-02-15 19:00:00 to 2006-02-15 20:00:00
Aggregating hour mta from 2006-02-15 20:00:00 to 2006-02-15 21:00:00
Aggregating hour mta from 2006-02-15 21:00:00 to 2006-02-15 22:00:00
Aggregating hour mta from 2006-02-15 22:00:00 to 2006-02-15 23:00:00
Aggregating hour mta from 2006-02-15 23:00:00 to 2006-02-16 00:00:00
Aggregating hour mta from 2006-02-16 00:00:00 to 2006-02-16 01:00:00
Aggregating hour mta from 2006-02-16 01:00:00 to 2006-02-16 02:00:00
Aggregating hour mta from 2006-02-16 02:00:00 to 2006-02-16 03:00:00
Aggregating hour mta from 2006-02-16 03:00:00 to 2006-02-16 04:00:00
Aggregating hour mta from 2006-02-16 04:00:00 to 2006-02-16 05:00:00
Aggregating hour mta from 2006-02-16 05:00:00 to 2006-02-16 06:00:00
Aggregating hour mta from 2006-02-16 06:00:00 to 2006-02-16 07:00:00
Aggregating hour mta from 2006-02-16 07:00:00 to 2006-02-16 08:00:00
Aggregating hour mta from 2006-02-16 08:00:00 to 2006-02-16 09:00:00
Aggregating hour mta from 2006-02-16 09:00:00 to 2006-02-16 10:00:00
Aggregating day mta from 2006-02-15 00:00:00 to 2006-02-16 00:00:00
Aggregating hour amavis from 2006-02-15 10:00:00 to 2006-02-15 11:00:00
Aggregating hour amavis from 2006-02-15 11:00:00 to 2006-02-15 12:00:00
Aggregating hour amavis from 2006-02-15 12:00:00 to 2006-02-15 13:00:00
Aggregating hour amavis from 2006-02-15 13:00:00 to 2006-02-15 14:00:00
Aggregating hour amavis from 2006-02-15 14:00:00 to 2006-02-15 15:00:00
Aggregating hour amavis from 2006-02-15 15:00:00 to 2006-02-15 16:00:00
Aggregating hour amavis from 2006-02-15 16:00:00 to 2006-02-15 17:00:00
Aggregating hour amavis from 2006-02-15 17:00:00 to 2006-02-15 18:00:00
Aggregating hour amavis from 2006-02-15 18:00:00 to 2006-02-15 19:00:00
Aggregating hour amavis from 2006-02-15 19:00:00 to 2006-02-15 20:00:00
Aggregating hour amavis from 2006-02-15 20:00:00 to 2006-02-15 21:00:00
Aggregating hour amavis from 2006-02-15 21:00:00 to 2006-02-15 22:00:00
Aggregating hour amavis from 2006-02-15 22:00:00 to 2006-02-15 23:00:00
Aggregating hour amavis from 2006-02-15 23:00:00 to 2006-02-16 00:00:00
Aggregating hour amavis from 2006-02-16 00:00:00 to 2006-02-16 01:00:00
Aggregating hour amavis from 2006-02-16 01:00:00 to 2006-02-16 02:00:00
Aggregating hour amavis from 2006-02-16 02:00:00 to 2006-02-16 03:00:00
Aggregating hour amavis from 2006-02-16 03:00:00 to 2006-02-16 04:00:00
Aggregating hour amavis from 2006-02-16 04:00:00 to 2006-02-16 05:00:00
Aggregating hour amavis from 2006-02-16 05:00:00 to 2006-02-16 06:00:00
Aggregating hour amavis from 2006-02-16 06:00:00 to 2006-02-16 07:00:00
Aggregating hour amavis from 2006-02-16 07:00:00 to 2006-02-16 08:00:00
Aggregating hour amavis from 2006-02-16 08:00:00 to 2006-02-16 09:00:00
Aggregating hour amavis from 2006-02-16 09:00:00 to 2006-02-16 10:00:00
Aggregating day amavis from 2006-02-15 00:00:00 to 2006-02-16 00:00:00
Aggregating hour disk from 2006-02-16 00:00:00 to 2006-02-16 01:00:00
Aggregating hour disk from 2006-02-16 01:00:00 to 2006-02-16 02:00:00
Aggregating hour disk from 2006-02-16 02:00:00 to 2006-02-16 03:00:00
Aggregating hour disk from 2006-02-16 03:00:00 to 2006-02-16 04:00:00
Aggregating hour disk from 2006-02-16 04:00:00 to 2006-02-16 05:00:00
Aggregating hour disk from 2006-02-16 05:00:00 to 2006-02-16 06:00:00
Aggregating hour disk from 2006-02-16 06:00:00 to 2006-02-16 07:00:00
Aggregating hour disk from 2006-02-16 07:00:00 to 2006-02-16 08:00:00
Aggregating hour disk from 2006-02-16 08:00:00 to 2006-02-16 09:00:00
Aggregating hour disk from 2006-02-16 09:00:00 to 2006-02-16 10:00:00
Aggregating day disk from 2006-02-15 00:00:00 to 2006-02-16 00:00:00
RAW: 31
sed: -e expression #1, char 28: unterminated `s' command
grep: write error: Broken pipe
SUM:
Pruning raw mta logs from 2006-01-16 00:00:00
Pruning raw amavis logs from 2006-01-16 00:00:00
Pruning raw disk logs from 2006-01-16 00:00:00
Pruning summary mta logs from 2006-02-16 00:00:00
Pruning summary amavis logs from 2006-02-16 00:00:00
Pruning summary disk logs from 2006-02-16 00:00:00
Pruning other raw logs from 2006-01-16 00:00:00
zimbra@dmrmail01:/tmp> cat swatch.out
*** swatch version 3.1.1 (pid:9586) started at Thu Feb 16 10:37:57 PST 2006
-
This is weird.
Code:
su - zimbra
/opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogRawLifetime'
/opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogRawLifetime' | sed -e 's/zimbraLogRawLifetime: //'
/opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime'
/opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime' | sed -e 's/zimbraLogSummaryLifetime: //'
/opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime' | sed -e 's/zimbraLogSummaryLifetime: //'
which one fails?