On 8/24/07, mailing list <sunlist@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@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html