LinuxQuestions.org
Help answer threads with 0 replies.
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 05-25-2002, 05:56 PM   #1
roadie
LQ Newbie
 
Registered: Jun 2001
Location: Colorado
Distribution: Redhat
Posts: 15

Rep: Reputation: 0
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
 
Old 05-25-2002, 07:15 PM   #2
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
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?
 
Old 05-25-2002, 07:54 PM   #3
roadie
LQ Newbie
 
Registered: Jun 2001
Location: Colorado
Distribution: Redhat
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 05-26-2002, 06:00 AM   #4
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
try to manually restart httpd ( /etc/init.d/httpd restart) + check log files + check your config
regards
 
Old 05-31-2002, 12:33 AM   #5
roadie
LQ Newbie
 
Registered: Jun 2001
Location: Colorado
Distribution: Redhat
Posts: 15

Original Poster
Rep: Reputation: 0
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 .
 
Old 05-31-2002, 01:27 AM   #6
dugm
LQ Newbie
 
Registered: May 2002
Posts: 2

Rep: Reputation: 0
add http:23456:boot:/usr/local/apache/bin/httpd -DSSL to the end of your initttab file should allow apache to start on boot
 
Old 05-31-2002, 03:17 AM   #7
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
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
 
Old 05-31-2002, 03:30 AM   #8
dugm
LQ Newbie
 
Registered: May 2002
Posts: 2

Rep: Reputation: 0
Thumbs up

very true thanks for the correction
 
  


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
Redhat 9 - How do I uninstall apache + how do I add apache to autostart? praefex Linux - Software 2 07-29-2003 12:21 PM
Apache v2 help on Redhat 8 mlstrnwbie Linux - Newbie 9 05-04-2003 12:56 PM
Apache and RedHat g_goblin Linux - Distributions 1 12-12-2002 10:54 AM
Apache on RedHat 8.0 margarita81184 Linux - Software 11 11-07-2002 01:45 PM
Help with Apache 2 and Redhat 7.3 spongebob Linux - Newbie 2 09-01-2002 09:48 AM

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

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