init 0 or shutdown -i0 automatcially reboots solaris 8
init 0 or shutdown -i0 automatcially reboots solaris 8
(OP)
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
I looked at inittab and it shows
s0:0:wait:/sbin/rc0 >/dev/msglog 2<>/dev/msglog </dev/console
Any suggestions?
thanks
RE: init 0 or shutdown -i0 automatcially reboots solaris 8
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