|
destination sockets: msg#00063syslog-ng
I saw an earlier thread about syslog-ng not creating/bind()ing/socket()ing sockets when it was generating messages... it never seemed quite resolved. I am attempting to create an outbound socket for syslog-ng to write to and that multiple clients (servers?) can read from. I am attempting to: destination d-plog { unix-stream("/tmp/d-plog.sock" template("$HOST $HOUR $MIN $SEC $FACILITY $PRIORITY $PROGRAM $MSG\n") template_escape(no) ); }; I'd then have multiple clients reading /tmp/d-plog.sock. Can't use a pipe (multiple clients). Can't use a file (log storage is done in SQL). Of course... root@lostcause:/home/porkchop# syslog-ng -v binding fd 5, unixaddr: /dev/log binding fd 6, inetaddr: 10.10.10.1, port: 514 binding fd 7, inetaddr: 0.0.0.0, port: 514 connecting fd 8, unixaddr: /tmp/d-porklog.sock Error connecting to AF_UNIX(/tmp/d-porklog.sock): Bad file descriptor Error initializing configuration, exiting. root@lostcause:/home/porkchop# Am I missing something? -porkchop _______________________________________________ syslog-ng maillist - syslog-ng@xxxxxxxxxxxxxxxx https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Auditd: 00063, Coward, Robert (Contractor) |
|---|---|
| Next by Date: | Re: Massive lossage with syslog-ng: 00063, Balazs Scheidler |
| Previous by Thread: | Auditdi: 00063, Coward, Robert (Contractor) |
| Next by Thread: | Re: destination sockets: 00063, Balazs Scheidler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |