• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved All sites hosted within Plesk stop working - This site can’t be reached

avlza

New Pleskian
I am getting random issues where all the sites hosted within Plesk stop working and it says :

This site can’t be reached​

mydomain.com refused to connect.
Try:
ERR_CONNECTION_REFUSED

It can last from 10-15 min at a time and I have no idea why it is happening. They seem to always come back up eventually and they are going down when changes are being made with my WordPress. I have WordPress-hosted websites All of them go down. The Plesk control panel loads just fine. I have tried viewing the "preview" sites so the domain name is not being used and they do not work either.

Links I tried to follow, but no good :
Checked the server resources and Disk and CPU usage are all low. I am not sure where to begin looking! ANY help would be great!!
 
UPDATE :

Run the following web services :
#service httpd status
#service nginx status

Results :

#service httpd status

Unit httpd.service could not be found.


#service httpd status

nginx.service - Startup script for nginx service
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/nginx.service.d
└─respawn.conf
Active: active (running) since Wed 2021-07-07 21:27:51 UTC; 7min ago

Main PID: 1051 (nginx)
Tasks: 2 (limit: 1105)
CGroup: /system.slice/nginx.service
├─1051 nginx: master process /usr/sbin/nginx
└─1058 nginx: worker process

Jul 07 21:27:51 server.arnievlz.com systemd[1]: Starting Startup script for nginx service...
Jul 07 21:27:51 server.arnievlz.com nginx[956]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Jul 07 21:27:51 server.arnievlz.com nginx[956]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Jul 07 21:27:51 server.arnievlz.com systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument
Jul 07 21:27:51 server.arnievlz.com systemd[1]: Started Startup script for nginx service.


 
Jul 07 21:27:51 server.arnievlz.com systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument
To correct this try to disable nginx and reenable by using the following commands:

# plesk sbin nginxmng -d
# plesk sbin nginxmng -e
 
Back
Top