Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Server Stats Cont...

  1. #1
    DMRDave is offline Active Member
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    49
    Rep Power
    9

    Default 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 - No data in server statistics

    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

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Not sure how this happened - but it looks like zimbraLogSummaryLifetime is not set:

    zmprov mcf zimbraLogSummaryLifetime 731

  3. #3
    DMRDave is offline Active Member
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    49
    Rep Power
    9

    Default

    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

  4. #4
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    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.

  5. #5
    DMRDave is offline Active Member
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    49
    Rep Power
    9

    Default

    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.

  6. #6
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Code:
    su - zimbra
    /opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime'
    What does that return?

  7. #7
    DMRDave is offline Active Member
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    49
    Rep Power
    9

    Default

    zimbra@dmrmail01:/tmp> /opt/zimbra/bin/zmprov gacf | egrep '^zimbraLogSummaryLifetime'
    zimbraLogSummaryLifetime: 731

  8. #8
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Mmm. Try changing that config value from 731 to 731d (my mistake) - and see if that fixes it.

  9. #9
    DMRDave is offline Active Member
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    49
    Rep Power
    9

    Default

    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

  10. #10
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    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?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. Tomcat broken after upgrade to 4
    By dotslashroot in forum Migration
    Replies: 13
    Last Post: 01-31-2007, 06:05 PM
  5. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •