LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 03-12-2004, 12:09 PM   #1
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110
Thanked: 0
Question Problem with init scripts when shutting down


[Log in to get rid of this advertisement]
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?
atlesn is offline     Reply With Quote
Old 03-12-2004, 04:53 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,800
Thanked: 0
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
/bin/bash is offline     Reply With Quote
Old 03-13-2004, 04:45 AM   #3
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110
Thanked: 0

Original Poster
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.

Last edited by atlesn; 03-13-2004 at 04:46 AM..
atlesn is offline     Reply With Quote
Old 03-13-2004, 06:10 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,800
Thanked: 0
You are welcome. Sorry I forgot to tell you which files they were symlinked to. But you figured it out, good job!
/bin/bash is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
init scripts lvgandhi Debian 2 10-11-2005 03:44 AM
New init scripts? xconspirisist Fedora 9 12-09-2004 12:41 PM
startup scripts for init.d/ soredz Red Hat 2 10-16-2003 04:27 PM
Scripts in /etc/rc.d/init.d correro Linux - General 1 03-13-2003 10:47 PM
slack init scripts gui10 Slackware 11 05-15-2002 12:12 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration