Error in zmmailbox.out

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
12313jimbo
Advanced member
Advanced member
Posts: 113
Joined: Fri Sep 12, 2014 10:01 pm

Error in zmmailbox.out

Postby 12313jimbo » Tue Jan 12, 2016 4:02 pm

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!



User avatar
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

Postby Zied FAKHFAKH » Tue May 24, 2016 9:10 pm

same error here
I checked the loggeerhostanme and rsyslog config, it's fine
am on RHEL7 BTW
User avatar
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

Postby Zied FAKHFAKH » Tue May 24, 2016 9:44 pm

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*

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.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 14 guests