LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't shut down my computer (https://www.linuxquestions.org/questions/linux-newbie-8/cant-shut-down-my-computer-665583/)

JasonC10203 08-26-2008 02:53 PM

Can't shut down my computer
 
I installed GRML and after using it for a while, I suddenly became unable to shut down the computer.

My shutdown method was to simply enter "halt" at the terminal prompt.

This worked for several weeks.

Then one day, I typed "halt" and pressed Enter and it started doing its thing like normal and then I got the following two lines:

There are no more processes left in this runlevel
Cannot execute /etc/init.d/grml-halt
_


The underscore above represents my cursor. It just hangs there and I have to pull the power to get my computer to power down.

This has happened twice. The first time, I just reinstalled the whole OS and everything was fine until now. I just recently installed Pidgin and the next time I went to shut down, I got the above error. I don't know if this has anything to do with it or not.

If anyone has any ideas, I would greatly appreciate it.

Thanks


Jason

ernst 08-27-2008 08:10 AM

Hi Jason,
Did you try:

/sbin/shutdown -h now

for explanation see
man shutdown

Disclaimer: I do not know GRML or Pidgin

/etc/init.d/grml-halt
is probably a script.
Does it exist?
ls -l /etc/init.d/grml-halt
does it have execution permission?

Greetings
Ernst

JasonC10203 08-27-2008 08:19 AM

Hey enrst.

Thanks for the reply. I asked around a bit more and it turns out that /etc/init.d/grml-halt is a symbolic link to /etc/init.d/grml-reboot which is a script. So all I had to do was recreate a symlink called grml-halt that was pointing to grml-reboot and my problem was fixed.


All times are GMT -5. The time now is 05:41 PM.