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

init 0 or shutdown -i0 automatcially reboots solaris 8

Status
Not open for further replies.

csgonan

MIS
May 2, 2007
118
US
I have a solaris 8 server and when I issue init 0 or shutdown -i0 it automatically reboots. I was able to issue init 5 and it shutdown/power down, but not init 0.

I looked at inittab and it shows
s0:0:wait:/sbin/rc0 >/dev/msglog 2<>/dev/msglog </dev/console

Any suggestions?

thanks
 
So whats your question?
depending if you are working on sparc or x86 running Solaris you will get different responses.

On sparc, an init 0 will take you to the OBP prompt. I'm guessing the shutdown -i0 will also. I never use the shutdown command.

I use the init commands so it will cleanly shutdown or reboot the host.

in x86, I'm not sure where init 0 takes you, I doubt it reboots, maybe the grub prompt?

init 6 is what is used to reboot.

init 5 is used to power off the server totally.

unless you are doing maintenance you probably should just use init 6.

If you are running sparc, and you use init 0, it should drop you to this prompt: OK>

to boot the server back up, just type: boot

OK> boot

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top