Wednesday, October 31, 2018

TFA-00104 TFA-00002 Oracle Trace File Analyzer (TFA) is not running


                   Oracle Trace File Analyzer (TFA) is a one-stop tool to diagnose all of your system. You can download latest TFA from (Doc ID 1513912.1). I was working on upgrading TFA from 18.1.1 to 18.3.3. Before upgrade TFA was up and running in a healthy state, once I have invoked upgrade happen to run into issues TFA-00104 and TFA-00002, below is the fix for it.


Everytime it will be different error across each server, even though the file exists on the server with right permissions.

ERROR: /usr/tfa/sajidserver02/tfa_home/internal/.pidfile does not exists
ERROR: /usr/tfa/sajidserver02/tfa_home/internal/cached_kv.out does not exists

TFA-00104 Cannot establish connection with TFA Server. Please check TFA Certificates
TFA-00002 Oracle Trace File Analyzer (TFA) is not running
TFA-00002 Oracle Trace File Analyzer (TFA) is not running




Take it easy as its just a tool, we can directly opt for the new install. Below are the steps which I have performed on the server.



Successfully done with TFA install."Happy Analysing".

Note:
You can check version with using below command:
[root@sajidserver01 bin]# ./tfactl print status

.--------------------------------------------------------------------------------------------------.
| Host     | Status of TFA | PID   | Port | Version    | Build ID             | Inventory Status   |
+----------+---------------+-------+------+------------+----------------------+--------------------+
|sajidsrv01| RUNNING       | 27385 | 5000 | 18.3.3.0.0 | 18330020181005054218 | COMPLETE           |
'----------+---------------+-------+------+------------+----------------------+--------------------'