LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 07-25-2009, 10:58 PM   #1
>SOL
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Question 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?
 
Old 07-26-2009, 12:26 AM   #2
JD50
Member
 
Registered: Nov 2007
Location: Virginia
Distribution: Fedora, RHEL, CentOS
Posts: 67

Rep: Reputation: 17
Quote:
Originally Posted by >SOL View Post
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?
 
Old 07-26-2009, 12:57 AM   #3
sparc86
Member
 
Registered: Jul 2006
Location: Nuremberg, Germany
Distribution: Debian, Gentoo
Posts: 294
Blog Entries: 1

Rep: Reputation: 31
"sudo halt" should works too. Actually it does the same thing as "shutdown -h now"
 
Old 07-26-2009, 11:31 AM   #4
>SOL
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 07-26-2009, 11:38 AM   #5
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
Quote:
Originally Posted by >SOL View Post
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
 
Old 07-26-2009, 11:56 AM   #6
>SOL
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks You, but it still restarts by itself as soon as it shutsdown. How do I correct this?
 
Old 07-26-2009, 12:11 PM   #7
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,216

Rep: Reputation: 131Reputation: 131
shutdown command just enough to shutdown the machine, did you check the BIOS is there any configuration changes??
 
Old 07-26-2009, 12:17 PM   #8
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,216

Rep: Reputation: 131Reputation: 131
Refer the following link
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/234700
 
Old 07-27-2009, 04:42 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,642

Rep: Reputation: Disabled
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>

Last edited by JZL240I-U; 07-27-2009 at 08:25 AM.
 
Old 07-27-2009, 06:47 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Welcome to LQ

Quote:
Originally Posted by >SOL View Post
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.

Last edited by archtoad6; 07-27-2009 at 06:52 AM. Reason: add 'init 0'
 
Old 08-04-2009, 07:06 AM   #11
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restarting Windows machine stops Linux machine mounting/connecting jamespetts Linux - Networking 3 05-29-2008 03:12 AM
fetchmail working only after restarting machine sambyte Linux - General 1 01-03-2007 06:47 PM
Screen Blank While restarting/shutdown kushalkoolwal Debian 76 08-10-2006 08:50 PM
how to shutdown,restart and log off windows machine remotely through a linux machine deepak rawat Fedora 1 05-23-2006 01:25 AM
shutdown and restarting in terminal chrismiceli Linux - General 1 10-26-2002 08:15 PM


All times are GMT -5. The time now is 06:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration