shutdown -y -i5 -g0 DOESN'T work

hello,

The command above seems not working on my solaris 8/9 sparc machines.

a. resulted to the ff below when I instead use "shutdown" only.

Broadcast Message from root (pts/1) on "hostname" date..
The system "hostname" will be shut down in 30 seconds
THE SYSTEM bdosg IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged
Changing to init state s - please wait

just wandering why it changed to state 2 suddenly.

have a look at /var/adm/messages for some clues. most likely something is not shutding down cleanly and the system goes to single user mode.

Did you mean -i6 not -i5? -i6 is reboot and come back to multi-user run-level (3).

run-level 5 is a wierdo - it is a fully interactive boot, like from boot -a.

in solaris "init 5" is shutdown and poweroff the system...

yes i used init5. after that, when I login remotely it says not allowed to login so I wend directly to the server and login in to..I used poweroff instead and it worked..dunno why..