You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hemant Chaudhary <he...@gmail.com> on 2017/09/15 05:46:54 UTC

[users@httpd] How to stop apache from debugging

Hi,

I started debugging with "./httpd -X" command. It starts debugging. Now I
want to stop debugging and start the server normally.

Which command should I use to stop debugging ?

HC

Re: [users@httpd] How to stop apache from debugging

Posted by Felipe Pereira <fe...@gmail.com>.
Press CTRL+C to stop the program. Or type "killall httpd" on another console.

Then, depending on your Linux distribution (Red Hat, Debian, etc.),
you should start Apache with a specific command. Try googling "start
apache red hat" replacing for your distro. I guess "systemctl start
httpd.service" should do the trick nowadays on any distro. But this
will only start Apache until next reboot. You need to enable the
service - make it start on boot. For that, you could use the old
"chkconfig httpd on" or "systemctl enable httpd.service". Again that
depends on your distribution. Lots of stuff about services are
distro-dependent. I would search on the distribution documentation
about it.

Red Hat:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Web_Servers.html#s2-apache-running



2017-09-16 14:50 GMT-03:00 Yann Ylavic <yl...@gmail.com>:
> Hi,
>
> On Fri, Sep 15, 2017 at 7:46 AM, Hemant Chaudhary
> <he...@gmail.com> wrote:
>>
>> I started debugging with "./httpd -X" command. It starts debugging. Now I
>> want to stop debugging and start the server normally.
>>
>> Which command should I use to stop debugging ?
>
> Please define/be more explicit about debugging?
>
>
> Regards,
> Yann.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
Felipe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to stop apache from debugging

Posted by Yann Ylavic <yl...@gmail.com>.
Hi,

On Fri, Sep 15, 2017 at 7:46 AM, Hemant Chaudhary
<he...@gmail.com> wrote:
>
> I started debugging with "./httpd -X" command. It starts debugging. Now I
> want to stop debugging and start the server normally.
>
> Which command should I use to stop debugging ?

Please define/be more explicit about debugging?


Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org