AnsweredAssumed Answered

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

Question asked by 8uZPwazuaLdUDEHBlmCEnXtMcNNGCxAmytp7hB97ef4= on Jun 17, 2016
Latest reply on Jun 23, 2016 by Yasmine Dowidar
Branched from an earlier discussion

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: /

Outcomes