Tfactl Diagcollect -srdc Ora600 Fails On Java.io.FileNotFoundException (Permission Denied)

(Doc ID 2388304.1)

Last updated on MAY 03, 2018

Applies to:

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

Symptoms

Encountered below error while running "./tfactl diagcollect -srdc"  as a non-root user:

/u01/app/12.1.0.2/grid/tfa/bin/tfactl diagcollect -srdc ora600
java.io.FileNotFoundException: /u01/app/oracle/tfa/lnbroras10/diag/tfa/tfactl/user_oracle/tfa.client.oracle.Feb.2018.log (Permission denied)
  at java.io.FileOutputStream.open0(Native Method)
  at java.io.FileOutputStream.open(FileOutputStream.java:270)
  at java.io.FileOutputStream.(FileOutputStream.java:213)
  at java.io.FileOutputStream.(FileOutputStream.java:133)
  at java.io.FileWriter.(FileWriter.java:78)
  at oracle.rat.tfa.CommandLine.main(CommandLine.java:516)
 

Changes

 

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