Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Can't shutdown the computer

UNIX for Dummies Questions & Answers


 
 
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: 24 September 2016, 11:05 AM EDT
Location: Galactic Empire
Posts: 3,526
Thanks: 248
Thanked 1,280 Times in 1,202 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: 25 September 2016, 5:37 AM EDT
Location: Devon, UK
Posts: 1,255
Thanks: 137
Thanked 285 Times in 248 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: 23 September 2016, 3:51 PM EDT
Location: Saskatchewan
Posts: 21,497
Thanks: 989
Thanked 3,925 Times in 3,648 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:
Can't shutdown the computer 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 offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 24 September 2016, 6:49 AM EDT
Location: Berlin, Germany
Posts: 5,622
Thanks: 66
Thanked 277 Times in 267 Posts
maybe strace can help?

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

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 06:35 AM.