Troubleshooting when working on Linux OS๐Ÿ”—

Excessive logging in Nginx access.log๐Ÿ”—

Solution๐Ÿ”—

To resolve the issue, you need to:

  1. In a text editor, open the Nginx configuration file:

    sudo nano /etc/nginx/nginx.conf
    
  2. Find the access_log directive, which by default may look like:

    access_log /var/log/nginx/access.log;
    

    Replace this line with:

    access_log off;
    
  3. Save the changes and exit the editor.

  4. Restart Nginx.

    sudo systemctl restart nginx.service
    

Active Directory authentication is not working๐Ÿ”—

Cause๐Ÿ”—

The Active Directory authentication issue on Ubuntu 22.04/24.04, Debian 12 and newer is due to the OS migrating to newer OpenLDAP versions. The Eocortex Server uses the LdapForNet library, which requires the older OpenLDAP 2.4.

Solution๐Ÿ”—

To resolve the issue, you need to install OpenLDAP 2.4. Here's how:

  1. Download and install the libldap-2.4 package:

    sudo wget http://http.us.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb
    
    sudo apt install ./libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb
    
  2. After installation, delete the .deb file:

    sudo rm libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb
    
  3. Check that the libldap-2.4.so.2 file is now in the system directory:

    ls -la /usr/lib/x86_64-linux-gnu | grep libldap-2.4.so.2