LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-28-2004, 05:34 AM   #1
jrbiochem
Member
 
Registered: Apr 2004
Location: Dundee, Scotland
Distribution: Fedora Core 2
Posts: 57

Rep: Reputation: 15
Adding program to fedora startup: chkconfig and levels?


Hi to all,

I'd like to be able to add and remove programs from my startup process in Fedora. For my apache installation, this was done with:

chkconfig --level 35 httpd on

Is this safe to do with any program? What level should I put things in at; I'm assuming 35 is not right for everything?

Thanks

Jon
 
Old 06-28-2004, 03:22 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That is actually levels 3 and 5.
Code:
# These are the default runlevels in Slackware:
#   0 = halt
#   1 = single user mode
#   2 = unused (but configured the same as runlevel 3)
#   3 = multiuser mode (default Slackware runlevel)
#   4 = X11 with KDM/GDM/XDM (session managers)
#   5 = unused (but configured the same as runlevel 3)
#   6 = reboot
On distros like Redhat, Fedora and Mandrake levels 4 and 5 are reversed.
 
Old 07-09-2004, 01:20 PM   #3
Belkorin
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
I'm running fedora and I just used chkconfig --level 35 httpd on and now when I try to boot it gets to the point where it says "Welcome to Fedora Core Press 'I' for interactive startup" and just locks up there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Why do I get "bash: chkconfig: command not found" when I try to run chkconfig? non-thrash Fedora 10 05-20-2010 12:31 PM
Why won't my FC3 rc0 and rc6 levels not call kill script when entering those levels? dvkwiatk Linux - General 2 11-11-2006 08:09 AM
Fedora Core 3 - Slow Program Startup GAVollink Fedora 13 02-08-2005 05:44 PM
what are run levels in chkconfig tej Linux - Newbie 1 09-20-2004 01:15 AM
trying to create a startup disk for the linux fedora core program grid1214 Linux - Newbie 3 06-30-2004 11:04 AM

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

All times are GMT -5. The time now is 04:20 AM.

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