My Oracle Support Banner

CLSRSC-4005: Failed to patch Oracle Trace File Analyzer (TFA) Collector (Doc ID 1916298.1)

Last updated on FEBRUARY 18, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Upgrading from 12.1.0.1 to 12.1.0.2, rootupgrade.sh failed to upgrade TFA:

2014/07/28 20:57:50 CLSRSC-4015: Performing install or upgrade action for Oracle Trace File Analyzer (TFA) Collector.

TFA-00001: Failed to start Oracle Trace File Analyzer (TFA) daemon. Please check TFA logs.
TFA-00001: Failed to start Oracle Trace File Analyzer (TFA) daemon. Please check TFA logs.
2014/07/28 20:57:53 CLSRSC-4005: Failed to patch Oracle Trace File Analyzer (TFA) Collector. Grid Infrastructure operations will continue.

 

<NEW_GI_HOME>/cfgtoollogs/crsconfig/rootcrs_<node>_<timestamp>.log 

2014-07-28 20:57:50: CLSRSC-4015: Performing install or upgrade action for Oracle Trace File Analyzer (TFA) Collector.
2014-07-28 20:57:50: Executing cmd: [<GI_HOME>/crs/install/tfa_setup -silent -crshome [<GI_HOME>
2014-07-28 21:00:53: Command output:
>
> Starting TFA installation
>
> TFA Build Version: 121200 Build Date: 20140619094932
> Installed Build Version: 0 Build Date: 20130801234103
>
> Shutting Down TFA for Patching...
>
> Shutting down TFA
> TFA is running - Will wait 5 seconds (up to 3 times)
> TFA is running - Will wait 5 seconds (up to 3 times)
> TFA is running - Will wait 5 seconds (up to 3 times)
> TFAmain Force Stopped Successfully
> . . . . .
> . . .
> Successfully shutdown TFA..
>
> Removing /etc/init.d/init.tfa...
>
> Installing TFA new version at [<GI_HOME>/tfa/racnode1/tfa_home...
>
> Using JAVA_HOME : [<GI_HOME>/jdk/jre
>
> Running Auto Setup for TFA as user root...
>
> Installing TFA now...
>
>
> TFA Will be Installed on racnode1...
>
> TFA will scan the following Directories
> ++++++++++++++++++++++++++++++++++++++++++++
....
>
> TFA-00001: Failed to start Oracle Trace File Analyzer (TFA) daemon. Please check TFA logs.
> Removing TFA Setup files...
>
> Copying TFA logs to /tmp/tfa/20140728_210039
>
> Shutting down TFA now...
>
> Shutting down TFA
>
....
>
> Removing Repository /u01/app/grid/base/tfa/repository
>
>End Command output
2014-07-28 21:00:53: Executing cmd: [<GI_HOME>/bin/clsecho -p has -f clsrsc -m 4005
2014-07-28 21:00:53: Command output:
> CLSRSC-4005: Failed to patch Oracle Trace File Analyzer (TFA) Collector. Grid Infrastructure operations will continue.
>End Command output
2014-07-28 21:00:53: Executing cmd: [<GI_HOME>/bin/clsecho -p has -f clsrsc -m 4005
2014-07-28 21:00:53: Command output:
> CLSRSC-4005: Failed to patch Oracle Trace File Analyzer (TFA) Collector. Grid Infrastructure operations will continue.
>End Command output
2014-07-28 21:00:53: CLSRSC-4005: Failed to patch Oracle Trace File Analyzer (TFA) Collector. Grid Infrastructure operations will continue.
2014-07-28 21:00:53: Command: [<GI_HOME>/crs/install/tfa_setup -silent -crshome [<GI_HOME>, Return Status: 2

 

syserrorout.07.28.2014-21.00.21 

Exception in thread "TFAMain" com.sleepycat.je.EnvironmentFailureException: (JE 5.0.84) JE 4.1 BINDeltas were found in the recovery interval. Before upgrading to JE 5.0, the following utility must be run using JE 4.1 (4.1.20 or later): DbPreUpgrade_4_1 . See the change log. UNEXPECTED_STATE: Unexpected internal state, may have side effects.
at com.sleepycat.je.EnvironmentFailureException.unexpectedState(EnvironmentFailureException.java:376)
at com.sleepycat.je.recovery.RecoveryManager.checkLogVersion8UpgradeViolations(RecoveryManager.java:2708)
at com.sleepycat.je.recovery.RecoveryManager.buildTree(RecoveryManager.java:549)
at com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.java:198)
at com.sleepycat.je.dbi.EnvironmentImpl.finishInit(EnvironmentImpl.java:654)
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:208)
at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:252)
at com.sleepycat.je.Environment.<init>(Environment.java:233)
at com.sleepycat.je.Environment.<init>(Environment.java:177)
at oracle.rat.tfa.db.DbGet.setup(DbGet.java:104)
at oracle.rat.tfa.singletons.DbManager.<init>(DbManager.java:41)
at oracle.rat.tfa.util.Properties.<init>(Properties.java:317)
at oracle.rat.tfa.util.Properties.getInstance(Properties.java:416)
at oracle.rat.tfa.TFAMain.main(TFAMain.java:133)

 

 

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
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.