My Oracle Support Banner

Autoconfig Failed Due To Adgentns.pl Exiting With Status 2 (Doc ID 2673576.1)

Last updated on JUNE 29, 2020

Applies to:

Oracle Applications DBA - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

autoconfig failed due to adgentns.pl exiting with status 2

 

===========================================================================
[ Config tool : /<-->/oracle/<-->/db/tech_st/12.1.0.2/dbhome/appsutil/bin/adgentns.pl ]
Command : /<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/perl/bin/perl -I /<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/perl/lib/5.8.3 -I /<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/perl/lib/site_perl/5.8.3 -I /<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/perl /<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/bin/adgentns.pl PASSWORD contextfile=/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/FASIT2_rs29s2c8vap196.xml logdir=/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/log/FASIT2_RS29S2C8VAP196/05201723 outdir=/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/out/FASIT2_RS29S2C8VAP196/05201723
Action : execute

SCRIPT RETURNED:
##########################################################################
Generate Tns Names
##########################################################################
Classpath : :/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/jdbc/lib/ojdbc6.jar:/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/java/xmlparserv2.jar:/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/java:/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/jlib/netcfg.jar:/<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/jlib/ldapjclnt12.jar

Loading ORACLE_HOME environment from /<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome
Logfile: /<--->/oracle/<->/db/tech_st/12.1.0.2/dbhome/appsutil/log/FASIT2_RS29S2C8VAP196/05201723/NetServiceHandler.log
AC-50480: Internal error occurred: java.lang.NullPointerException
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated

*** RAC is NOT configured. Generating listener.ora from the template ad8ilsnr.ora ***
listener.ora instantiated

adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END

 

============================ NetServiceHandler.log ============================

Registering Db Tier Node
[ Input Information ]


StackTrace:
java.lang.NullPointerException
at oracle.apps.ad.tools.configuration.DataModelHandler.getDBName(DataModelHandler.java:912)
at oracle.apps.ad.tools.configuration.NetServiceHandler.registerDbNode(NetServiceHandler.java:981)
at oracle.apps.ad.tools.configuration.NetServiceHandler.registerNode(NetServiceHandler.java:1208)
at oracle.apps.ad.tools.configuration.NetServiceHandler.processNode(NetServiceHandler.java:2307)
at oracle.apps.ad.tools.configuration.NetServiceHandler.main(NetServiceHandler.java:3182)

Closing connection
Connection Closed
instantiate file:
source : /<-->/oracle/oraof/db/tech_st/12.1.0.2/dbhome/appsutil/template/ad8itns.ora
dest : /<-->/oracle/oraof/db/tech_st/12.1.0.2/dbhome/network/admin/FASIT2_RS29S2C8VAP196/tnsnames.ora

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.