Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-22-2010, 10:12 AM
Starter Member
 
Posts: 1
Default Error in configuration of syslog-ng

When I start syslog-ng, It show error:
Error in configuration, unresolved source reference; source='src'

This some content of /etc/init.d/syslog-ng

....
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
log { source(src); filter(f_local1); destination(zmstats); }; # 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

If I comment all lines contain "source(src)", syslog-ng start OK. But log will not output to zimbra.log
Help me resolve this issue.

Thanks a lot

Last edited by vulagio; 03-22-2010 at 11:29 AM..
Reply With Quote
  #2 (permalink)  
Old 03-22-2010, 06:04 PM
Moderator
 
Posts: 1,209
Default

I'm guessing you are hand editing your syslog-ng file?

If so, you need to define the source called "src". You'll need a section in /etc/syslog-ng/syslog-ng.conf that looks like:

Code:
source src {
	#
	# include internal syslog-ng messages
	# note: the internal() soure is required!
	#
	internal();

	#
	# the following line will be replaced by the
	# socket list generated by SuSEconfig using
	# variables from /etc/sysconfig/syslog:
	#
	unix-dgram("/dev/log");
	unix-dgram("/var/lib/named/dev/log");

	#
	# uncomment to process log messages from network:
	#
	udp(ip("0.0.0.0") port(514));
};

Hope that helps,
Mark

P.S. There are several open bugs in bugzilla relating to the various syslog engines, and in those bugs are examples of working syslog-ng.conf files.
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.