My Oracle Support Banner

AHF Installation fails with TFA-00002 in Standby stack (Doc ID 3052223.1)

Last updated on OCTOBER 11, 2024

Applies to:

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

Symptoms

Unexpected issue trying to install AHF in Standby, latest version or previous version installation finished successfully with the message:

[ahfupgrade] - Autonomous Health Framework (AHF) install successfully completed

 But the next error messages found into ahf_install_<version_date_time>.log file:

[2024-10-07 11:26:18 CEST] Opening Parameter file /opt/oracle.ahf/data/<node_name>/tfa/tfa_setup.txt
[2024-10-07 11:26:18 CEST] TFA-00002 Oracle Trace File Analyzer (TFA) is not running   ◀◀
[2024-10-07 11:26:18 CEST] Inside function tfactlshare_delete_ssl_args

[2024-10-07 11:26:23.341 CEST] Orachk Setup Output : /opt/oracle.ahf/ahf/scripts/orachk_setup.py:302: SyntaxWarning: invalid escape sequence '\-'
get_daemon_cmd = "{ps} -ef | egrep '^{user} *.* *{pypath} *.*{orachk}.* \-start_scheduler \-scheduler_daemon 1'".format(ps=ps, user="root", pypath="build/Python37/bin/python", orachk=orachk)

......

[2024-10-07 11:23:12 CEST] SELinux is enabled in Enforcing mode  ◀◀
[2024-10-07 11:23:12 CEST] /usr/sbin/semodule -l | /bin/grep inittfa-policy >/dev/null
[2024-10-07 11:23:12 CEST] inittfa-policy already loaded into the system
[2024-10-07 11:23:12 CEST] Setting contexts completed with 2 code

 Additionally, there is not presence of '/etc/init.d/init.tfa' file to try to start daemon:

$ ls -l /etc/init.d/init.tfa
ls: cannot access '/etc/init.d/init.tfa': No such file or directory

execute as root:

CMD: >/etc/init.d/init.tfa stop
/tmp/showcmd.sh: line 3: /etc/init.d/init.tfa: No such file or directory
CMD: >/etc/init.d/init.tfa start
/tmp/showcmd.sh: line 6: /etc/init.d/init.tfa: No such file or directory
CMD: >tfa_home/bin/tfactl print status
TFA-00002 Oracle Trace File Analyzer (TFA) is not running

 

Changes

 Clean installation of AHF tool with latest or previous version available

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.