Amit Bhargava wrote:
>
> hi,
>
> on my recently installed Linux Server, I am unable to shutdown. Whatever
> command like
>
> init 0
> init 6
> shutdown
> shutdown -h now
> shutdown -t3 -r now
>
> but all result in stopping all processes, and display a message in the end
> that
>
> INIT : no more processes left in this run level
>
> after this the machine becomes inoperable but when I hardboot, then it
> forces check on all the file system saying that not properly unmounted last
> time.
>
> Now, any suggestions.
>
I am also a new user like you. I do'nt think , I
can be much of help to you !
But try this :
"shutdown" signals the "init" process. "init"
in-turn change the run-level. run-level 6 is the
acutal reboot signal.
If you want to see the actual actions assigned to
reboot, check the concerned runlevel in
/etc/inittab file.
If every-thing is OK, shutdown try to execute the
/etc/rc.d/rc.halt script.
If this script is not present, shutdown dis-able
quota/accounting.
You can also use Cntrl + Alt + Del key-combo, if
your /etc/inittab has proper binding for these
keys.
shutdown also check the file /etc/shutdown.allow
file.
/var/run/utemp is then checked for logged users.
Please also check the files:
/etc/rc.d/rc.reboot
/etc/shutdown.allow
/etc/rc.d/rc/halt
Also , see if any user on any console has used
"su" command.
If so, first "exit" from "su"ed environment from
all virtual consoles.
And then , use "shutdown -r now" or simply "init
6"
>From X/KDE , use can force a shut-down and come
back to shell, by pressing Cntr + Alt + Backspace
key combo.
And finally, try "fsck" etc to check if your
file-system is corrupt !
Hope , this helps !
Regards !
~ newlxuser
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help