SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Sep 13, 2002, 08:02 #1
- Join Date
- Jul 2000
- Location
- Western Massachusetts, USA
- Posts
- 1,389
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
need shell script "httpd" for /etc/rc.d/init.d
I installed Apache HTTP Server Version 1.3 over Linux RedHat 7.1 and am now trying to get it to start on boot-up. I understand I need a shell script named httpd in /etc/rc.d/init.d, but have none there. Can anyone give it to me?
-
Sep 26, 2002, 16:14 #2
- Join Date
- Sep 2002
- Posts
- 6
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do something like
Bash#: pico /etc/rc.d/init.d
You will see the entries there .. Is httpd in there? If not add it:
httpd
See if that helps.Web Hosting - Thats what we do.
-
Nov 11, 2002, 08:44 #3
- Join Date
- Oct 2002
- Posts
- 131
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Test something like this:
Code:ln -s /your/path/to/apache/bin/apachectl /etc/rc.d/init.d/apachectl cd /etc/rc.d/rc2.d ln -s ../init.d/apachectl S20apachectl ln -s ../init.d/apachectl K20apachectl
include_once('./sig.inc.php');
Bookmarks