I'm running Ubuntu server virtually, but I can't seem to shutdown like I usually do.
shutdown now or shutdown 0 doesn't work, just takes me to a recovery menu.
Something new? ^^ and how do I shutdown?
Can't shutdown
Can't shutdown
"The best place to hide a tree, is in a forest"
Hmmm.... never happend to me something similar, the most closer was issuing the shutdown command and the PC didn't turn the power off but that was because the APM/APCI support, or the lack of it
Did the system was updated or changed in any way recently? (regarding to init processes)
Other commands you can use to turn off the PC are:
poweroff is acctually an alias of 'shutdonw -h now' but your system should have it and is something you could try to see if there's a problem of the shutdown command, in the worst cases, init 0 shouldn't fail no matter what ^^
Did the system was updated or changed in any way recently? (regarding to init processes)
Other commands you can use to turn off the PC are:
Code: Select all
$ poweroff
$ halt
$ init 0
yeah init 0 worked, but getting another problem on Debian now with the shutdown command. check the link below
http://binarykitten.com/files/vmerror.png
http://binarykitten.com/files/vmerror.png
"The best place to hide a tree, is in a forest"
It's running init 1. That shouldn't be happening... how did you run shutdown?cats wrote:yeah init 0 worked, but getting another problem on Debian now with the shutdown command. check the link below
http://binarykitten.com/files/vmerror.png
Code: Select all
alias shutdown="init 0"
I <3 MariaLara more than all of you
- Still_Learning
- Fame ! Where are the chicks?!
- Posts: 1040
- Joined: 11 Jun 2008, 16:00
- 15
- Location: Trigger City
holding the power button like that won't resolve the problem either, just hide it, and also, it won't be a clean shutdown which isn't something to recommend if you have available methods to do a clean shutdown like the alias g-brain mentioned.
when you use shutdown, the system reads the setting from the v init, I use slackware so don't know how accurate it will be what I'm gonna say but, shutdown calls /etc/rc.d/rc.0 which is a sym link to rc.6, this rc check if is called as 0 or as 6 being 0 poweroff and 6 reboot, in anyother case the system shouldn't do nothing except to print an echo of usage.
My guess is that there's some misconfiguration in the rc.6 or init 6 level, shutdown is a binary file so unless it has a bug in it, then is a problem of the files that shutdown is calling
when you use shutdown, the system reads the setting from the v init, I use slackware so don't know how accurate it will be what I'm gonna say but, shutdown calls /etc/rc.d/rc.0 which is a sym link to rc.6, this rc check if is called as 0 or as 6 being 0 poweroff and 6 reboot, in anyother case the system shouldn't do nothing except to print an echo of usage.
My guess is that there's some misconfiguration in the rc.6 or init 6 level, shutdown is a binary file so unless it has a bug in it, then is a problem of the files that shutdown is calling