Autoconfig failed with error AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
Issue:
Running autoconfig failed during execution of adgentns.pl file.
below is the error message seen in adconfig.log file.
##########################################################################
Logfile: /u01/orcl/inst/apps/orcl_oradb/admin/log/08201702/NetServiceHandler.log
Classpath : /u02/orcl/apps/apps_st/comn/java/lib/appsborg2.zip:/u02/orcl/apps/apps_st/comn/java/classes
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....
....
[CVM Error Report]
The following report lists errors encountered during CVM Phase
<filename> <return code where appropriate>
/u02/orcl/apps/apps_st/appl/ad/12.0.0/bin/adgentns.pl 2
No of scripts failed in CVM phase: 1
--> Verifying NetServiceHandler.log file it showed below errors while running script admk80ln.sh which is used to create tnsnames.ora and listener.ora file by retrieving node details from database.
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
Error while generating listener.ora.
StackTrace:
java.lang.Exception: Error while generating listener.ora.
Cause:
When queried FND_NODES table only applicaiton tier node information is retrieved. Database tier information is missing.
Upon investigation it is identified that node clean is performed on the ebs database and autoconfig on database tier is not done.
Solution:
1) Run autoconfig on database tier
2) Once autoconfig on database tier is successfull run again on application tier and this time it should be successful.
No comments:
Post a Comment
Your Comments on blog are strongly welcomed..