[syslog-ng] Getting named pipes to work

Fegan, Joe Joe.Fegan at hp.com
Mon Jan 12 17:44:33 CET 2009


If you log in as the syslog-ng user and

echo "hello" >> /var/log/netlog/sec-pipe

does that work?


-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Mike Rykowski
Sent: 12 January 2009 16:26
To: syslog-ng at lists.balabit.hu
Subject: [syslog-ng] Getting named pipes to work

Hello,

I'm new to syslog-ng and trying to get named pipes to work. I'm running
version 2.0.2. I get the following messages in the log on start up:

Jan 12 10:09:02 netlog-e0 netlog syslog-ng[11791]: syslog-ng starting
up; version='2.0.2'
Jan 12 10:09:02 netlog-e0 netlog syslog-ng[11791]: Error opening file
for writing; filename='/var/log/netlog/sec-pipe', error='No such file or
directory (2)'


In my conf file I have:

destination dst_sec { pipe("/var/log/netlog/sec-pipe")};

On the host I have the pipe setup as:

prw-r--r--    1 syslog-ng syslog-ng        0 Jan 12 10:05 sec-pipe

The syslog-ng process is run with user 'syslog-ng'. So I added the owner
and group options for the pipe command and set them to syslog-ng and
that resulted in the same message.

Any ideas?


-- 
Mike Rykowski
NU-IT Telecommunications and Network Services

______________________________________________________________________________
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



More information about the syslog-ng mailing list