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

Last updated on SEPTEMBER 01, 2016

Applies to:

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

Symptoms

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)

 

Cause

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