Author Topic: All domains suddenly bring up landing page or 500 error  (Read 71926 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
All domains suddenly bring up landing page or 500 error
« on: November 22, 2019, 03:12:14 PM »
I haven't done a thing to my server. All the sudden, all of my websites bring up the "default" page in CentOS, or an internal server error (500)
Why?
Did some update to Apache or CWP break my system?
What should I look at to fix this? This is urgent, all my websites are down!

Here is from the error logs on one of my sites:

[Fri Nov 22 09:12:57.242187 2019] [:error] [pid 19584:tid 140130245388032] [client 65.19.138.33:65124] SoftException in Application.cpp:542: Could not execute script "/home/cathinfo/public_html/404.html"
[Fri Nov 22 09:12:57.242268 2019] [:error] [pid 19584:tid 140130245388032] [client 65.19.138.33:65124] Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php56/usr/bin/php-cgi" failed: Permission denied

Matthew
« Last Edit: November 22, 2019, 03:13:48 PM by DeveloperMcD »

Offline
*
Re: All domains suddenly bring up landing page or 500 error
« Reply #1 on: November 22, 2019, 03:28:07 PM »
This is the SECOND TIME this has happened.

All my "php" and "php-cgi" (for all versions) suddenly went NON-EXECUTABLE for all users, including root!

What would cause this?

I had to manually go and chmod +x each of them.

ALSO, at the same time, some kind of Apache config was clobbered -- I had to add a new line to .htaccess for EACH of my websites:
DirectoryIndex index.php

This was set by default in apache before.

Again, why did my existing CFG get clobbered?

Offline
*
Re: All domains suddenly bring up landing page or 500 error
« Reply #2 on: November 23, 2019, 12:24:57 AM »
Hello I have the same probleme.  Can't see the domain.  i see the default centos page.

Offline
*
Re: All domains suddenly bring up landing page or 500 error
« Reply #3 on: November 23, 2019, 11:54:12 AM »
Also a huge problem for me:

I am changing this file entry in /usr/local/apache/conf/httpd.conf

 DirectoryIndex index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html

to:

DirectoryIndex index.php index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.htm

(changed the placement of index.php)

and then a systemctl restart httpd.service

However each time cwp pushes the httpd.conf version out this reverts and causes breakage again.

geez

Offline
*
Re: All domains suddenly bring up landing page or 500 error
« Reply #4 on: November 24, 2019, 03:20:48 PM »
Hi, This is all happen when you update the CWP as I also faced the same issue in the midnight

and one of my customer shouted to me as his website was showing default page. It was an wordpress website

and after digging every where I found an resolution to the issue. Restarted the DNS nothing happen but after restarting

the Apache web server from the CPWP control panel the website came back to live. Why i have restarted the apache is

because I have tried to acces that wordress website backend it was working fine but the main page is showing the issue

so it will because of the web server. I also tried to fix the account permission it won't be work after restart the apache everyhting worked.

Offline
*
Re: All domains suddenly bring up landing page or 500 error
« Reply #5 on: November 26, 2019, 03:39:15 AM »
With me , I just delete original file index.html , all  access will be directly to script you install . Maybe this is not useful step.

Offline
*
Re: All domains suddenly bring up landing page or 500 error
« Reply #6 on: November 26, 2019, 05:55:51 PM »
With me , I just delete original file index.html , all  access will be directly to script you install . Maybe this is not useful step.

you can do it for issue will be resolved only for time being, this index.html is re-spwan again and again after few days automatically. it is a bug in CWP updates, and this should be addresses or should be provided solution for it.