Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 2.6 pauses for a long time during boot

Status
Not open for further replies.

RideNaz

MIS
Mar 19, 2003
6
US
After installing the recommended patch cluster for Solaris 2.6 the boot process takes a very long time. As of now it's been at the same spot for 1 hour just after showing "Print services started". The first time this happened I walked away from the box for the weekend, and it eventually booted so I don't know how long it took over all.
Any ideas why and or suggestions to fix this?

Thanks
 
See what script (in /etc/rc2.d) is running after the print services script (which is probably S80lp). On boot up all these scripts beginning with "S" run in alphabetical order. The script after the "S80lp" script is probably the one that is causing the problems.

You should be able to "telnet" in if it is getting to the print services. You can analyze what is still running with "ps".
 
Thanks... The script after S80lp is
"S80spc -> ../init.d/spc"

I stopped the bootup twice "stop + a" and once issued the "reset" command at the boot prompt. The process appeared to hang again. I stopped it again and I think I issued the "boot" command. This time around the server booted in minutes.
Thanks for any input--I'm a newbie to Solaris, Cisco is my game.

gracias
 
We habitually modify our /sbin/rc2 script to read as follows (starting at approximately line 44):

[tt] for f in /etc/rc2.d/S*
{
if [ -s ${f} ]
then
echo "Running ${f} ..."
case ${f} in
*.sh) . ${f} ;; # source it
*) /sbin/sh ${f} start ;; # sub shell
esac
fi
}[/tt]

The echo in there makes it easy to tell which scripts are stopping or slowing down the boot process. Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top