The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


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


Other UNIX.COM Threads 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 08: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 01:00 PM
how to start and stop the network in Solaris 9?? eldiego UNIX for Dummies Questions & Answers 1 11-21-2005 04: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 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 05-14-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this 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
Reply With Quote
  #3 (permalink)  
Old 05-14-2008
Smiling Dragon's Avatar
Disorganised User
 

Join Date: Nov 2007
Location: New Zealand
Posts: 562
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 05-14-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 04:12 PM.


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

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102