[syslog-ng] Syslog-ng 1.6.9 just stops...

Andreoli, Tony A. USNUNK NAVAIR B1490, R215 tony.andreoli at navy.mil
Thu Mar 2 13:47:02 CET 2006


Thanks for the info.  Could this be the cause of my hangs?

	-----Original Message----- 
	From: syslog-ng-bounces at lists.balabit.hu on behalf of Sandor Geller 
	Sent: Thu 3/2/2006 3:20 AM 
	To: Syslog-ng users' and developers' mailing list 
	Cc: 
	Subject: Re: [syslog-ng] Syslog-ng 1.6.9 just stops...
	
	

	Andreoli, Tony A. USNUNK NAVAIR B1490, R215 wrote:
	> I had klogd off already, but this got me thinking about something else.
	> My config file's sources are:
	>
	> source s_sys { pipe ("/proc/kmsg" log_prefix("kernel: ")); unix-stream
	> ("/dev/log"); udp(); internal(); };
	> source t_sys { pipe ("/proc/kmsg" log_prefix("kernel: ")); unix-stream
	> ("/dev/log"); tcp(); internal(); };
	>
	> Could it be that both sources, attempting to read /proc/kmsg and
	> /dev/log (and internal()?) are causing this?
	
	Never use the same log source (pipe, stream, diagram) two or more times.
	You should reorganize your source sections:
	
	source s_common { pipe ("/proc/kmsg" log_prefix("kernel: "));
	unix-stream("/dev/log"); internal(); };
	
	source s_udp { udp(); };
	source s_tcp { tcp(); };
	
	And modify your log sections accordingly.
	
	--
	Sandor Geller
	wildy at balabit.hu
	_______________________________________________
	syslog-ng maillist  -  syslog-ng at lists.balabit.hu
	https://lists.balabit.hu/mailman/listinfo/syslog-ng
	Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5330 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060302/56cb9fcd/attachment.bin


More information about the syslog-ng mailing list