Can't shutdown the computer | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Can't shutdown the computer

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-23-2013
mi117 mi117 is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 15 February 2013, 4:17 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Can't shutdown the computer

i cannot shutdown my computer through GUI or CLI when i put the command

Code:
shutdown -P/-r  now

or press the shutdown button it goes to the login prompt and stays like that afterwards, so i press CTRL+ALT+delete (which works) but that only restarts it and closes processes like winbind and apache

---------- Post updated at 01:30 AM ---------- Previous update was at 01:22 AM ----------

i m using mint 13 OS
kernal 3.2.0
Sponsored Links
    #2  
Old 01-23-2013
Yoda's Avatar
Yoda Yoda is offline Forum Advisor  
Jedi Master
 
Join Date: Jan 2012
Last Activity: 26 November 2014, 4:40 PM EST
Location: Galactic Empire
Posts: 3,389
Thanks: 236
Thanked 1,210 Times in 1,136 Posts
How about?

Code:
sudo shutdown -h now

Sponsored Links
    #3  
Old 01-23-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 28 November 2014, 5:45 AM EST
Location: Cornwall, UK
Posts: 855
Thanks: 46
Thanked 159 Times in 144 Posts
I'm not familiar with your specifc distribution but talking in generic Unix terms.......

Try giving the kernel a direct command instead of via a script of any kind, login as root and then:


Code:
init 0

or, if your hardware supports the power-off function:


Code:
init 5

to shutdown the kernel and power off the hardware.
    #4  
Old 01-23-2013
mi117 mi117 is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 15 February 2013, 4:17 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
i try it as super user, but doesn't work and init also ends up on the login prompt , i m using mint 13 , kernal 3.2.0
Sponsored Links
    #5  
Old 01-23-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 28 November 2014, 4:08 PM EST
Location: Saskatchewan
Posts: 19,944
Thanks: 848
Thanked 3,422 Times in 3,207 Posts
/sbin/poweroff ?
Sponsored Links
    #6  
Old 01-23-2013
mi117 mi117 is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 15 February 2013, 4:17 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
corona, what about it, i'm a newbie

Moderator's Comments:
Please watch your spelling. It is our rule to use formal english while writing in the forums! Thank you.


---------- Post updated at 03:10 AM ---------- Previous update was at 02:51 AM ----------

@duke : my apologies
@corona : i tried running
Code:
/sbin/poweroff

in CLI but again it stops at login prompt

Last edited by DukeNuke2; 01-23-2013 at 05:27 PM..
Sponsored Links
    #7  
Old 01-23-2013
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 28 November 2014, 11:34 AM EST
Location: Berlin, Germany
Posts: 5,427
Thanks: 55
Thanked 231 Times in 224 Posts
maybe strace can help?

Truss like command under Linux to monitor and diagnostic the system calls
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script to force Oracle database shutdown when shutdown immediate does not work aixhp UNIX for Dummies Questions & Answers 7 03-11-2010 02:04 PM
shutdown question mokkan Solaris 2 07-17-2008 12:43 AM
Shutdown aewpcoles UNIX for Advanced & Expert Users 6 08-03-2006 10:46 AM
Not properly shutdown DISTURBED Filesystems, Disks and Memory 5 05-06-2005 10:39 PM
to shutdown rajashekaran UNIX for Advanced & Expert Users 2 02-18-2002 01:42 PM



All times are GMT -4. The time now is 06:46 PM.