LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   redhat 7.3 and apache (https://www.linuxquestions.org/questions/linux-general-1/redhat-7-3-and-apache-21812/)

roadie 05-25-2002 05:56 PM

redhat 7.3 and apache
 
I just did a fresh install of redhat 7.3 and for some reason my httpd is not starting up at bootup. I installed absolutely everything possible, aside from all the foreign languages available. When it runs through the checklist of starting up services at bootup, it claims that httpd was started up with no errors, but for some reason it doesn't actually start up. Does anyone have any clue why? I can manually start it up after bootup, but it seems peculiar to me that it wouldn't start up automatically. I also checkmarked it to be started up under services in the "setup" program. Anyway, any suggestions would be great. Thanks.
-Eliot :)

pbharris 05-25-2002 07:15 PM

hello,
what runlevel are you using? is there a file in /etc/rc3.d and /etc/rc5.d the says S##httpd - where ## is some number?

roadie 05-25-2002 07:54 PM

There's S85httpd in rc3.d but nothing in rc5.d except for K15httpd...
How would one get the necessary file in rc5.d? I guess I don't quite understand the whole idea of runlevels... I suppose whatever is standard with redhat 7.3 is what I have. I installed xinetd.d, if that helps you solve the problem at all...
Thanks.
-Eliot

Noerr 05-26-2002 06:00 AM

try to manually restart httpd ( /etc/init.d/httpd restart) + check log files + check your config
regards

roadie 05-31-2002 12:33 AM

I had "Listen 80" unhashed in httpd.conf, and then "Port 80" lower down, and then some crap with ssl and port 80 as well, so I hashed out the "Listen 80" and now it seems to restart well automatically. Thanks for the suggestions Noerr. Sometimes it helps a great deal when someone reminds you that you may have screwed something up in the configs :p.

dugm 05-31-2002 01:27 AM

add http:23456:boot:/usr/local/apache/bin/httpd -DSSL to the end of your initttab file should allow apache to start on boot

Noerr 05-31-2002 03:17 AM

I don't think this is too smart to put it to /etc/inittab
why is it so hard to do
cd /etc/rc3.d/ && ln -s ../init.d/httpd S80httpd
cd /etc/rc5.d/ && ln -s ../init.d/httpd S80httpd
btw you don't need apache in runlevel 2 4 5

dugm 05-31-2002 03:30 AM

very true thanks for the correction


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