1753809 Members
7702 Online
108805 Solutions
New Discussion юеВ

Machine not rebooting

 
Prasad Joshi
Regular Advisor

Machine not rebooting

I am giving a reboot command to a machine but, still the machine is not rebooting.

Can anyone say why this is happening?

Thanks in advance
Prasad
11 REPLIES 11
Prasad Joshi
Regular Advisor

Re: Machine not rebooting

I need to give init 6 command to reboot the machine.

I am not getting why reboot command itself is not working

Thanks & regards,
Prasad
Rick Garland
Honored Contributor

Re: Machine not rebooting

Need some more information. What version of OS? Any error messages? Any messages at all? What does syslog say? Did you do a "ps" command to verify it is there? What command did you actually type? etc...



Prasad Joshi
Regular Advisor

Re: Machine not rebooting

Thanks a lot for instant replay.

OS is B.11.23

No error message is displayed

syslogd was in running state even after giving reboot command

i just gave reboot command "reboot"

Thanks a lot.
Prasad
Jannik
Honored Contributor

Re: Machine not rebooting

does it begine the boot in the VFP? You can look at this from the console.
does it begine the boot in the CO (console) from the GSP/MP?

If it dies in the VFP (intial boot - you would know :-) ).

So maybe it you autoboot option, do you end up in something like:
menu >
jaton
Pete Randall
Outstanding Contributor

Re: Machine not rebooting

According to the man page

"When invoked without arguments, reboot syncs all disks before rebooting the system."

Is it possible that you simply needed to wait a while longer for the disks to resync? Normally the command would be invoked as "reboot -[h|r] 0"

By the way, it is customary to do a graceful shutdown using the "shutdown" command rather than using "reboot". The shutdown command goes through all the /sbin/init.d stop scripts and shuts processes down gracefully. The reboot command does not and this could prove harmful to some applications.


Pete

Pete
Arunvijai_4
Honored Contributor

Re: Machine not rebooting

Hi Prasad,

You can check /etc/shutdownlog to see what happenes there.

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Jannik
Honored Contributor

Re: Machine not rebooting

reboot -q

-q
Quick and quiet. Suppress broadcast of warning messages, terminate processes by brute force with SIGKILL) and immediately call reboot with arguments as indicated by the other options see
reboot(2)).

You may have some IO or proccess running.

User:
shutdown -ry 0
or
shutdown -hy 0
jaton
Rick Garland
Honored Contributor

Re: Machine not rebooting

There is the /etc/rc.log file as well. This will keep track of the progress of shutdown/startups.

You may be able to look into this file and see if it could be hanging on trying to bring down an application.

Kent Ostby
Honored Contributor

Re: Machine not rebooting

prasad --

does the machine go down, but not come back up?

does it stay up?

If it just stays up, then look at /var/adm/syslog/syslog.log and see if there are any error messages there.

Also, type:

whence reboot

This will show you what reboot command you are running. Try using the full path:

/sbin/reboot
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"