Announcements

SecurID® Discussions

Browse the SecurID discussion board to get product help and collaborate with other SecurID users.
XavierKoenig
Beginner
Beginner

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

This may have unearthed a bigger issue. After restarting the server, I ran the /opt/rsa/am/server/rsaserv restart all command, and the RSA Radius Server Operations Console now fails to start. When I attempt to start the radius service, I get the following error:

lxrsa01:/ # /opt/rsa/am/server/rsaserv start radius

Running as rsaadmin...

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

java.io.FileNotFoundException: logs/imsCluTrace.log (No such file or directory)

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

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

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

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

        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165)

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

        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

        at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)

        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)

        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)

        at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)

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

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)

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

        at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:324)

        at com.rsa.installfwrk.common.logging.RSAInstallFrameworkLogger.getLogger(RSAInstallFrameworkLogger.java:70)

        at com.rsa.installfwrk.common.utils.SystemServices.<clinit>(SystemServices.java:52)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:171)

        at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:107)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

        at org.python.core.Py.findClass(Py.java:774)

        at org.python.core.JavaImportHelper.isJavaClass(JavaImportHelper.java:182)

        at org.python.core.JavaImportHelper.tryAddPackage(JavaImportHelper.java:41)

        at org.python.core.imp.import_next(imp.java:640)

        at org.python.core.imp.import_name(imp.java:746)

        at org.python.core.imp.importName(imp.java:806)

        at org.python.core.ImportFunction.__call__(__builtin__.java:1232)

        at org.python.core.PyObject.__call__(PyObject.java:367)

        at org.python.core.__builtin__.__import__(__builtin__.java:1202)

        at org.python.core.imp.importFromAs(imp.java:884)

        at org.python.core.imp.importFrom(imp.java:860)

        at org.python.pycode._pyx3.f$0(/opt/rsa/am/components/ims/unix/rsaControllers.py:200)

        at org.python.pycode._pyx3.call_function(/opt/rsa/am/components/ims/unix/rsaControllers.py)

        at org.python.core.PyTableCode.call(PyTableCode.java:165)

        at org.python.core.PyCode.call(PyCode.java:18)

        at org.python.core.Py.runCode(Py.java:1204)

        at org.python.core.__builtin__.execfile_flags(__builtin__.java:541)

        at org.python.core.__builtin__.execfile(__builtin__.java:519)

        at org.python.core.__builtin__.execfile(__builtin__.java:549)

        at org.python.core.BuiltinFunctions.__call__(__builtin__.java:80)

        at org.python.core.PyObject.__call__(PyObject.java:401)

        at org.python.pycode._pyx0.f$0(/opt/rsa/am/components/ims/unix/rsaservManager.py:170)

        at org.python.pycode._pyx0.call_function(/opt/rsa/am/components/ims/unix/rsaservManager.py)

        at org.python.core.PyTableCode.call(PyTableCode.java:165)

        at org.python.core.PyCode.call(PyCode.java:18)

        at org.python.core.Py.runCode(Py.java:1204)

        at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:200)

        at org.python.util.jython.run(jython.java:246)

        at org.python.util.jython.main(jython.java:129)

Starting RSA Administration Server with Operations Console:

Starting RSA Database Server: *****

RSA Administration Server with Operations Console          [FAILED]

Starting RSA RADIUS Server Operations Console: /

Labels (1)
0 Likes
3 Replies
jeffshurtliff
Administrator Administrator
Administrator

Hi Xavier,

 

I have split this comment into its own thread so that it can get the attention that it needs, as requested by Customer Support.

 

Thanks,

Jeff

0 Likes
HusseinElBaz
Employee
Employee

Hello Xavier,

 

To resolve this issue please 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.

 

So kindly check and advise us back if there is any assistance needed from our side.

 

Best Regards,

YasmineDowidar
Respected Contributor Respected Contributor
Respected Contributor

Hi Xavier Koenig,

 

Was the above resolution helpful?

 

Regards,

Yasmine

0 Likes