I'm getting the error 'log4j:ERROR No syslog host is set for SyslogAppedender named "SLOGGER"' in the log file zmmailbox.out and then all logging stops. Any suggestion for a fix?
ZCS 8.6.0 GA
Thanks!
Error in zmmailbox.out
-
- Advanced member
- Posts: 113
- Joined: Fri Sep 12, 2014 10:01 pm
Error in zmmailbox.out
- Zied FAKHFAKH
- Posts: 28
- Joined: Tue Jan 07, 2014 1:43 am
- Location: Tunisia
- ZCS/ZD Version: ZCS 8.6
- Contact:
Re: Error in zmmailbox.out
same error here
I checked the loggeerhostanme and rsyslog config, it's fine
am on RHEL7 BTW
I checked the loggeerhostanme and rsyslog config, it's fine
am on RHEL7 BTW
- Zied FAKHFAKH
- Posts: 28
- Joined: Tue Jan 07, 2014 1:43 am
- Location: Tunisia
- ZCS/ZD Version: ZCS 8.6
- Contact:
Re: Error in zmmailbox.out
in the message
log4j:ERROR No syslog host is set for SyslogAppedender named "SLOGGER"
SyslogAppedender seems a typo :/ doesn't ?
anyway, looking at this block of conf/log4.properties*
so, it expects that it's syslog appender is localhost
now
it returns a hostname different from localhost, my installation is a single host, so I just removed the value from that config
and the error is gone
Hope it helps, please give your solution if different from this one.
log4j:ERROR No syslog host is set for SyslogAppedender named "SLOGGER"
SyslogAppedender seems a typo :/ doesn't ?
anyway, looking at this block of conf/log4.properties*
Code: Select all
[zimbra@node1 conf]$ grep log4j.appender.SYSLOG.SyslogHost log4j.properties*
log4j.properties:log4j.appender.SYSLOG.SyslogHost=localhost
log4j.properties.in:log4j.appender.SYSLOG.SyslogHost=localhost
so, it expects that it's syslog appender is localhost
now
Code: Select all
[zimbra@node1 ~]$ zmprov gcf zimbraLogHostname
zimbraLogHostname: mail.acme.net
it returns a hostname different from localhost, my installation is a single host, so I just removed the value from that config
Code: Select all
zmprov mcf zimbraLogHostname ""
zmmailboxdctl restart
Stopping mailboxd...done.
Starting mailboxd...done.
and the error is gone
Hope it helps, please give your solution if different from this one.
Who is online
Users browsing this forum: No registered users and 15 guests