Running ./rsaserv command displays errors on the log4j file for RSA Authentication Manager 8.x
Originally Published: 2015-04-13
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
Issue
log4j:ERROR Could not read configuration file [test/resources/log4j.properties].
java.io.FileNotFoundException: test/resources/log4j.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at java.io.FileInputStream.<init>(FileInputStream.java:79)Cause
Every time that rsaserv is run, a new copy of /opt/rsa/am/utils/etc/rsaserv/log4j.properties is created, and Customer Support has seen several occasions where an automated monitor was logging into SSH and running
/opt/rsa/am/server/rsaserv status all
with a frequency of every minute.
The log4j logging system was not designed for this amount of activity, and eventually the logging breaks and this copy of log4j.properties, located in /opt/rsa/am/utils/etc/rsaserv/log4j.properties is not recreated. When this happens RSA service status logs are no longer created.
You can tell this is happening because the timestamp on /opt/rsa/am/utils/etc/rsaserv/log4j.properties is updated every 1 minute. To verify, you could add an entry in /etc/crontab to check the date on log4j and write it to a file.
SSH as rsaadmin
sudo su -
<same password as rsaadmin>
# <now you are root>
cp /etc/crontab /etc/crontab.orig
vi /etc/crontab
<press i for insert mode>
<type or past the following line into /etc/crontab >
* * * * * root ls -l /opt/rsa/am/utils/etc/rsaserv/log4j.properties >> /tmp/log4j.txt
<esc> to exit insert mode
:wq to save
or
:q! to quit without saving
cat /etc/crontab
Resolution
To resolve the error, copy the log4j.properties file from a replica server's /opt/rsa/am/utils/etc/rsaserv directory to the proper path on the primary. If there is no replica in the deployment, contact RSA Customer Support for the file.
Workaround
/opt/rsa/am/server/rsaserv status
command.
Frequency should be 5 minutes or more for all status commands.
Customer Support has seen this situation with products like WhatsUpGold, configured to run the ./rsaserv status command too frequently.
Related Articles
RSA Authentication Manager response to log4j vulnerabilities; CVE-2021-44228, CVE-2021-45046, CVE-2021-4104, CVE-2022-2330… 1.09KNumber of Views Old connector Log4j files not removed in RSA Governance & Lifecycle 49Number of Views Enterprise Manager Log settings: EM.log - log4j.xml 54Number of Views FIM - Log4j memory leak 27Number of Views RSA-2024-08: RSA Governance and Lifecycle Critical Security Update for Unauthenticated JMX Agent and Older Version of Log4… 48Number of Views
Trending Articles
Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA Authentication Manager 8.9 Release Notes (January 2026) Artifacts to gather in RSA Identity Governance & Lifecycle RSA Governance & Lifecycle 8.0.0 Administrators Guide RSA Governance & Lifecycle 8.0.0 Installation Guide
Don't see what you're looking for?