Computing.Net > Forums > Solaris > Solaris 8 - Boot Problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Solaris 8 - Boot Problem

Reply to Message Icon

Name: ashish shah
Date: September 23, 2002 at 12:47:10 Pacific
OS: SunOS 5.8
CPU/Ram: UltraSPARCIIi 333MHz
Comment:

Hi,
My solaris machine hangs after following message:
sylog service starting.

Can anyone throw some light what can be the problem?
I have changed /etc/inittab file a little:
(only changed last entry with this)
Privious:
SV:23456:/usr/bin/sshd2 -D q
Changed with:
SV:23456:/usr/bin/sshd2 -d -q

Before this I was continuously getting this message on console:

INIT: Command is respawning too rapidly. Check for possible errors.
id: SV "/usr/bin/sshd2 -D -q"

Could anyone give an explanation to what happened?
thanks,
-ashish



Sponsored Link
Ads by Google

Response Number 1
Name: jorge
Date: September 24, 2002 at 07:51:18 Pacific
Reply:

I had the same problem initialating SSH Daemon from inittab.

Now I either do with usual script in /etc/init.d/ssh (soft linked to /etc/rc2.d/Sxxssh) or via inetd.conf

Here you have the ssh script

#!/usr/bin/sh

pid=`/usr/bin/ps -e | /usr/bin/grep sshd | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
case $1 in
'start')
/usr/local/sbin/sshd
;;
'stop')
if [ "${pid}" != "" ]
then
/usr/bin/kill ${pid}
fi
;;
*)
echo "usage: /etc/init.d/sshd {start|stop}"
;;
esac

and the line for inetd.conf
#sshd stream tcp nowait root /usr/local/sbin/tcpd /usr/local/sbin/sshd -b 512 -i
(do use ONLY ONE of both methods)
jorge


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Solaris 8 - Boot Problem

Netbooting Solaris 8 (IA) problems. www.computing.net/answers/solaris/netbooting-solaris-8-ia-problems/1268.html

Solaris 8 installation problem www.computing.net/answers/solaris/solaris-8-installation-problem/2888.html

Solaris 8 installation problem www.computing.net/answers/solaris/solaris-8-installation-problem/1636.html