Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 01-23-2013
Yoda's Unix or Linux Image
Yoda Yoda is offline Forum Advisor  
Jedi Master
 
Join Date: Jan 2012
Last Activity: 27 August 2015, 4:40 PM EDT
Location: Galactic Empire
Posts: 3,422
Thanks: 240
Thanked 1,223 Times in 1,149 Posts
How about?

Code:
sudo shutdown -h now

Sponsored Links
    #3  
Old Unix and Linux 01-23-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 28 August 2015, 6:26 AM EDT
Location: Devon, UK
Posts: 1,017
Thanks: 65
Thanked 207 Times in 184 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 Unix and Linux 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 Unix and Linux 01-23-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 27 August 2015, 3:37 PM EDT
Location: Saskatchewan
Posts: 20,901
Thanks: 916
Thanked 3,733 Times in 3,486 Posts
/sbin/poweroff ?
Sponsored Links
    #6  
Old Unix and Linux 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 Unix and Linux 01-23-2013
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 28 August 2015, 8:24 AM EDT
Location: Berlin, Germany
Posts: 5,509
Thanks: 61
Thanked 251 Times in 244 Posts
maybe strace can help?

Truss like command under Linux to monitor and diagnostic the system calls
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 08:44 AM.