-   Linux - Newbie (
-   -   Services not starting in runlevel 3 (

JesusAddict3791 04-25-2005 08:31 PM

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?

michaelk 04-25-2005 08:45 PM

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.

JesusAddict3791 04-25-2005 08:58 PM

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?

michaelk 04-25-2005 10:20 PM

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.

JesusAddict3791 04-26-2005 01:49 AM

That was it exactly. Thank you for your help. :)

All times are GMT -5. The time now is 06:33 AM.