Stopping Apache
I am running a Suse Linux 6.2 server. The default installation runs aparche automatically.
How can I stop the apache service?
Thanks in advance.
Linux
I am running a Suse Linux 6.2 server. The default installation runs aparche automatically.
How can I stop the apache service?
Thanks in advance.
by mike o
To just stop Apache for the current boot:
/(your Apache directory)/bin/apachectl stop
If you want to stop Apache loading at boot, you'll want to go through your startup scripts and disable it that way. I'm not sure offhand what SuSE 6.2 uses, sorry.
Good luck.
by stergios_nik
by n9oec
by stergios_nik
by noorazman
First find where is start file for http daemon.
Type
grep httpd /etc/rc.d/rc*.d/S*
press enter.
Now u can see where is the httpd start file located.
Let say it is located in /etc/rc.d/rc3.d/
Type
/etc/rc.d/rc3.d/S85httpd stop
press enter
by stergios_nik
Further to answer 3, change the name of the link (File) in the startup directory so that it starts with a lower case s. This will stop it being called as the machine comes up through its run levels. Then you won't have to stop it manually
Cheers
Peter
by stergios_nik
by r.rieth
Hi,
you can use yast or you can change the setting of
START_HTTPD to NO in the file /etc/rc.config.
if you prefer to use yast follow these steps:
start yast, go to system administration, than go to
change configuratin file and look for the variable
START_HTTPD, change from aes to no, that's it.
now you can boot your linux box without starting apache.
by the way, things have been changed in
suse 7.3/8.0.
good luck and have fun
by stergios_nik
by stergios_nik
This discussion is closed to new replies.
Sort by Trending