LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 08-02-2006, 06:08 PM   #1
Windowns
LQ Newbie
 
Registered: Aug 2006
Distribution: Solaris 9, Fedora Core
Posts: 15

Rep: Reputation: 0
SSHD service does not start up on Solaris 9


Just recently i've applied my first patch cluster on a Solaris 9 server. The patch was pretty uneventfull; however, now when i reboot the system SSHD is not running. I have the startup script in the /etc/rc3.d/ folder and indeed when i login to the system i see that i am in run-level 3. The script /etc/init.d/sshd matches the one found in the rc3.d folder, but for some reason it does not start up sshd. I can go into the /etc/rc3.d folder and startup sshd using the script manually just fine.

Any ideas?
 
Old 08-05-2006, 02:13 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,500

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
You can try adding a "set -x" at the beginning of the sshd script to trace its execution at boot time.
 
Old 08-07-2006, 09:42 AM   #3
Windowns
LQ Newbie
 
Registered: Aug 2006
Distribution: Solaris 9, Fedora Core
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks jll,

I'll have to try that during my reboot today.

As an update. I noted that after the system booted i have an error message saying that sshd service was unable to bind on port 22 on IP address ::. When i look in the sshd_config file i see that the listening ip address was set to "::". I understand this means "bind to any available ip for either IPv4 or IPv6". We do not use IPv6 on our network, so i simply changed it to 0.0.0.0 so it binds to any IPv4 address. Now it works fine.

Any thoughts as to why the "any" distinction for IPv6 is giving me trouble, where as the IPv4 "any" distinction isn't?

I've got the problem solved, but any further help/ideas on the IPv6 versus IPv4 would be cool. Thanks again jll for the response!
 
Old 08-07-2006, 10:45 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,500

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
It may be a bug, especially as it was working before the patch was applied.

Do you know which of the patches you installed did update sshd and/or sshd_config ?

Do you know if the patch changed the ListenAddress sshd_config setting ?
 
Old 08-08-2006, 10:24 AM   #5
Windowns
LQ Newbie
 
Registered: Aug 2006
Distribution: Solaris 9, Fedora Core
Posts: 15

Original Poster
Rep: Reputation: 0
The patch that modified the sshd bin is:

113273-11 SunOS 5.9: /usr/lib/ssh/sshd Patch

When i look through the logs, i see a message about copying the old sshd bin to sshd.113273-11, but i do not see any similar preservation techniques used for the sshd_config file.

Also immediately after appling the patch, i looked at my sshd_config and noted that it was not overwritten as my previous settings where still in the file. The sshd_config file is dated 01/10/08 (european time format) on the inside.

So the file was not overwritten and we have always had the IPv6 and IPv4 binding of "ListenAddress ::"

Does IPv6 need a special NIC card?
 
Old 08-08-2006, 10:42 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,500

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
So this looks like a regression in sshd, I suggest you to file a bug if you are a Sun support customer.

There is no need for a specific NIC card to do IPv6, all can do it, but IPv6 network are still rare.
 
Old 08-09-2006, 03:27 PM   #7
Windowns
LQ Newbie
 
Registered: Aug 2006
Distribution: Solaris 9, Fedora Core
Posts: 15

Original Poster
Rep: Reputation: 0
Sounds like a plan. Thanks jll for all of the info and help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
Trying to make my sshd service to work. Help please! babyboss Linux - Distributions 3 10-28-2004 09:09 PM
service command not working for starting sshd naijaguy Linux - Newbie 4 09-03-2004 11:49 AM
getting sshd to start at boot eros Linux - Software 8 12-31-2003 01:06 PM
couldn't start SSHD jonnyb Linux - Networking 14 02-16-2003 03:39 PM


All times are GMT -5. The time now is 03:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration