LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problem with init scripts when shutting down (https://www.linuxquestions.org/questions/linux-general-1/problem-with-init-scripts-when-shutting-down-156753/)

atlesn 03-12-2004 11:09 AM

Problem with init scripts when shutting down
 
Hello!

When I'm shutting down/rebooting my Fedore Core 1 box, it halts saying
"INIT: No more processes left in this runlevel".
I checked the /etc/rc6.d and /etc/rc0.d dirs, and everything inside was
disabled (began with "K", not "S").

The question is: Which services must i enable to get a clean shutdown?

/bin/bash 03-12-2004 03:53 PM

Which of these methods are you using to shutdown:
<Ctrl><Alt><Del>
halt
init 0
shutdown -h now

You should have two files that start with S in /etc/rc.d/rc0.d
S00killall S01halt
And you should have these in /etc/rc.d/rc6.d
S00killall S01reboot

atlesn 03-13-2004 03:45 AM

It came no matter which method I used.

But I linked them to /etc/init.d/halt/reboot and /etc/init.d/killall, and it worked!
No more problems with this.. Thanks for help.

/bin/bash 03-13-2004 05:10 AM

You are welcome. Sorry I forgot to tell you which files they were symlinked to. But you figured it out, good job!


All times are GMT -5. The time now is 02:11 AM.