The UNIX and Linux Forums

The UNIX and Linux Forums (http://www.unix.com/index.php)
-   UNIX for Dummies Questions & Answers (http://www.unix.com/unix-for-dummies-questions-and-answers/)
-   -   Can't shutdown the computer (http://www.unix.com/unix-for-dummies-questions-and-answers/213883-cant-shutdown-computer.html)

mi117 01-23-2013 03:00 PM

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

Yoda 01-23-2013 03:16 PM

How about?
Code:

sudo shutdown -h now

hicksd8 01-23-2013 03:25 PM

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.

mi117 01-23-2013 04:11 PM

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

Corona688 01-23-2013 04:13 PM

/sbin/poweroff ?

mi117 01-23-2013 04:40 PM

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

DukeNuke2 01-23-2013 04:47 PM

maybe strace can help?

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


All times are GMT -4. The time now is 02:17 AM.

Linux and Unix Supported by: vBulletin
Search Engine Optimisation provided by DragonByte SEO v1.1.4 (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
The UNIX and Linux Forums Content Copyright ©1993-2013. All Rights Reserved.
Forum Operations by The UNIX and Linux Forums