000011530 - Using rsautil with RSA Authentication Manager 7.1 software

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

Article Content

Article Number000011530
Applies ToAuthentication Manager 7.1
rsautil
Issuelog4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs\imsTrace.log (The system cannot find the path specified)
Cause

This error is generate when the command is not being used in the <INSTALLDIR>\utils directory (where <INSTALLDIR> is the location where RSA Authentication Manager 7.1 is installed) as an example:

C:\temp>e:\authmgr7\utils\rsautil collect-product-info -?
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs\imsTrace.log (The system cannot find the path specified)
        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:256)

In this example the current directory is C:\temp but the product has been installed into E:\authmgr7.

The error is generated because the system has read the <INSTALLDIR>\utils\resources\clu-log4j.xml config file, this config file has a reference to a debug log file called logs\imsTrace.log which will only exist relative to the current working directory.

Resolution

Simply create logs directory in the current working directory before proceeding:

C:\temp>mkdir logs

E:\authmgr7\utils>e:\authmgr7\utils\rsautil collect-product-info -?
Unknown option '-?'
Usage: rsautil collect-product-info [-h | -v]
       rsautil collect-product-info [-m <password>][-p <password>] --import
       rsautil collect-product-info [-m <password>][-p <password>] --export [-t <timestamp>]
Options:
-h, --help              Print this message.
-v, --version           Display version information.
-m, --master-password   The master password of the system.
-p, --package-password  The password used to encrypt the support page.
--export                Collects system information and exports it to an
                        encrypted support package file.
--import                Decrypts a support package file. The file must be
                        present in the current working directory.
-t, --archive-time      Export log records newer than the provided timestamp.
                        The timestamp format is yyyy-mm-dd hh:mm:ss.SSS.
                        If this option is not provided, any records logged
                        during the previous hour are exported.

E:\authmgr7\utils>

For full details of rsautil and its various options see the installation manual (appendix B) as well as other related administration  manuals:

RSA Authentication Manager 7.1 Release Notes

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/auth_manager_release_notes.html

 

RSA Authentication Manager 7.1 Getting Started  

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/auth_manager_getting_started.pdf

 

RSA Authentication Manager 7.1 ISO Mounting Instructions  

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/mount_iso.pdf

 

RSA Authentication Manager 7.1 Administrator?s Guide

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/auth_manager_administrator_guide.pdf

 

RSA Authentication Manager 7.1 Installation Guide  

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/auth_manager_installation_guide.pdf

 

RSA Authentication Manager 7.1 Migration Guide

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/auth_manager_migration_guide.pdf

 

RSA Authentication Manager 7.1 Planning Guide

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/auth_manager_planning_guide.pdf

 

RSA Authentication Manager 7.1 RADIUS Reference Guide

https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/RADIUS_Ref.pdf

 

Legacy Article IDa40866

Attachments

    Outcomes