LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2005, 07:31 PM   #1
JesusAddict3791
LQ Newbie
 
Registered: Jul 2003
Location: Laurel, MD
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
Services not starting in runlevel 3


I wanted to disable the graphical login on my Redhat 9 server, so I edited /etc/inittab so that it boots into runlevel 3. However, when I boot into level 3, neither httpd nor vsftpd load at boot, as they do when I boot into level 5. From what I've read, level 3 is supposed to be everything but the graphical login, so I'm guessing something's wrong. Is there something I have to do before they'll load automatically?
 
Old 04-25-2005, 07:45 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,730

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
Actually, you can configure the services to start in any run level. To see how the services are configured type in the command:
chkconfig --list

To configure a service to start in run level 3 for example apache:
chkconfig --level 3 httpd on

See man pages for chkconfig for futher details.
 
Old 04-25-2005, 07:58 PM   #3
JesusAddict3791
LQ Newbie
 
Registered: Jul 2003
Location: Laurel, MD
Distribution: Red Hat 9
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you. I was hoping it would be something so easy.

One other thing, though...
Now when I boot and it gets to httpd it gives me a message saying "[warn] module php4_module is already loaded, skipping". It doesn't seem to affect anything, but it's probably not supposed to show up. How might I get it to stop that, or should I even bother?
 
Old 04-25-2005, 09:20 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,730

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
My first guess is that you have two conf files loading the php module. Check to see if you have a /etc/httpd/conf.d/httpd-modphp4.conf file. If you do then check to see if your /etc/httpd/conf/httpd.conf is also loading the php4_module. Comment out the one in httpd.conf.

Last edited by michaelk; 04-26-2005 at 06:07 AM.
 
Old 04-26-2005, 12:49 AM   #5
JesusAddict3791
LQ Newbie
 
Registered: Jul 2003
Location: Laurel, MD
Distribution: Red Hat 9
Posts: 13

Original Poster
Rep: Reputation: 0
That was it exactly. Thank you for your help.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Default status(and runlevel) of services chessonly Ubuntu 0 11-18-2005 06:15 PM
solution help 'Skipped services in runlevel 5: nfs splash smbfs ' nickaelwen Linux - Newbie 1 11-01-2005 09:54 AM
Runlevel 5 default services pete_bogg Red Hat 7 10-31-2003 06:55 PM
some services down after a change of runlevel zovres Linux - Newbie 5 10-15-2003 07:48 PM
Services skipped at runlevel 0: smbfs rberry88 Linux - Newbie 4 09-02-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 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