Results 1 to 7 of 7

Thread: How to install or recover the apache script in /etc/init.d/

  1. #1

    Default How to install or recover the apache script in /etc/init.d/

    Hi all,

    I would like to know how to obtain the script for apache in the '/etc/init.d/' directory ?

    Does it come by default on SUSE 11.1? I just installed my web server and the script is missing.

    Thanks!


  2. #2

    Arrow Re: How to install or recover the apache script in /etc/init

    Also regarding the same topic ..

    Is it possible to install the version of apache that have these two directories in SUSE 11.1:

    /sites-available/
    /sites-enabled/

    somehow my apache installation in SUSE11.1 is missing these directories and also the apache script in /etc/init.d/

    Thanks for any help on this issue.

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,774

    Default Re: How to install or recover the apache script in /etc/init

    Quote Originally Posted by arturo_pegasus View Post
    Hi all,

    I would like to know how to obtain the script for apache in the '/etc/init.d/' directory ?

    Does it come by default on SUSE 11.1? I just installed my web server and the script is missing.

    Thanks!

    It should be there (and starting can be done with YaST > System > System Services (Runlevels)).

    How did you install?
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,774

    Default Re: How to install or recover the apache script in /etc/init

    Quote Originally Posted by arturo_pegasus View Post
    Also regarding the same topic ..

    Is it possible to install the version of apache that have these two directories in SUSE 11.1:

    /sites-available/
    /sites-enabled/

    somehow my apache installation in SUSE11.1 is missing these directories and also the apache script in /etc/init.d/

    Thanks for any help on this issue.
    I have Apache running. I have no /sites-available/ or /sites-enabled/ (nor have I directories/files named sites-available or sites-enabled anywhere on my system).
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: How to install or recover the apache script in /etc/init

    Quote Originally Posted by arturo_pegasus View Post
    Also regarding the same topic ..

    Is it possible to install the version of apache that have these two directories in SUSE 11.1:

    /sites-available/
    /sites-enabled/

    somehow my apache installation in SUSE11.1 is missing these directories and also the apache script in /etc/init.d/

    Thanks for any help on this issue.
    Those directories are a Debian/Ubuntu feature, not an Apache feature.

  6. #6

    Default Re: How to install or recover the apache script in /etc/init

    Thanks for the info!
    I was used to Ubuntu and Debian.

    Actually the script was there and I executed the following command to make the apache script executable.

    # sudo chmod 755 /etc/init.d/apache2


    Thank you all

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: How to install or recover the apache script in /etc/init

    The original state of the file /etc/init.d/apache2 was already executable. Perhaps you changed it by accident?

Tags for this Thread

Posting Permissions

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