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!

:|:)


arturo_pegasus

arturo_pegasus’s Profile: http://forums.opensuse.org/member.php?userid=12798
View this thread: http://forums.opensuse.org/showthread.php?t=405163

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.


arturo_pegasus

arturo_pegasus’s Profile: http://forums.opensuse.org/member.php?userid=12798
View this thread: http://forums.opensuse.org/showthread.php?t=405163

arturo_pegasus;1928376 Wrote:
> 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

hcvv’s Profile: http://forums.opensuse.org/member.php?userid=180
View this thread: http://forums.opensuse.org/showthread.php?t=405163

arturo_pegasus;1928382 Wrote:
> 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

hcvv’s Profile: http://forums.opensuse.org/member.php?userid=180
View this thread: http://forums.opensuse.org/showthread.php?t=405163

arturo_pegasus;1928382 Wrote:
> 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.


ken_yap

ken_yap’s Profile: http://forums.opensuse.org/member.php?userid=221
View this thread: http://forums.opensuse.org/showthread.php?t=405163

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 rotfl!


arturo_pegasus

arturo_pegasus’s Profile: http://forums.opensuse.org/member.php?userid=12798
View this thread: http://forums.opensuse.org/showthread.php?t=405163

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


ken_yap

ken_yap’s Profile: http://forums.opensuse.org/member.php?userid=221
View this thread: http://forums.opensuse.org/showthread.php?t=405163