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

(Doc ID 2176808.1)

Last updated on MARCH 20, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


RACDBaaS command raccli fails after database moved/copied:

[oracle@siva-r1 bin]$ ./raccli
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /opt/oracle/dcs/log/dcs-cli.log (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms