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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System hangs while init program runs. Solaris 9 1

Status
Not open for further replies.

jhahs

Technical User
Oct 19, 2004
29
US
Having trouble stopping the system from running an /rc2.d/S96cspinit file. This file is crashing the box, allowing only console communication. Never makes it to the login prompt. I tried to boot from cd with -s and go to rc2.d and rename the file. System tells me is is read only even tho eveything shows 755. Is the file system mounted as read only at this point?
How can I get into the system and rename the file??
 
Have you tried booting to Single User mode with:
ok boot -s

This should not run any /etc/rc2.d scripts during startup.


Failing that, boot from CD as you described with '-s' and then mount your usual root/boot disk with:
# mount /dev/dsk/c?t?d?s? /a

Because you have booted from CD, it will be a Read-only filesystem, however /a is a read/write mount point on the 'CD filesystem'. Then rename the file with:
# cd /a/etc/rc2.d
# mv S96cspinit x96cspinit

Then shutdown and reboot to your usual root/boot disk, with:

# init 0
ok boot


I hope that helps.

Mike
 
Mike,
Booting from the CD worked.. Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top