How to Fix WDCP Control Panel Blank Screen or Login Failure

WDCP panel blank screenWDCP login failurefix WDCP access deniedWDCP permission errorWDCP service restart
Published·Modified·

After adding a new data disk to WDCP and remounting it to the www directory, the backend panel may become inaccessible. Below are the solutions:

  1. Incorrect WDCP System Settings: If IP login restrictions are enabled, the panel may not open. Check the file /www/wdlinux/wdcp/data/sys_conf.php for the $manager_ip="" setting. Press the 'a' key to enter edit mode and verify the configuration.

  2. Root Partition Full: Log in via SSH and run the df -lh command. If the root partition is full, delete unnecessary data, typically logs. The WDCP system website log path is /www/wdlinux/httpd-2.2.22/logs/. Navigate to this directory and remove excess data using the following commands:

    rm access_log
    rm error_log
    

    Confirm with 'yes' when prompted. Afterward, restart the server.

  3. Restart WDCP Services: If the website is accessible, connect via SSH and restart WDCP by running:

    service wdapache restart
    

    If the website is also inaccessible, simply reboot the server.

Important Note: If you reboot the server, WDCP-related services will not start automatically. You must manually start them using the following commands:

Related Startup Commands:

  • service wdapache start|stop|restart — WDCP Backend
  • service nginxd start|stop|restart — Nginx Service
  • service httpd start|stop|restart — HTTPD Service
  • service pureftpd start|stop|restart — FTP Service
  • service mysqld start|stop|restart — MySQL Service

In my case, the above methods did not resolve the issue. A community member suggested checking for permission problems. I set the permissions of relevant WDCP directories to 777, which allowed access. However, this poses significant security risks. After gaining access, I gradually reduced the permissions, but the WDCP directory permissions became disordered. Although the issue was resolved, users with high security requirements should consider backing up and reinstalling WDCP.