HP-UX syslog_ng server configfile
Hello, I have some problems. I run version 1.5.8 on HP-UX 11.11 The problem is with the unix-stream in syslog_ng.conf file. I have added the following configuration for test purposes : __________________________________________________ options { sync(0); time_reopen(10); log_fifo_size(100); }; source src { unix-stream("/dev/log"); udp(); tcp(ip("192.168.0.1") port(514)); tcp(); internal(); }; destination everything { udp("127.0.0.1" port(999)); tcp("127.0.0.1" port(999)); pipe("/dev/xconsole"); file("/tmp/logfile" compress(on) sync(0) log_fifo_size(10)); }; log { source(src); destination(everything); }; __________________________________________________ When trying to start syslog_ng I get this error message : "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. Regards, Ola
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
participants (2)
-
Balazs Scheidler
-
Ola.Fjallman@adb.ds.sll.se