[syslog-ng]HP-UX syslog_ng server configfile

Balazs Scheidler bazsi@balabit.hu
Wed, 5 Feb 2003 14:59:10 +0100


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