Although the WDCP panel official has no longer upgraded the panel, but the domestic use of this panel is still relatively many users, the old left often encountered a need to solve the problem of users, such as see a user needs to upgrade PHP version, a variety of panels can not go. Just like this noon there is a netizen mentioned their own WDCP panel environment FTP, panels, and SSH can be logged in, but the site is not open.
Before old left also has encountered similar Netizen's question, restarts nginx or httpd can solve the problem. Before you solve the problem, ask the friend what steps have been made before, tell me because the disk is full, and then find a friend deleted some files, and then the panel can open, but the site is not open. The old left preliminary judgment is because the deletion of the file may also be caused by the deletion of the system files.
First, restart Nginx and httpd
The code is as follows |
Copy Code |
Service httpd Restart
Service Nginxd Restart
|
Here you can see the error when restarting the Nginx.
Here you can see the stopping Nginx:nginx: [alert] could not open error log file:open () "/www/wdlinux/nginx-1.2.9/logs/error.log" fail Ed (2:no such file or directory) "error message. The document was also deleted by the friend. So I went to check that the file was not there.
Create Logs/error.log folders and files directly by hand, it doesn't matter if it's empty.
Finally, restart Nginx and httpd, you can see that there is no error prompts, and the site open no problem, solve the problem