Getting "Could not load configuration" or 500 error on login page

"Could not load configuration" or 500 error on login page error.

1. Make sure SELinux is disabled on the server.

-bash-4.1# sestatus

SELinux status: disabled

 

2. Also, make sure that ioncube is loaded in PHP. You can put up a phpinfo page and view them via browser to make sure that Ioncube is indeed loaded.

 

3. The "Could not load configuration error" occurs normally on CPanel servers where open_base directory protection enabled. In such case you would need to add the Ezeelogin system directory as well the Ezeelogin web directory into the path as well.

www_folder /home/matt/public_html/ezeelogin/

system_folder /home/matt/ezeelogin_system_files/

You can find the paths to these directories from the configuration file "/usr/local/etc/ezlogin/ez.conf"

 
root@serv2:~# cat /usr/local/etc/ezlogin/ez.conf
 
system_folder /home/matt/ezeelogin_system_files/
force_https no
uri_path /ezeelogin/
db_host localhost
db_port 3306
db_name ezeelogin_matt233
db_user ezeelogin_matt122
db_pass 34sdf34aed
db_prefix 2t3edd
cookie_encryption_key 234234
cookie_name asdfsdf
cookie_path /ezeelogin/
www_folder /home/matt/public_html/ezeelogin/
admin_user adminmatt
 

 

4. Check the permission of configuration file.

root@serv2:~# ls -la /usr/local/etc/ezlogin/ez.conf

-rw-r--r-- 1 root root 337 Aug  9 15:13 /usr/local/etc/ezlogin/ez.conf

If not give sufficient permission for ez.conf file by the following command. 

root@serv2:~# chmod 644 /usr/local/etc/ezlogin/ez.conf

 

5. Open the apache configuration file "/usr/local/apache/conf/httpd.conf" and look for the following entry in the virtual host that you have installed Ezeelogin in.

 
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/matt/public_html:/usr/lib/php:/usr/local/lib/php:/tmp:/usr/local/etc/ezeelogin:/home/matt/ezeelogin_sys"
</IfModule>
 

 

6. If you continue to get 500 errors, make sure the permission of the www_folder is set to that of the user owning it.

 

If you still continue to get errors, contact Ezeelogin support with the following logs.
 
root@serv2:~# tail -f /usr/local/apache/logs/error_log
 
root@serv2:~# tail -f /home/matt/ezeelogin_sys/logs/log-2012-xx-xx.php
 

 

1 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Error occured. Please contact the administrator - Permission Denied - creation failed
    Viewed 2459 times since Thu, Jun 15, 2017
    Install not allowed on this server
    Viewed 763 times since Fri, Mar 20, 2020
    Cannot login to ezeelogin backend - CageFS-Cloudlinux
    Viewed 2587 times since Wed, Jun 14, 2017
    LICENSE: ERROR 1032
    Viewed 517 times since Sat, Nov 7, 2020
    Error: Wrong passphrase or corrupted key
    Viewed 466 times since Mon, Nov 9, 2020
    function keys in htop command not working in putty
    Viewed 182 times since Fri, Feb 12, 2021
    reCaptcha: Could not open socket Connection timed out
    Viewed 6416 times since Wed, Jun 14, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 7140 times since Thu, Jun 15, 2017
    ALERT: REMOTE HOST IDENTIFICATION HAS CHANGED! Contact Administrator.
    Viewed 5809 times since Wed, Jun 14, 2017
    Could not download binary package. Please manually download it from downloads.ezeelogin.com
    Viewed 942 times since Thu, Apr 4, 2019