[syslog-ng] What is syslog-ng control socket?

ILLES, Marton illes.marton at balabit.hu
Mon Jul 13 19:53:26 CEST 2009


Hi,

The socket could be used to query syslog-ng statistics as of now. We are
planning to add some more control functionality later some day.

It uses a simple line command communication, so after connecting to it
as a unix socket, simply send a line "STATS\n"

you will get csv like statistics ended by a '.' line.

best,

M

On Wed, 2009-06-17 at 10:44 -0700, Subodh Nijsure wrote:
> When I start syslog-ng  I always get following error in the log.
> 
> Jun 17 10:34:22 Node1 syslog-ng[836]: syslog-ng starting up; version='3.0.2'
> Jun 17 10:34:22 Node1 syslog-ng[836]: Error opening control socket, bind() faile
> d; socket='/home/subodh/install/syslog-ng/install//var/syslog-ng.ctl', error='N
> o such file or directory (2)'
> 
> What is the control socket in syslog-ng?  Should I be worried about
> this,what functionality do I loose 'cause syslog-ng is not able to
> create control socket?
> 
> I am running version 3.0.2 on PowerPC 85xxx platform.
> 
> Below is the output of syslog-ng -v
> 
> syslog-ng 3.0.2
> Revision: ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.0#master#e1c8e7f086f5c5b73727cfef6d351614d87574ed
> Compile-Date: Jun 16 2009 16:54:10
> Enable-Threads: off
> Enable-Debug: off
> Enable-GProf: off
> Enable-Memtrace: off
> Enable-Sun-STREAMS: off
> Enable-Sun-Door: off
> Enable-IPv6: on
> Enable-Spoof-Source: off
> Enable-TCP-Wrapper: on
> Enable-SSL: off
> Enable-SQL: off
> Enable-Linux-Caps: on
> Enable-Pcre: on
> 
> /Subodh Nijsure
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
> 
> 
-- 
Key fingerprint = F78C 25CA 5F88 6FAF EA21 779D 3279 9F9E 1155 670D



More information about the syslog-ng mailing list