Record of methods to solve the problem that the WDCP panel environment can be opened but the website cannot be opened

888u

Last update at :2024-06-17,Edit by888u

Although the official WDCP panel no longer upgrades this panel, there are still many users using this panel in mainland China. Snail often encounters users who need to solve problems. For example, when seeing netizens who need to upgrade their PHP version, Various panels cannot be entered. Just like today at noon, a netizen mentioned that his WDCP panel environment FTP, panel, and SSH can be logged in, but the website cannot be opened.

Snail has encountered similar problems to netizens before. Restarting Nginx or httpd can solve the problem. Before solving the problem, I asked this friend if he had done any steps before. He told me that the disk was full, so he asked a friend to delete some files, and then the panel could be opened, but the website could not be opened. Snail's preliminary judgment is that when deleting files, the system files may also be deleted.

First, restart Nginx and Httpd

service httpd restartservice nginxd restart

Here you can see an error when restarting nginx.

Here you can see \\"Stopping nginx: nginx: [alert] could not open error log file: open() \\"/www/wdlinux/nginx-1.2.9/logs/error.log\\" failed (2: No such file or directory)\\" error message. I guess this file was also deleted by this friend. So I went to check and sure enough the file was not there.

Create the logs/error.log folder and file manually and throw them in. It doesn’t matter if they are empty.

Finally, restart NGINX and HTTPD. You can see that there are no error messages and the website opens without problems. The problem is solved.

Recommended site searches: video server configuration, domain name registration network, bbs registration, website registration information query, best US server, domain name registration company, php space recommendation, space registration, all-round virtual host, US vps host,

p>

Record of methods to solve the problem that the WDCP panel environment can be opened but the website cannot be opened

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码