Troubleshooting Tip: Apache Authentication Fails: /etc/httpd/accounts/passwds file blank or corrupted
| Description | This article describes a scenario where the FortiSIEM web interface or backend services fail to authenticate because the Apache password file /etc/httpd/accounts/passwds is blank or corrupted.
This issue prevents proper authentication between FortiSIEM components (e.g., Supervisor <-> Worker or internal SVN access) and can lead to HTTP 401 (Unauthorized) errors, GUI login failures, or event forwarding interruptions. |
| Scope | FortiSIEM v6.x, v7.x and later. Applies to Supervisors, Workers, and All-in-One nodes that rely on Apache for internal service authentication |
| Solution | Check for authentication errors:
tail -f /var/log/httpd/ssl_error_log
Verify the password file on all cluster nodes (Supervisor, Worker, Collector): Inspect the password file:
cat /etc/httpd/accounts/passwds
* If it is blank, the file was cleared or never populated.
Take a backup of the password file: Make a backup and edit the file:
cp -a /etc/httpd/accounts/passwds /etc/httpd/accounts/passwds.bak
Explanation:
Make sure this /etc/httpd/accounts/passwds file is the same on all supers and worker nodes. Expected output: A password is added for the admin user.
Verify: Monitor the access log for successful authentication:
tail -f /var/log/httpd/ssl_access_log
Expected output:
127.0.0.1 - admin "GET /svn HTTP/1.1" 200 - |