UNIX & Linux Forums

UNIX & Linux Forums (https://www.unix.com/index.php)
-   UNIX for Dummies Questions & Answers (https://www.unix.com/unix-for-dummies-questions-and-answers/)
-   -   Can't shutdown the computer (https://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

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?

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:


init 0
or, if your hardware supports the power-off function:


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

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

UNIX and Linux Forums
Search Engine Optimisation provided by DragonByte SEO v2.0.32 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Unix & Linux Forums Content Copyright©1993-2017. All Rights Reserved.
Forum Operations by The UNIX and Linux Forums