SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,366
    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?
    Paul C.
    ClickBasics
    http://www.clickbasics.com

  2. #2
    SitePoint Member
    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.

  3. #3
    SitePoint Zealot
    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
    Maybe you have to remove old S*httpd and K*httpd symlinks.
    include_once('./sig.inc.php');


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •