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: 16 January 2017, 1:28 PM EST
Location: Galactic Empire
Posts: 3,529
Thanks: 250
Thanked 1,281 Times in 1,203 Posts
How about?

Code:
sudo shutdown -h now

Sponsored Links
    #3  
Old Unix and Linux 01-23-2013
hicksd8 hicksd8 is online now Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 16 January 2017, 4:24 PM EST
Location: Devon, UK
Posts: 1,331
Thanks: 155
Thanked 326 Times in 275 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: 16 January 2017, 3:25 PM EST
Location: Saskatchewan
Posts: 21,727
Thanks: 1,024
Thanked 4,009 Times in 3,725 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 05: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: 16 January 2017, 3:12 PM EST
Location: Berlin, Germany
Posts: 5,671
Thanks: 70
Thanked 293 Times in 282 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 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 05:52 PM.