Thursday, July 19, 2018

AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.

Today I ran adcfgclone to refresh my UAT Instance and faced the below issue after alomost 70% of the process is completed. On digging the particular log file for issues, found the below two error.


Error : 1
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.

.end err out.

Error : 2
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution.  Errors are grouped by directory and phase.
The report format is:
      <filename>  <phase>  <return code where appropriate>

  [SETUP PHASE]
  AutoConfig could not successfully execute the following scripts:
    Directory: /ora12prd/VIS/inst/apps/VIS_apps_dr/admin/install
      adgendbc.sh             INSTE8_SETUP       1


AutoConfig is exiting with status 1

RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /ora12prd/VIS/inst/apps/VIS_apps_dr/admin/log/ApplyAppsTier_07181145.log for details.
ApplyApplTop Completed Successfully.

# Checking the status of AutoConfig run of ApplyApplTop

Warning : AutoConfig has completed with  errors .
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line  after fixing the problem


Cause :

The Network Topology tables had not been populated with the database information, either during the clone or during AutoConfig. Much of the Network Topology data seeding is done during AutoConfig on the dbTier.

Solution :

Rerun AutoConfig on all nodes, starting with the database node(s), as per standard procedures.

1. Login as oracle user and perform the below steps

            sqlplus apps/apps
            exec fnd_conc_clone.setup_clean

2. Run autoconfig on db node.

3. Run autocnfig on apps node.

4. Run adcfgclone now, this time it should work fine.


Ref : "AC-50480" Error Generating the "listener.ora" File. (Doc ID 1089036.1)

****************************நன்றி****************************

No comments:

Post a Comment

IAS Cache initialization failed

 Today I faced an Issue in R12.2 instance. The solution I followed to overcome the issue is very simple, but they are more than one solution...