Skip to Content

Error: Could not read configuration

How to fix Error : Could not read configuration


Overview: This article helps to resolve "Could not read configuration" error encountered when logging into the web GUI by verifying and correcting permissions.



The above error occurs when the parent directory has incorrect executable permissions.

Step 1: Check all the permissions in following directory by running the below command:

root@gateway:~# ls -ald /usr/local/etc/ezlogin /usr/local/etc /usr/local /usr/

Step 2: Run this command to correct the permissions:

root@gateway:~# chmod 751 /usr/local/etc/ezlogin /usr/local/etc /usr/local /usr/

The correct executable permissions should be set as follows:

root@gateway:~# drwxr-x--x 14 root root 4096 Oct 7 2022 /usr/
root@gateway:~# drwxr-x--x 13 root root 4096 Jun 20 22:53 /usr/local
root@gateway:~# drwxr-x--x 3 root root 4096 Oct 7 2022 /usr/local/etc
root@gateway:~# drwxr-x--x 2 admin ezuser 4096 Apr 5 16:43 /usr/local/etc/ezlogin


Related Articles:

Fixing Permission Issues in Ezeelogin Web GUI

An error occurred. Please contact administrator." - got error while trying to access remote server from jump server

Blank page in GUI and an error in SSH/backed shell ’ license expired!’

Could not load style files while accessing Ezeelogin GUI

"error": "invalid_grant", "error_description"