You are on page 1of 1

Applies to:

Oracle Applications Manager - Version: 11.5.5 to 11.5.10.2 - Release: 11.5 to 11


.5
Symptoms
When attempting to run autoconfig at the Database Environment
The following error occur while running $RDBMS_HOME/appsutil/bin/adgentns.pl:
Loading ORACLE_HOME environment from $RDBMS_HOME
Logfile: $RDBMS_HOME/appsutil/log/<CONTEXT_NAME>/../NetServiceHandler.log
java.sql.SQLException: ORA-00001: unique constraint (APPLSYS.FND_TNS_ALIASES_U2)
violated java.sql.SQLException: ORA-00001:
unique constraint (APPLSYS.FND_TNS_ALIASES_U2) violated
ORA-06512: at "APPS.FND_APP_SYSTEM", line 931
ORA-06512: at "APPS.FND_NET_SERVICES", line 399
ORA-06512: at "APPS.FND_NET_SERVICES", line 675
ORA-06512: at "APPS.FND_NET_SERVICES", line 1099ORA-06512: at line 1

Cause
Duplicate entries in APPLSYS.FND_TNS_ALIASES_U2, could be caused by running a wr
ong or modified context file against the database. This wil result in a complete
ly inconsistent topology model.
Solution
To implement the solution, please execute the following steps:
1. Be sure to have a valid backup.
2. Open an environment shell, login as the "applmgr" user and set the Applicatio
ns Environment
3. cd $AD_TOP\bin
4. perl <AD_TOP>/bin/adgentns.pl appspass=<APPSpwd> contextfile=<CONTEXT> -remov
esystem
5. Open a new shell , login as the user whom owns the RDBMS Oracle Home and set
the Database Environment
6. Run Autoconfig on the dbTier.
7. Open a new shell and set the Applications Environment and also run Autoconfig
on the appsTier

You might also like