Author Topic: Apache2Buddy Cant Find Apachectl  (Read 3524 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache2Buddy Cant Find Apachectl
« on: April 30, 2021, 03:32:24 PM »
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:

Code: [Select]
[ -- ] 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?

Offline
*****
Re: Apache2Buddy Cant Find Apachectl
« Reply #1 on: May 03, 2021, 07:11:57 AM »
where exactly apache2buddy looking for apache i meant the path ?