[syslog-ng] syslog-ng unable to starts
Andreas Kurz
andreas.kurz at gmail.com
Fri Aug 24 18:06:20 CEST 2007
On 8/24/07, mailing list <sunlist at yahoo.com> wrote:
> syslog-ng 2.0.4, Solaris 10, attempting to replace syslogd on Solaris. I
> stopped syslogd before starting syslog-ng on my system and I keep getting the
> below error messages in /var/adm/messages: (ps -ef shows syslog-ng is running)
>
> Aug 23 14:39:52 server1 syslog-ng[7764]: Connection failed; error='Connection
> refused (146)'
> Aug 23 14:39:52 server1 syslog-ng[7764]: Initiating connection failed,
> reconnecting; time_reopen='10'
I got the same message when one of of my tcp-destinations was not available ...
tcp("192.168.1.254" port(5140)) is a remote syslog server of yours?
can you connect to this port from your server?
>
> I've edited /etc/inet/services to include port 5140 and stop/start inetd via
> Solaris smf (svcadm). Was there something else I need to make the port open or
> perhaps something in syslog-ng.conf?
hmm .... I don't understand this question .... what has the syslog-ng
server to do with the inetd???? If you have a remote syslog-ng server
running on host 192.168.1.254 you have to include a line like:
source loghost { tcp(192.168.1.254 port(5140)); };
.... in the syslog-ng config of host 192.168.1.254 to let syslog-ng
listen on that port and receive remote syslog messages.
Regards,
Andreas
>
> Additionally, I used the config file from
> http://www.campin.net/syslog-ng/solaris-conf.txt and only make changes to the
> "destination loghost" is there anything specific to Solaris 10 that I need to
> add/remove in the configuration file?
>
> Thank you for any pointers.
>
> Regards,
>
> -- Mike
>
>
>
> ____________________________________________________________________________________
> Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
More information about the syslog-ng
mailing list