Hi,
I am having this issue again, after updating the server PHP version to PHP 8.0.2
Any version of PHP 8+ is causing Apache not to start up, so websites are unreachable.
Tried switching back to 7.4.3 which all the sites usually work with, but not this time.
This has to be a bug, because I had the same issue when upgrading to php 7+
I forget how we resolved it last time.
The data-center also checked and couldn't resolve the issue,
They said the issue is in CWP
user@svr1.web.it ~$ systemctl status httpd -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2023-08-30 18:06:37 IST; 1min 53s ago
Docs: man:httpd(
man:apachectl(
Process: 18391 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 18391 (code=exited, status=1/FAILURE)
Aug 30 18:06:37 svr1.web.it systemd[1]: Starting The Apache HTTP Server...
Aug 30 18:06:37 svr1.web.it systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 30 18:06:37 svr1.web.it systemd[1]: Failed to start The Apache HTTP Server.
Aug 30 18:06:37 svr1.web.it systemd[1]: Unit httpd.service entered failed state.
Aug 30 18:06:37 svr1.web.it systemd[1]: httpd.service failed.
user@svr1.web.it ~$ service httpd restart
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
I ran these commands in the SSH terminal
systemctl status httpd.service
journalctl -xe
--
user@svr1.web.it ~$ systemctl status httpd.service
● httpd.service - Web server Apache
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor
preset: disabled)
Active: failed (Result: exit-code) since Tue 2023-08-29 22:50:58 IST; 7min
ago
Process: 23749 ExecStart=/usr/local/apache/bin/apachectl start (code=exited,
status=139)
Main PID: 7129 (code=killed, signal=SEGV)
Aug 29 22:50:58 svr1.web.it systemd[1]: Starting Web server Apache...
Aug 29 22:50:58 svr1.web.it apachectl[23749]:
/usr/local/apache/bin/apachectl: line 79: 23751 Segmentation fault $HTTPD
-k $ARGV
Aug 29 22:50:58 svr1.web.it systemd[1]: httpd.service: control process
exited, code=exited status=139
Aug 29 22:50:58 svr1.web.it systemd[1]: Failed to start Web server
Apache.
Aug 29 22:50:58 svr1.web.it systemd[1]: Unit httpd.service entered
failed state.
Aug 29 22:50:58 svr1.web.it systemd[1]: httpd.service failed.
The info from journalctl -xe is a bit long to post here.
I'm also unable to update CWP again, it gives Ajax Error
Apaprently, some applications are working fine without Apache,
But all the websites are down.
I also tried switching from Apache Only to Nginx and some of the sites worked, not all.
I can't use any of the other servers in WebServers_manage, because the sites won't work.
I'd like to get everything working again with Nginx & Varnish & Apache, which offers the best performance.
Any advice appreciated.