Configuration and error log files to check for troubleshooting


The Ezeelogin configuration file is located at /usr/local/etc/ezlogin/ez.conf

Ezeelogin has two logs files one for the web interface and one for the backend ssh interface called the ezsh shell (short for the Ezeelogin backend shell)


FRONTEND OR WEB INTERFACE LOGS

  • The frontend or the web interface runs on PHP and hence a separate log file for it. The log files are stored in the /{system folder specified at the time of installation.
  • You can find the path by checking the system_folder in /usr/local/etc/ezlogin/ez.conf. The path would be /{system folder}/application/logs/
  • You can also run the following command on the Ezeelogin gateway server to get the path to application logs:

root@jumpserver:~  cd $(awk '/^system_folder/ {print $2}' /usr/local/etc/ezlogin/ez.conf)/application/logs/

 

BACKEND OR SSH LOGS

  • The backend or ssh error logs for each Ezeelogin user are stored in /home/{username}/ezsh.log file. If you are having any issues with the ssh logins, this is the log file to take a look. 
  • You should also check the /var/log/secure & /var/log/messages log file as it records most of the ssh login errors.


    For detailed debug log for troubleshooting, do append the parameter log_level trace in ez.conf 

    root@jumpserver:~  vi /usr/local/etc/ezlogin/ez.conf

    log_level trace

    NOTE  "log_level trace parameter will only work from Ezeelogin version 7.23.0"

     

5 (2)
Article Rating (2 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Unable to add server into Ezeelogin via webinterface. Password error, times out
    Viewed 2530 times since Wed, Jun 14, 2017
    How to install node in Ezeelogin gateway server?
    Viewed 267 times since Mon, Dec 7, 2020
    sshd[3167]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
    Viewed 3694 times since Mon, Apr 27, 2020
    Jump server ip to be licensed?
    Viewed 3092 times since Thu, Jun 15, 2017
    mysqli::real_connect(): this stream does not support SSL/crypto Filename: mysqli/mysqli_driver.php
    Viewed 2210 times since Tue, Jan 7, 2020
    reCaptcha images not loading
    Viewed 3910 times since Wed, Jun 14, 2017
    UnAuthorized IP Address when using proxy
    Viewed 493 times since Mon, Jun 1, 2020
    How to move servers/migrate servers from one Ezeelogin installation to another?
    Viewed 2220 times since Thu, Jun 15, 2017
    function keys in htop command not working in putty
    Viewed 135 times since Fri, Feb 12, 2021
    User could not be found on the system:: No error information
    Viewed 965 times since Thu, May 30, 2019