Light at the end of the tunnel?
Following your post and
bug 7904 I reached
this post and I did this:
- Check the permissions for /var/log/zimbra.log. It's the owner zimbra and rw?
- Verify the changes in /etc/syslog-ng/syslog-ng.conf, or adding these lines at the end:
Code:
filter f_local0 { facility(local0); }; # zimbra
destination zmail { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
log { source(src); filter(f_mail); destination(zmail); }; # zimbra
destination local0 { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
log { source(src); filter(f_local0); destination(local0); }; # zimbra
filter f_auth { facility(auth); }; # zimbra
destination zmauth { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
log { source(src); filter(f_auth); destination(zmauth); }; # zimbra - Change the whole line with "killall -HUP syslogd" in these files to "/sbin/rcsyslog restart" :
/opt/zimbra/bin/zmsyslogsetup
/opt/zimbra/conf/zmlogrotate
/etc/logrotate.d/zimbra
- As root, restart syslog-ng with: "/sbin/rcsyslog restart"
- As zimbra, restart the logger service "zmloggerctl status"
Now the /var/log/zimbra.log file is logging again and the admin console show the services' status.
I'm waiting for the rotation of the log, at 19:15
@D!
PS=Release 4.5.3_GA_733.SuSE10_20070228101815 openSUSE_10.2 FOSS edition