Essentially I am installing apache2.4 onto centOs6.6 using the Apache2 CHEF cookbook. I have it working to the point where all the service commands work minus the
sudo service httpd24-httpd graceful
command, unfortunately the chef script will not complete without that service. It provides me with the following error:
/opt/rh/httpd24/root/usr/sbin/apachectl: line 112: /usr/bin/systemctl: No such file or directory
sure enough that file (systemctl) isn't there. The cookbook is just deferring to yum to install apache - so I am a bit confused as to why it isn't installed, IF it is needed. How is systemctl installed on centos?
Folow up question: Isn't systemctl an ubuntu app? If is my apache24 install messed up OR does apache24 have a reliance on this?
So I retried on a fresh VM
cd /yum/repos.d
wget http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo
sudo yum install httpd24
sudo service httpd24-httpd graceful
Then a
/opt/rh/httpd24/root/usr/sbin/apachectl: line 116: /usr/bin/systemctl: No such file or directory
It doesn't look to be associated with the cookbook at all. It looks tobe completely associated with the httpd24 install