Websites on my CentOS7 VPS suddenly all down

Oldnake

New member
Joined
Jun 23, 2023
Messages
1
Been struggling with this issue for more than a few hours. 4/5 of my websites suddenly went down today. Been trying to get them back up but I'm unfamiliar with how to deal with this problem. I'm very new to Linux server administration in general. I'm a programmer.

1687559281540.png

Web Server Error Log points to this error:
[Thu Jun 22 18:25:05 2023] [proxy_fcgi:error] [pid 10524:tid 140706156807936] [client 66.249.93.169:47133] AH01079: failed to make connection to backend: httpd-UDS
[Thu Jun 22 18:25:26 2023] [proxy:error] [pid 10523:tid 140706282698496] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/run/xxxxx-remi-php80-php.sock (xxxxx-remi-php80-php-proxy:8000) failed

After doing some digging I found out that the php.sock file that lives on the sever is referencing php8.1 and not 8.0. This is an assumption because the name of the file that lives on the server is called xxxxx-remi-php81-php.sock and not xxxxx-remi-php80-php.sock. The file cannot be found because it doesn't exist. However, all the Vhost file configurations are pointing to the correct xxxxx-remi-php81-php.sock file. See screenshot:
1687559819149.png

I am aware that the file gets created automatically by the FastCGI server when it starts up and listens on a specific Unix domain socket.
If the file is missing or not created properly, how can I point the FastCGI server or whichever service to the correct file?
If not, then how can I create or generate the xxxxx-remi-php80-php.sock file?
Is it possible to solve this issue by upgrading the domains to php8.1 since there might be a disconnect between the server php version and the php version of the websites?
What would be the best course of action? Any help would be greatly appreciated. Thanks.
 
Hello.

Sorry, you are on the wrong forums here.
This is only a support forum for Directadmin panel customers, not for general Linux OS help.
We don't use remi-php versions either.

You might better ask over at stackoverflow.com of linuxquestions.org for a solution.
 
Back
Top