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
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.
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.
Summary: I have a windows 98 PC. Then I installed MandrakeLinux on the same PC. Now I have both. Lilo will let me choose one of them at boot time. So for so good. Then I upgrade the Windows 98 to Windows 98 SE...
Summary: Do a step by step boot and then you can see your problem, I forgot the key strokes at boot to do a step by step boot. , I think it's runlevel 1.. not sure. ...
Summary: i know there is a key you can hit at boot time to get only the console no x (temp change run level) does anyone remember it f2 i know is verbose but dont remember how to start x without changing run l...