WDCP panel environment can be opened but the Web site does not open method records

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.