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: 22 July 2014, 1:20 PM EDT
Location: Galactic Empire
Posts: 3,354
Thanks: 230
Thanked 1,190 Times in 1,123 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: 21 July 2014, 12:57 PM EDT
Location: Cornwall, UK
Posts: 751
Thanks: 35
Thanked 135 Times in 122 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 online now Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 22 July 2014, 3:12 PM EDT
Location: Saskatchewan
Posts: 18,950
Thanks: 745
Thanked 3,128 Times in 2,941 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 04: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: 22 July 2014, 2:18 PM EDT
Location: Berlin, Germany
Posts: 5,370
Thanks: 54
Thanked 228 Times in 221 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 01:04 PM
shutdown question mokkan Solaris 2 07-16-2008 11:43 PM
Shutdown aewpcoles UNIX for Advanced & Expert Users 6 08-03-2006 09:46 AM
Not properly shutdown DISTURBED Filesystems, Disks and Memory 5 05-06-2005 09:39 PM
to shutdown rajashekaran UNIX for Advanced & Expert Users 2 02-18-2002 12:42 PM



All times are GMT -4. The time now is 03:34 PM.