LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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
  Search this Thread
Old 03-12-2004, 11:09 AM   #1
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110

Rep: Reputation: 15
Question 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?
 
Old 03-12-2004, 03:53 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
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
 
Old 03-13-2004, 03: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

Original Poster
Rep: Reputation: 15
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 03:46 AM.
 
Old 03-13-2004, 05:10 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

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


Reply



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 On
HTML code is Off



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration