[syslog-ng]syslog-ng on Solaris
Matthew C Valites
mvalites@banta-im.com
Fri, 14 Jun 2002 12:24:32 -0400
I'm trying to forward to 127.0.0.1, which is picked up by stunnel and
sends it out on a secure port. This was the way I was doing it in
linux, so I thought I could try and do it on Solaris. I'm not sure why
the AF_INET sockets would break though.
~Matt
Nate Campi wrote:
>On Fri, Jun 14, 2002 at 12:04:01PM -0400, Matthew C Valites wrote:
>
>
>>>
>>>Use a source like this:
>>>
>>>source src { sun-stream("/dev/log" door("/etc/.syslog_door")); internal();
>>>};
>>>
>>>
>>>
>>When I do that, I get this error;
>>
>>root@diamond: syslog-ng -Fv
>>connecting fd 5 to inetaddr 127.0.0.1, port 2220
>>syslog-ng version 1.5.13 starting
>>io.c: do_write: write() failed (errno 32), Broken pipe
>>pkt_buffer::do_flush(): Error flushing data
>>Connection broken to AF_INET(127.0.0.1:2220), reopening in 10 seconds
>>Garbage collecting while idle...
>>Objects alive: 151, garbage collected: 2
>>
>>It just sits there and continues to spew out the "Garnage
>>collecting....." error and the following line. It runs, but doesn't log
>>anything. Any ideas?
>>
>>
>
>Looks like a destination you're trying to send to isn't working. Are you
>trying to forward over stunnel or something? It seems it must be that,
>or something like it since it's trying to write on an AF_INET socket on
>the localhost.
>
>Make sure it's not collecting logs generated locally, your file
>destinations should still be fine.
>
> $ logger -p local2.info FOO BAR BAZ
>
>...and see if it gets into your logs.
>
>OBTW, upgrade your syslog-ng, the newer versions have lots of bugfixes
>and feature additions.
>
>