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

Last updated on AUGUST 14, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 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: /u01/app/grid/12.1.0.2/crs/install/tfa_setup -silent -crshome /u01/app/grid/12.1.0.2
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 /u01/app/grid/12.1.0.2/tfa/racnode1/tfa_home...
>
> Using JAVA_HOME : /u01/app/grid/12.1.0.2/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: /u01/app/grid/12.1.0.2/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: /u01/app/grid/12.1.0.2/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: /u01/app/grid/12.1.0.2/crs/install/tfa_setup -silent -crshome /u01/app/grid/12.1.0.2, 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

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