My Oracle Support Banner

TFA-00002 - TFA Is Not Collecting SRDC Logs With root / oracle Users (Doc ID 2811838.1)

Last updated on DECEMBER 02, 2021

Applies to:

Engineered Systems Utilities - Version 12.1.0.2.1 to 20.4 [Release 12.1 to 20]
Information in this document applies to any platform.

Symptoms

TFA is not collecting SRDC logs for Oracle User getting TFA-00002 And root user is also failing with the "SRDC diagnostic collections must be run as an oracle privileged user - not root"

root@hostname1: # cd /ahf/oracle.ahf/bin
/ahf/oracle.ahf/bin

root@hostname1: # ./tfactl status
.---------------------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+----------------+---------------+----------+------+------------+----------------------+------------------+
| hostname1 | RUNNING | 53149714 | 5000 | 21.2.1.0.0 | 21210020210813042249 | COMPLETE |
'----------------+---------------+----------+------+------------+----------------------+------------------'
_____________________________________________________________________________________________________________

[oracle@hostname1:/ahf/oracle.ahf/bin$] ./tfactl diagcollect -srdc dbrman
TFA-00002 Oracle Trace File Analyzer (TFA) is not running

[oracle@hostname1:/ahf/oracle.ahf/bin$] ./tfactl diagcollect
TFA-00002 Oracle Trace File Analyzer (TFA) is not running

[oracle@hostname1:/ahf/oracle.ahf/bin$] ls -lrt
total 32
lrwxrwxrwx 1 root system 29 Sep 25 2020 orachk -> /ahf/oracle.ahf/orachk/orachk
-rwxr-xr-x 1 root system 4788 Aug 26 09:04 tfactl
-rwxr-xr-x 1 root system 4788 Aug 26 09:04 ahfctl

[oracle@hostname1:/ahf/oracle.ahf/bin$] ./tfactl status
TFA-00002 Oracle Trace File Analyzer (TFA) is not running

[oracle@hostname1:/home/oracle$]  /ahf/oracle.ahf/bin/tfactl access lsusers
TFA-00002 Oracle Trace File Analyzer (TFA) is not running

root@hostname1: # /ahf/oracle.ahf/bin/tfactl access lsusers
.--------------------------------.
|   TFA Users in hostname1 |
+-----------+---------+----------+
| User Name | Status  | Promoted |
+-----------+---------+----------+
| oracle    | Allowed | false    |
'-----------+---------+----------'

root@hostname1: # ./tfactl diagcollect -srdc dbrman

SRDC diagnostic collections must be run as an oracle privileged user - not root
/ahf/oracle.ahf/bin

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.