LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why can't this machine shutdown without automaticaly restarting? (https://www.linuxquestions.org/questions/linux-newbie-8/why-cant-this-machine-shutdown-without-automaticaly-restarting-742824/)

>SOL 07-25-2009 10:58 PM

Why can't this machine shutdown without automaticaly restarting?
 
I had just installed Ubuntu and I and can not get it to shutdown. Once it gets to the point of shuting down it restarts automatically. How do I correct this?

JD50 07-26-2009 12:26 AM

Quote:

Originally Posted by >SOL (Post 3620373)
I had just installed Ubuntu and I and can not get it to shutdown. Once it gets to the point of shuting down it restarts automatically. How do I correct this?

Open up a terminal window and type "sudo shutdown -h now"

Does it reboot?

sparc86 07-26-2009 12:57 AM

"sudo halt" should works too. Actually it does the same thing as "shutdown -h now"

>SOL 07-26-2009 11:31 AM

Why can't I enter my password in the terminal?
 
I have been trying to get this machine to shut down; however, it restarts automatically. I have tried using "sudo shutdown -h now" in the terminal, but now I cannot enter the password that follows after the command. What is the solution for this?

DragonSlayer48DX 07-26-2009 11:38 AM

Quote:

Originally Posted by >SOL (Post 3620827)
I have been trying to get this machine to shut down; however, it restarts automatically. I have tried using "sudo shutdown -h now" in the terminal, but now I cannot enter the password that follows after the command. What is the solution for this?

Type your password and press Enter. The terminal simply doesn't show any response on password entry, but it is being accepted.

Cheers

>SOL 07-26-2009 11:56 AM

Thanks You, but it still restarts by itself as soon as it shutsdown. How do I correct this?

kirukan 07-26-2009 12:11 PM

shutdown command just enough to shutdown the machine, did you check the BIOS is there any configuration changes??

kirukan 07-26-2009 12:17 PM

Refer the following link
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/234700

JZL240I-U 07-27-2009 04:42 AM

What distribution do you use? If it is a *BSD the command should read "shutdown -p now" (after the sudo).

<edit 1> Ooops, forget it. I just realized that you said Ubuntu in your very first post. </edit 1>

<edit 2> On some more reflection, are you sure ACPI comes up without trouble? Have a look at the messages in "dmesg". I use the kernel parameter of "acpi=force" in my GRUB booting stanza to enable exactly the wanted feature... </edit 2>

archtoad6 07-27-2009 06:47 AM

Welcome to LQ

Quote:

Originally Posted by >SOL (Post 3620848)
Thanks You, but it still restarts by itself as soon as it shutsdown. How do I correct this?

Possibly by installing Ubuntu 8.10 (Intrepid Ibex) or 9.04 (Jaunty Jackalope).

Reading through the bug report linked by kirukan, which describes a problem very similar to yours, it is obvious that that problem was specific to 7.10 (Gutsy Gibbon) & the cure was upgrading to a later version (of Ubuntu), or holding at an earlier one. It also was suspected of being related to the Ubuntu 2.6.24 kernel.

One halt / shutdown alternative not mentioned is init 0. I doubt it will work, but it is another CLI possibility.

So,
  1. Do you remember which Release (version) of Ubuntu you installed?
  2. Which kernel is using? -- Please post the output of sudo uname -a.
    If you're concerned about privacy, make that sudo uname -rvmpio
  3. What mobo is in your system?
  4. Please try sudo init 0 & tell us what happens.

archtoad6 08-04-2009 07:06 AM

OP, if you've solved your problem please tell us so & how. If not, please answer the questions.


All times are GMT -5. The time now is 07:57 PM.