View Single Post
  #10 (permalink)  
Old 11-18-2010, 04:14 AM
pjanzen pjanzen is offline
New Member
 
Posts: 4
Default

With help from post #4 of this thread and info I found on the net I have managed to get the Server status and stats working with syslog-ng.

What I did was the following.

run /opt/zimbra/libexec/zmsyslogsetup to get the basics setup.

Enable syslogging in zimbra
zmprov mcf zimbraLogToSysLog TRUE

Copy the syslog-ng stuff from thread #4, I hade to change source(src) to source(s_all)

Restart syslog-ng.
Change /opt/zimbra/conf/zmlogrotate
Look for
killall -HUP syslogd 2> /dev/null || true
and change it to
su - zimbra -c "/etc/init.d/syslog-ng restart" > /dev/null 2>&1 || true

Then add
%zimbra ALL=NOPASSWD:/etc/init.d/syslog-ng restart
To the sudo'rs file.

That did it for me.

Paul
Reply With Quote