How to fix a broken CAPTCHA in the login screen: EventLog Analyzer on Linux

How to fix a broken CAPTCHA in the login screen: EventLog Analyzer on Linux

Issue description 

When you have enabled a CPATCHA on the login page of Linux using EventLog Analyzer's Logon Settings, you might face an issue where the CAPTCHA image seems to be broken. This article provides step-by-step instructions to fix the issue.

Possible causes 

  1. The broken CAPTCHA image issue is often the result of either a browser cache problem or missing fonts required for rendering the CAPTCHA. Since Linux distributions typically do not include Microsoft fonts by default, you may need to install them manually.

Prerequisites 

  1. Access to the EventLog Analyzer user interface.
  2. Access to the Linux server on which EventLog Analyzer is installed with root or similar permission to install package.

Steps to follow 

Step 1: Access the EventLog Analyzer user interface in an incognito/private browser window to check if the issue is related to the browser cache. If so, clear the browser cache to resolve the issue.

Step 2: If the issue persists, it is likely caused by missing fonts required for rendering. To install the necessary fonts, open the terminal and run the following commands:
  1. sudo apt install fontconfig  
  1. This command installs Fontconfig, a library and command-line utility used by Linux systems to manage and configure fonts. It enables font discovery, font substitution, and automatic fallback for missing fonts.
  1. sudo apt install ttf-mscorefonts-installer  
  1. This installs a set of Microsoft TrueType core fonts, such as:
    • Arial
    • Verdana
  1. sudo fc-cache -f  
    1. This command forces a refresh of the font cache used by Fontconfig.
    • -f indicates "force" the rebuild, even if no changes are detected.
    • This ensures that any newly installed fonts (like the Microsoft fonts) are detected and available to applications.
Step 3: Once the required libraries and fonts are installed, restart the Linux server once to have them applied.
Step 4: Reload the login page in a private/incognito browser window to verify.

Tips 

  1. To verify if the fonts have been successfully installed, run the below command 
    fc-match Arial
  2. This tries to find a font on your system that matches Arial. If the exact font isn't available, it returns the closest fallback (e.g., Liberation Sans, DejaVu Sans, etc.).
    fc-match Verdana
  3. This is same as the above command, which checks for Verdana.

 How to reach support

  1. A screenshot of the EventLog Analyzer license page.
  2. A screenshot of the login page showing the broken CAPTCHA issue captured from an incognito/private browser window.
  3. A screenshot of the Console tab from the browser's developer tools.
      • To access it: Right-click on the login page, click Inspect, and go to the Console tab.
  1. A screenshot of the terminal output for the following commands:
    fc-match Arial
    fc-match Verdana
  2. Product logs:
  1. EventLog Analyzer Serverout logs: <EventLog Analyzer Home>\logs\serverout_20xx-xx-xx.txt (Most recent file)
  2. EventLog Analyzer Catalina logs: <EventLog Analyzer Home>\logs\catalina_20xx-xx-xx.txt (Most recent file)
 
 
 
 
 
 
 

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to Configure CAPTCHA Settings in EventLog Analyzer

                      Objective To guide administrators in enabling and customizing CAPTCHA settings on the EventLog Analyzer login page, enhancing protection against automated brute-force attacks while providing flexibility in user experience and accessibility. ...
                    • Unable to start EventLog Analyzer

                      Issue description This issue occurs when the EventLog Analyzer service fails to start, or when users are unable to access the web client through the browser (typically on ports 8400 or 8445). Users may experience one or more of the following ...
                    • How to enable CAPCHA in EventLog Analyzer

                      Objective CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. Login CAPTCHA serves as a security measure against bot-based brute- force attacks. You can configure whether to show CAPTCHA always or after a ...
                    • How to implement Security Hardening in EventLog Analyzer

                      Objective Improve the overall safety of your EventLog Analyzer setup by enabling key security settings that protect access, data, and system behavior. All of these settings can be managed easily from one place: the Security Hardening dashboard. ...
                    • Unable to login to EventLog Analyzer

                      Issue description Users are unable to log in to the EventLog Analyzer web console due to issues such as incorrect credentials, improper authentication method selection, unsynced domain accounts, or browser-related problems. This article provides a ...