"apache2ctl command not found" appears when invoking apache2ctl

Posted by OC2PS on Server Fault See other posts from Server Fault or by OC2PS
Published on 2013-11-07T03:27:23Z Indexed on 2013/11/07 3:58 UTC
Read the original article Hit count: 161

Filed under:

I am running Apache 2.4.6 on my CentOS 6.4 server.

Having some trouble with rewrite...so was trying to check loaded modules

apache2ctl -M

But that returns

apache2ctl command not found

So I tried

which apache2ctl

and I get

no apache2ctl in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

I am sure apache is installed and running.

How do I find apache2ctl/ check loaded modules now?

© Server Fault or respective owner

Related posts about apache2