Troubleshooting when working on Linux OS🔗
Excessive logging in Nginx access.log🔗
Solution🔗
To resolve the issue, you need to:
In a text editor, open the Nginx configuration file:
sudo nano /etc/nginx/nginx.conf
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;
Save the changes and exit the editor.
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:
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
After installation, delete the .deb file:
sudo rm libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb
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