user4629

Active Member
May 25, 2015
26
1
53
Thessaloniki
cPanel Access Level
Root Administrator
seems like Apache is removed from the server and all accounts (websites) are showing a connection refused error.

[[email protected] ~]# /scripts/restartsrv httpd
warn [restartsrv_httpd] The system is unable to find systemd configuration for the 'httpd' service...
Cpanel::Exception::Service::BinaryNotFound
Service Status

undefined status from Cpanel::ServiceManager::Services::Httpd
Service Error

(XID vmtuwp) The system could not find the “/usr/local/apache/bin/apachectl” binary for the “httpd” service because of an error: No such file or directory
httpd has failed. Contact your system administrator if the service does not automagically recover.

cPanel Version 106.0.9
CentOS v7.9.2009 STANDARD kvm




what can I do?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
13,473
2,115
363
cPanel Access Level
Root Administrator
That's definitely odd and sounds like Apache was removed. Have there been any recent modifications to the machine?

You can run "yum install ea-apache24" to reinstall the software, and that will also grab any dependencies required.
 

user4629

Active Member
May 25, 2015
26
1
53
Thessaloniki
cPanel Access Level
Root Administrator
That's definitely odd and sounds like Apache was removed. Have there been any recent modifications to the machine?

You can run "yum install ea-apache24" to reinstall the software, and that will also grab any dependencies required.
we had prior to the problem cloudlinux
and the server people responded as:

The problem seems to be related to what is described in https://cloudlinux.statuspage.io/incidents/xfy6dfn7xrvg where the cPanel update removed packages that are critical to the operation of the server and this became apparent after the reboot. We then removed the CL in the hope that cPanel would rebuild the packages and restore functionality, which unfortunately did not happen as expected. At the moment the server does not even accept the manual installation of apache/php
 

user4629

Active Member
May 25, 2015
26
1
53
Thessaloniki
cPanel Access Level
Root Administrator
the "yum install ea-apache24" resulted to:

Error: Package: ea-apache24-2.4.54-2.3.2.cpanel.x86_64 (EA4)
Requires: ea-apache24-tools = 2.4.54-2.3.2.cpanel
Installed: 1:ea-apache24-tools-2.4.52-2.el7.cloudlinux.x86_64 (@cl-ea4)
ea-apache24-tools = 1:2.4.52-2.el7.cloudlinux
Available: ea-apache24-tools-2.4.52-3.3.3.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.52-3.3.3.cpanel
Available: ea-apache24-tools-2.4.52-3.3.4.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.52-3.3.4.cpanel
Available: ea-apache24-tools-2.4.53-1.1.1.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.53-1.1.1.cpanel
Available: ea-apache24-tools-2.4.53-1.1.2.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.53-1.1.2.cpanel
Available: ea-apache24-tools-2.4.53-2.2.3.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.53-2.2.3.cpanel
Available: ea-apache24-tools-2.4.53-2.3.1.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.53-2.3.1.cpanel
Available: ea-apache24-tools-2.4.54-1.1.1.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.54-1.1.1.cpanel
Available: ea-apache24-tools-2.4.54-1.1.2.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.54-1.1.2.cpanel
Available: ea-apache24-tools-2.4.54-1.1.3.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.54-1.1.3.cpanel
Available: ea-apache24-tools-2.4.54-1.1.4.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.54-1.1.4.cpanel
Available: ea-apache24-tools-2.4.54-2.2.1.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.54-2.2.1.cpanel
Available: ea-apache24-tools-2.4.54-2.3.1.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.54-2.3.1.cpanel
Available: ea-apache24-tools-2.4.54-2.3.2.cpanel.x86_64 (EA4)
ea-apache24-tools = 2.4.54-2.3.2.cpanel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

we had prior to the problem cloudlinux
and the server people responded as:

The problem seems to be related to what is described in https://cloudlinux.statuspage.io/incidents/xfy6dfn7xrvg where the cPanel update removed packages that are critical to the operation of the server and this became apparent after the reboot. We then removed the CL in the hope that cPanel would rebuild the packages and restore functionality, which unfortunately did not happen as expected. At the moment the server does not even accept the manual installation of apache/php