AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  AIX 5.3 named pipe.

    Posted Thu August 03, 2006 12:50 PM

    Originally posted by: SystemAdmin


    I'm trying to create a named pipe for syslog-ng to feed. No matter what I do, it seems, syslog-ng says: syslog-ng356508: Error opening file for writing;
    filename='/data/pipes/net_pipe', error='No such device or address (6)'
    I created it with mkfifo -m 640 /data/pipes/net_pipe
    I then chown syslog:syslog /data/pipes/net_pipe

    This is the same as when you let syslog-ng create the files on its own (but as a file).
    #AIX-Forum


  • 2.  Re: AIX 5.3 named pipe.

    Posted Fri August 04, 2006 07:18 AM

    Originally posted by: MarkTaylor


    how are you specifying /data/pipes/net_pipe in your syslog-ng.conf ?

    can you cat n paste it pls ..

    Just off the top of my head if you using a pipe and not a file, then it should be specified something like this ..

    destination my_pipe pipe("/data/pipes/net_pipe");

    rather than

    destination my_file file("/data/pipes/net_pipe");

    Rgds
    MarkT
    #AIX-Forum


  • 3.  Re: AIX 5.3 named pipe.

    Posted Fri August 04, 2006 12:19 PM

    Originally posted by: SystemAdmin


    I figured that out - not sure how I missed it (it was defining the file as a pipe in syslog-ng.conf).

    If you're familiar with AIX though, I could certainly use some help in getting syslog-ng to startup as a subsystem, via rc.tcpip or whatever!
    #AIX-Forum