Results 1 to 3 of 3

Thread: [SOLVED] Logger problem ZNE 6.0.6 suse 10.2

  1. #1
    Join Date
    Oct 2008
    Posts
    47
    Rep Power
    7

    Default [SOLVED] Logger problem ZNE 6.0.6 suse 10.2

    I upgraded Zimbra 5.0.10GA to 6.0.6GA. Upgrade went fine but as many others experienced my stats and status screens are not working.

    I have read and followed these posts with little success:
    http://www.zimbra.com/forums/install...9-6-0-6-a.html
    http://www.zimbra.com/forums/160612-post10.html

    My symptoms are very much like:http://www.zimbra.com/forums/adminis...se-11-2-a.html

    "zmloggerctl status" displays nothing but the process is running
    ps ax | grep zmlogger
    13459 ? S 0:00 /usr/bin/perl /opt/zimbra/libexec/zmlogger
    13492 ? S 0:00 zmlogger: zmrrdfetch: server
    17614 pts/1 S+ 0:00 grep zmlogger
    I have removed the files in /opt/zimbra/logger/db/data/* and tried to restart zmlogger but cannot.

    I have run:
    /opt/zimbra/libexec/zmfixperms -and-
    /opt/zimbra/bin/zmsyslogsetup

    My /etc/syslog-ng/syslog-ng.conf zimbra section is:
    #
    # Enable this, if you want to keep all messages in one file:
    # (don't forget to provide logrotation config)
    #
    #destination allmessages { file("/var/log/allmessages"); };
    #log { source(src); destination(allmessages); };


    source zimbra_src { unix-stream("/dev/log" keep-alive(yes) max-connections(20)); }; # zimbra
    filter zimbra_local0 { facility(local0); }; # zimbra
    filter zimbra_local1 { facility(local1); }; # zimbra
    filter zimbra_auth { facility(auth); }; # zimbra
    filter zimbra_mail { facility(mail); }; # zimbra
    destination zimbra_mail { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_local1 { file("/var/log/zimbra-stats.log" owner("zimbra")); }; # zimbra
    destination zimbra_local0 { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_auth { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    log { source(zimbra_src); filter(zimbra_mail); destination(zimbra_mail); }; # zimbra
    log { source(zimbra_src); filter(zimbra_local0); destination(zimbra_local0); }; # zimbra
    log { source(zimbra_src); filter(zimbra_local1); destination(zimbra_local1); }; # zimbra
    log { source(zimbra_src); filter(zimbra_auth); destination(zimbra_auth); }; # zimbra
    zimbra@mail:~> tail /opt/zimbra/zmstat/zmstat.out
    Warning: Not possible to monitor process stats
    zimbra@mail:~> /opt/zimbra/libexec/zmrrdfetch -f zmmtastats
    no structure found for zmmtastats at /opt/zimbra/libexec/zmrrdfetch line 239.
    Anyone have any other ideas?

    Thank you,
    Michael
    Last edited by mikeyes; 06-12-2010 at 03:48 PM.

  2. #2
    Join Date
    Oct 2008
    Posts
    47
    Rep Power
    7

    Default

    If I watch the /var/log/messages I can see the status messages. They are not going to /var/log/zimbra-stats.log

  3. #3
    Join Date
    Oct 2008
    Posts
    47
    Rep Power
    7

    Default

    Found this post where they identifed sytax errors in the syslog.conf file:
    http://www.zimbra.com/forums/install...-services.html

    My /etc/syslog-ng/syslog-ng.conf file was
    source zimbra_src { unix-stream("/dev/log" keep-alive(yes) max-connections(20)); }; # zimbra
    filter zimbra_local0 { facility(local0); }; # zimbra
    filter zimbra_local1 { facility(local1); }; # zimbra
    filter zimbra_auth { facility(auth); }; # zimbra
    filter zimbra_mail { facility(mail); }; # zimbra
    destination zimbra_mail { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_local1 { file("/var/log/zimbra-stats.log" owner("zimbra")); }; # zimbra
    destination zimbra_local0 { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_auth { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    log { source(zimbra_src); filter(zimbra_mail); destination(zimbra_mail); }; # zimbra
    log { source(zimbra_src); filter(zimbra_local0); destination(zimbra_local0); }; # zimbra
    log { source(zimbra_src); filter(zimbra_local1); destination(zimbra_local1); }; # zimbra
    log { source(zimbra_src); filter(zimbra_auth); destination(zimbra_auth); }; # zimbra
    If you modify the "source(zimbra_src)" to "source(src)" {which is the SUSE default} then everything works fine

    WORKING FILE
    source zimbra_src { unix-stream("/dev/log" keep-alive(yes) max-connections(20)); }; # zimbra
    filter zimbra_local0 { facility(local0); }; # zimbra
    filter zimbra_local1 { facility(local1); }; # zimbra
    filter zimbra_auth { facility(auth); }; # zimbra
    filter zimbra_mail { facility(mail); }; # zimbra
    destination zimbra_mail { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_local1 { file("/var/log/zimbra-stats.log" owner("zimbra")); }; # zimbra
    destination zimbra_local0 { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_auth { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    log { source(src); filter(zimbra_mail); destination(zimbra_mail); }; # zimbra
    log { source(src); filter(zimbra_local0); destination(zimbra_local0); }; # zimbra
    log { source(src); filter(zimbra_local1); destination(zimbra_local1); }; # zimbra
    log { source(src); filter(zimbra_auth); destination(zimbra_auth); }; # zimbra
    Can someone at Zimbra fix this for good?

    Thanks

Similar Threads

  1. Replies: 23
    Last Post: 04-19-2013, 10:06 PM
  2. Problem in installing zimbra in suse 10.1
    By aneel in forum Installation
    Replies: 3
    Last Post: 01-16-2007, 03:33 AM
  3. Multi-server install - logger problem
    By mrfileio in forum Administrators
    Replies: 1
    Last Post: 11-29-2006, 06:53 AM
  4. problem with logger and mailbox
    By pepe27 in forum Installation
    Replies: 1
    Last Post: 04-05-2006, 08:43 AM
  5. mysql logger problem
    By dijichi2 in forum Administrators
    Replies: 7
    Last Post: 01-09-2006, 02:26 PM

Posting Permissions

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