Why can't this machine shutdown without automaticaly restarting?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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"
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?
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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>
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,
Do you remember which Release (version) of Ubuntu you installed?
Which kernel is using? -- Please post the output of sudo uname -a.
If you're concerned about privacy, make that sudo uname -rvmpio
What mobo is in your system?
Please try sudo init 0 & tell us what happens.
Last edited by archtoad6; 07-27-2009 at 06:52 AM.
Reason: add 'init 0'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.