sytem hangs up after giving init0 command
Hi,
whenever i run shutdown -h now or init0 on my fedora core 2 system hangs at the following line INIT:no more processes left in the run level. and i have to manually shut it down Check if following lines can be a help /sbin/halt: line 1:lrwxrwxrwx:command not found /sbin/halt: line 1: halt: Read only file system |
Linux was made to run all the time. I think when you want to reboot or power down your computer you must actually push the button after all processes are stopped. My Suse install powers off completly when using the shutdown from KDE. The -h flag is giving the halt error I'm guessing.
|
Hi micxz,
Thanks for the help but I think u didn't get me. Even init 0 command doesn't work on my comp.I think its A LINK RELATED PROBLEM anyways that is just a wild guess I am sorry if it doesn't make any sense as i am a newbie and still learning |
Are you root?
|
yes i have logged in as root
|
help
:confused: this is the first time I have registered on a forum in order for a help .But it sems nobody has the answer
|
Hi Rhea,
I don't know how you managed to get that error: Code:
/sbin/halt: line 1:lrwxrwxrwx:command not found Code:
shutdown -h now have fun, cheers |
Goestin is right this error is very odd I wonder also what's on "line 1" in halt.
|
Ya if i open /sbin/halt file then the text which i get is as follows:
lrwxrwxrwx 1 root root 4 Nov 11 17:00 reboot -> halt If i open /sbin/reboot then the text which i get is as follows: lrwxrwxrwx 1 root root 4 Nov 11 17:00 reboot -> halt |
cat /sbin/halt | head -10
Should let you look at the first 10 lines -- Micxz |
I f i run cat /sbin/halt | head then the output is
lrwxrwxrwx 1 root root 4 Nov 11 17:00 reboot -> halt |
Just check this if this can be a help to anybody .I really don't know why is this happening?
[root@matrix rc6.d]#which halt /sbin/halt [root@matrix rc6.d]# which reboot /sbin/reboot [root@matrix rc6.d]# cd /sbin [root@matrix sbin]# cat halt lrwxrwxrwx 1 root root 4 Nov 11 17:00 reboot -> halt [root@matrix sbin]# cat reboot lrwxrwxrwx 1 root root 4 Nov 11 17:00 reboot -> halt [root@matrix sbin]# cd /etc/rc.d/rc0.d [root@matrix rc0.d]# ls -al | less lrwxrwxrwx 1 root root 17 Dec 12 05:15 S00killall -> ../init.d/killall lrwxrwxrwx 1 root root 14 Dec 12 05:15 S01halt -> ../init.d/halt [root@matrix rc0.d]# cd /etc/rc.d/rc6.d [root@matrix rc6.d]# ls -al | less lrwxrwxrwx 1 root root 17 Dec 12 05:15 S00killall -> ../init.d/killall lrwxrwxrwx 1 root root 19 Jan 25 00:54 S01reboot -> ../../init.d/reboot |
Following are the last few lines after giving init 0 or shutdown -h now command.System hangs up after the last line,So I have to manually shut it down.
Sending all processes the KILL signal /sbin/halt: line 1 : lrwxrwxrwx: command not found Syncing hardware clock to system time Turning off swap: Turning off quotas : Unmounting file systems: Halting system.... /sbin/halt: line 1 : halt: Read-only file system INIT: no more processes left in this runlevel |
Please help out nothng works for me
|
Something is way off !!!
Quote:
You machine might have a rootkit installed, check this site: http://www.rootkit.nl/ install, UPDATE the MD5 database, then run a scan. Post back your results. |
All times are GMT -5. The time now is 01:42 PM. |