The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how do I start a script in run level 3 in solaris? mokkan SUN Solaris 4 12-04-2007 09:44 AM
Start up in Solaris anar_s2001 SUN Solaris 1 06-14-2006 07:16 AM
How to start CDE for non root user on Solaris 10 kiranherekar SUN Solaris 0 01-16-2006 02:00 PM
how to start and stop the network in Solaris 9?? eldiego UNIX for Dummies Questions & Answers 1 11-21-2005 05:28 PM
Help: how to start/stop FTP server in solaris? eddsos SUN Solaris 1 08-07-2005 10:32 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Syslog-ng does not start Solaris 9

I have been installing syslog-ng on our Solaris 9 servers. All ov them are working except two which return the following error:

Code:
    # /etc/init.d/syslog start
    syslog-ng service starting.
    Error binding socket; addr='AF_INET(0.0.0.0:514)', error='Address already in use (125)'
    Error initializing source driver; source='inputs'
    #
Any ideas what I'm missing here?
Reply With Quote
Forum Sponsor
  #2  
Old 05-14-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 243
I think its because you have in.rshd enabled in /etc/inetd.conf
Try to comment out the following 2 lines, and kill -HUP the inetd process
Code:
shell   stream  tcp     nowait  root    /usr/sbin/in.rshd       in.rshd
shell   stream  tcp6    nowait  root    /usr/sbin/in.rshd       in.rshd
Reply With Quote
  #3  
Old 05-14-2008
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 734
I'd have though it was becuase the old version of syslog is still running - port 514 (0.0.0.0:514) is listed as the syslog port in /etc/services...

Use ps -ef | grep syslog to make sure it's not already running something on that port.

If not and you still get the error, check netstat -an | grep 514 to see if anything else is holding the port open.
If it does and you have lsof, then use lsof -i :514 to find the culprit
Reply With Quote
  #4  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Quote:
Originally Posted by Tornado View Post
I think its because you have in.rshd enabled in /etc/inetd.conf
Try to comment out the following 2 lines, and kill -HUP the inetd process
Code:
shell   stream  tcp     nowait  root    /usr/sbin/in.rshd       in.rshd
shell   stream  tcp6    nowait  root    /usr/sbin/in.rshd       in.rshd
That was it! The rshd processes were suppose to have been disabled during hardening, but I guess a couple slipped through the cracks.

Thanks to both of you for the great responses!
Reply With Quote
  #5  
Old 05-14-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 243
Glad to be of help.. Maybe you can help me now.
I posted a question and have had no responses regarding the syslog-ng.conf file. Have a look here and comment if you can.

Thanks
Reply With Quote
  #6  
Old 10-09-2008
Registered User
 

Join Date: May 2008
Location: Dhaka, Bangladesh
Posts: 7
syslog-ng-does-not-start-solaris-9

It is possible to change the listening port of syslog-ng from syslog-ng.conf file.
You can add the following line to the conf file:

source remote_src { tcp(ip(yr.ip.add.ress) port(1099) ); };

Then, syslog-ng will listen on tcp port 1099.

Thanks
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0