Dear Followers.
We have the below error when we ran auto-config on the database tier.
Error from AC log file
+++++++++++++++++
Updating s_tnsmode to 'generateTNS'
UpdateContext exited with status: 0
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
Instantiating Tools tnsnames.ora
Tools tnsnames.ora instantiated
Web tnsnames.ora instantiated
adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.
Result : FAILED
Enter value for 1: Enter value for 2: ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Unable to generate listener.ora from database
Using default listener.ora file
.end std out.
.end err out.
Error while generating listener.ora.
StackTrace:
java.lang.Exception: Error while generating listener.ora.
at oracle.apps.ad.tools.configuration.NetServiceHandler.generateMiddleTierListener(NetServiceHandler.java:2497)
Fix
==
Ran manually
NONPROD [*****@korladrekbs01 admin]$ perl /u01/app/***/apps/apps_st/appl/ad/12.0.0/bin/adgentns.pl contextfile=$CONTEXT_FILE appspass=apps
=====================================================================================================================
Then Run AC. It should be fine.
Thanks.
No comments:
Post a Comment