Introduction: –
This article is very useful for those who encountered issue while cloning EBS adgentns-pl
exiting with status ****. On application Release 12 When attempting to run autoconfig on APPS Tier, the following error occurs:
Resolving adgentns-pl exiting with status 2
[CVM Error Report]
The following report lists errors encountered during CVM Phase
/u01/oracle/apps/apps_st/appl/ad/12.0.0/bin/adgentns.pl 2
No of scripts failed in CVM phase: 1
AutoConfig is exiting with status 1
AutoConfig execution completed on Mon Aug 26 03:26:41 2019
adgentns.pl exiting with status 2
---------------------------------------------
Error:-
Autoconfig Error: adgentns.pl exiting with status 2 after Clone/Refresh. The likely cause of Clone failed due to adgentns.pl error.
[CVM Error Report]
The following report lists errors encountered during CVM Phase
/u01/oracle/apps/apps_st/appl/ad/12.0.0/bin/adgentns.pl 2
No of scripts failed in CVM phase: 1
AutoConfig is exiting with status 1
-----------------------------------
Updating s_tnsmode to 'generateTNS'
UpdateContext exited with status: 0
AC-50480: Internal error occurred: java.lang.NullPointerException
WARNING: [CVM Error Report] The following report lists
errors encountered during CVM Phase <filename> <return code where appropriate>
/u01/oracle/apps/apps_st/appl/ad/12.0.0/bin/adgentns.pl 2 No. of scripts failed
in CVM phase: 1
Solution:-
Open a new shell and source the APPS Environment.
$sqlplus apps/apps
SQL> exec fnd_conc_clone.setup_clean;
SQL>commit;
Open a new terminal or shell and source the DB Tier Environment.
Execute Autoconfig on the DB Tier.
($ORACLE_HOME/appsutil/bin/adconfig.sh)
Switch back to the APPS environment or start a new shell and source the
APPS Tier:-
Execute Autoconfig at the Apps Tier. ($AD_TOP/bin/adconfig.sh)
Check the Autoconfig log for any errors and ensure that the services start correctly.
$sh adstrtal.sh
If still your issue is not resolved, you may check another similar article, click here.
You may check another, helpfull article similar issue, click here.