Failed to find apachectl in expanded PATH

Hello,

First of all, thanks to Let’s Encrypt, i love this service.

I am running CentOS7, and i’m trying to make get certbot working.

I have installed all Server Dependencies:
sudo yum install epel-release mod_ssl sudo yum install python-certbot-apache

After that, i tried to install the Certificate
: $ sudo certbot --apache -d domainx.com

But i’m getting this screen error:
Failed to find apachectl in expanded PATH

What did i forget to do?

Hey. Mine got resolved with this command.
sudo yum install httpd mod_ssl

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.