[syslog-ng]HP-UX syslog_ng server configfile
Ola.Fjallman@adb.ds.sll.se
Ola.Fjallman@adb.ds.sll.se
Wed, 5 Feb 2003 16:05:38 +0100
ok, thanks!
Another dumb question :
dows this line replace the whole
source src { ...
udp();
tcp();
}
and if so, I suspect that my other lines :
udp();
tcp(ip("192.168.0.1") port(514));
tcp();
internal();
goes within the source stdlog {}
Regards,
Ola
-----Original Message-----
From: bazsi [mailto:bazsi@balabit.hu]
Sent: den 5 februari 2003 14:59
To: syslog-ng
Cc: bazsi
Subject: Re: [syslog-ng]HP-UX syslog_ng server configfile
On Wed, Feb 05, 2003 at 02:46:07PM +0100, Ola.Fjallman@adb.ds.sll.se
wrote:
> "io.c: bind_unix_socket(): /dev/log not a socket
> Error initializing configuration, exiting."
>
>
> Does anyone have any idea what this means? As I have understood
> /dev/log is correct unix-stream on HP-UX.
no, it is a pipe(), each message padded to 2048 bytes. Here's an excerpt
from the INSTALL file:
HP-UX (HP-UX 11.0)
------------------
HP-UX uses a named pipe called /dev/log for log transport, and you
can use this with the pipe() driver with an additional option. HP-UX
pads
all incoming messages to 2048 bytes by default, so you need to specify
this:
source stdlog { pipe("/dev/log" pad_size(2048)); };
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C
8EB1
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html