New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Apache2Buddy Cant Find Apachectl

Started by leandrorocha, April 30, 2021, 03:32:24 PM

Previous topic - Next topic

leandrorocha

Hello!

I recently created a server with CWP after some year managing a server with WHM, so it is my first time using using command lines and file edits extensively.

Today I tried to use Apache2Buddy and i received the followind message:


[ -- ] Unable to locate the apachectl utility. This script requires apachectl to analyze Apache's vhost configurations.
[ -- ] Not fatal yet, trying to locate the apache2ctl utility instead.
which: no apache2ctl in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
[ !! ] Unable to locate the apache2ctl utility. This script now requires apache2ctl to analyze Apache's vhost configurations.
[ -- ] It looks like you might be running something else, other than apache..


I thought that apachectl and apache2ctl are default from Apache and I am not sure why the server doesnt recognize the command. I checked and apache is running fine. Is there some particularity in the apache that the CWP uses?

Sandeep

where exactly apache2buddy looking for apache i meant the path ?