000016928 - log4j:ERROR setFile(null true) call failed.

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000016928
Applies To

C:\Program Files\RSA Security\RSA Authentication Manager\utils>rsautil manage-secrets -a change -u oc_console_admin -N New_Master_Password

 

 

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: logs\imsTrace.log (Access is denied)

        at java.io.FileOutputStream.openAppend(Native Method)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)

        at org.apache.log4j.FileAppender.setFile(FileAppender.java:282)

        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java

:165)

        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:161)

        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2

56)

        at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja

va:219)

        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat

or.java:149)

        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi

gurator.java:162)

        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM

Configurator.java:424)

        at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.ja

va:344)

        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:790)

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java

:675)

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java

:625)

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java

:611)

        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon

verter.java:468)

        at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

        at org.apache.log4j.Logger.getLogger(Logger.java:103)

        at com.rsa.ims.logging.LogFactory.getLogger(LogFactory.java:82)

        at com.rsa.ims.logging.trace.TraceLog.getLogger(TraceLog.java:99)

        at com.rsa.ims.logging.trace.TraceLog.getTraceLogger(TraceLog.java:133)

        at com.rsa.security.keymanager.tools.ManageSecretsCmd.<clinit>(ManageSec

retsCmd.java:55)

Enter User password: ************

 

"Error: C:\PROGRA~1\RSASEC~1\RSAAUT~1\utils\etc\systemfields.properties (Access is denied)"


 


Authentication Manager 7.1 SP4  running on Windows 2008 R2
Issue

 

 

running rsautil gives   log4j:ERROR setFile(null,true) call failed.

In this specific case an attempt to reset the master password has been done/


log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs\imsTrace.log (Access is denied)
ResolutionThe user logged in the the Windows server did not have full permission on the RSA installation folder  C:\Program Files\RSA Security

Gave this user full permission on the  C:\Program Files\RSA Security directory and sub-directories solved the issue.

By default the administrator that install the RSA Authentication Manager should have full permission on these directories. If for any reason this permission are changed or removed you got the errors above.
Legacy Article IDa60282

Attachments

    Outcomes