Computing.Net > Forums > Linux > Apache sever startup at boot

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Apache sever startup at boot

Reply to Message Icon

Name: Manish
Date: October 23, 2002 at 17:56:14 Pacific
OS: redhat 7.3
CPU/Ram: P1 266 MHz/64Mb
Comment:

Hi,
I have installed apache 2.0.40 on redhat 7.3. I plan to host my own site for research purposes and I need to know how I can configure redhat 7.3 to automatically start up the apache 2.0.40 server at boot up time(in case of power failure). I tried editing the inittab file with this line:
"chkconfig --level 345 httpd on" but it won't work. a simple chkconfig --list does not even list httpd as running when I know for sure it is. I also tried editing the init.d file.



Sponsored Link
Ads by Google

Response Number 1
Name: forrest
Date: October 23, 2002 at 18:16:50 Pacific
Reply:

i may be wrong if o srry in adv but in gnome for like rh8 u can goto services box and scroll down and check httpd now itll run since the service is enabled. i had this trouble 2 but found it in services menu goodluck


0

Response Number 2
Name: dt
Date: October 24, 2002 at 06:56:21 Pacific
Reply:

1. COPY your apachectl file to /etc
2. edit the /etc/apachectl file to include:
'#chkconfig 2345 x y' where x and y are the startup and shutdown priorities.
3. now add apache to chkconfig:
chkconfig --add apachectl

or something like that. Once you get the script edited, thats the hardest part.

have fun!


0

Response Number 3
Name: Kenhorse
Date: October 24, 2002 at 09:08:22 Pacific
Reply:

There's an easier way to do this.

At the command prompt, simple type (without the quotes) "ntsysv" and check the httpd box. That will configure everything for you to start Apache at boot....


0

Response Number 4
Name: Steve
Date: October 28, 2002 at 16:56:49 Pacific
Reply:

If you prefer a nicer GUI, "serviceconf"
should provide the same utility as "ntsysv"
without the ASCII menus.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Apache sever startup at boot

Lin and Win fight at boot time www.computing.net/answers/linux/lin-and-win-fight-at-boot-time/293.html

Problem at booting www.computing.net/answers/linux/problem-at-booting/27579.html

select runlevel at boot time www.computing.net/answers/linux/select-runlevel-at-boot-time/22110.html