Tag Archives: AutoConfig

AC-30202: Unrecognized action specified, Context Value Management Failed

Problem:

After sourcing APPSORA.env on and 11.5.10.2 environment and running AutoConfig, the following error appeared:

$ ./adautocfg.sh appspass=password

The log file for this session is located at: /u01/test3/test3appl/admin/TEST3_uttoratestapp03/log/12070801/adconfig.log

AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
        Using APPL_TOP location     : /u01/test3/test3appl
        Classpath                   : /u01/test3/test3comn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u01/test3/test3comn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u01/test3/test3comn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u01/test3/test3comn/java/appsborg2.zip:/u01/test3/test3comn/java

promptmsg=hide - AC-30202: Unrecognized action specified. Exiting.

ERROR: Context Value Management Failed.
Terminate.

The logfile for this session is located at:
    /u01/test3/test3appl/admin/TEST3_uttoratestapp03/log/12070801/adconfig.log
$

Solution:

After unsetting LD_ASSUME_KERNEL and applying patch 6365595, applied patch 5903765 (Applications Technology 11i.ATG_PF.H.delta.6). After patch completed, ran AutoConfig without problems.

 

RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack

RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack

Problem:

While installing R12.1 Vision instance, the following error occurs:

RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS12 instance

The errors occurs when Oracle Universal Installer runs. OUI displays a brief message, then the error appears.

Solution:

Did not clean up the Oracle Inventory directory correctly before reinstallation. Clean up Windows installation, then restart installation.
Read more »

REP-3000 Error

To resolve REP-3000 while running PDF reports, try these solutions:

1. Set ‘s_display’ in SID_server.xml using vi or using Oracle Application Manager:

a. Use the ‘uname -n’ command to determine the correct name of the server eg vision.hostname.com

b. If the ‘echo $DISPLAY’ command is set to 0.0, then the s_display parameter to this value, for example:

vision.hostname.com:0.0

c. In a Terminal window, enter ‘xhost +’

d. Do not log off the console (0.0)
OR

2. If VNC is running on port 1 on the server:ex

set s_display to vision.hostname.com:1.0 or vision:1.0

Ensure that VNC server is not killed during the day.

Or set ‘headless’ in SID_server.xml to true and DisallowTCP to false in the /etc/X11/gdm/gdm.conf

Run AutoConfig after changing any SID_server.xml parameter.

After R12 Vision Installation, Concurrent Manager Not Starting

Problem: Oracle E-Business Suite R12 was installed on appswindows3. After installation, the Concurrent Manager is not starting.

Solution: Checked Event Viewer. The following messages appear:

Restart ICM (Retries left:0)
ICM process exited with error(1)
FNDLIBR Stopped(1)

Reference:
http://forums.oracle.com/forums/thread.jspa?threadID=591003&start=15&tstart=0

Checked directory: %APPLCSF%%APPLLOG%
G:oracleVIS12instappsVIS12_appswindows3logsapplconclog>

G:oracleVIS12instappsVIS12_appswindows3logsapplconclog>type CM_VIS12_appswindows3.log

List of errors encountered:
………………………………………………………..

_ 1 _
Routine AFPCAL received a return code of failure from routine spiini.

Review your concurrent request log file for more information.
………………………………………………………..

G:oracleVIS12instappsVIS12_appswindows3logsapplconclog>

Type CM_VIS12_appswindows3.log:
Routine AFPCAL received a return code of failure from routine spiini.

To reproduce error, source apps environment and run:

FNDCPUCF apps/apps 0 Y %AD_TOP%admintemplateadctxinf.tmp

Metalink Reference:
Subject: Concurrent Manager Service Fails To Start With Error Code 1067
Doc ID: 434444.1

Cause
The issue is caused because of uninitialized string (New Value #1) in the registry under APPL_CONFIG.

The uninitialized key is causing Concurrent Managers not to come up. In the Task manager FNDLIBR.exe comes up briefly and dies.

Solution
To implement the solution, please execute the following steps:

1. Go into the registry

2. Delete uninitialized key under APPL_CONFIG

3. Retest the issue by starting concurrent manager service

Ran AutoConfig on the database tier:

The above did not work, as there was no uninitialized key under APPL_CONFIG.

Stopped all Oracle application tier services and ran AutoConfig:
cd G:oracleVIS12instappsVIS12_appswindows3adminscripts
adautocfg.cmd

[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:

[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: G:oracleVIS12instappsVIS12_appswindows3admininstall
afcpctx.cmd INSTE8_PRF 1

AutoConfig is exiting with status 1

Metalink Reference:
Bug No: 3815440 (AFCPCTX.CMD FAILS WHEN AUTOCONFIG IS RUN)

Subject: After Doing a Clone All the Concurrent Managers Do Not Start
Doc ID: 555081.1

Subject: After Doing a Clone All the Concurrent Managers Do Not Start
Doc ID: 555081.1

Subject: 11i : Oracle Application Object Library Concurrent Manager Setup Test
Doc ID: 200360.1

Subject: Oracle9i Application Server (9iAS) with Oracle E-Business Suite Release 11i Troubleshooting
Doc ID: 216208.1

Running AutoConfig on the Application Tier

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:Documents and SettingsAdministrator>g:
G:>cd oracleVIS12appsapps_stappl
G:oracleVIS12appsapps_stappl>appsinf.cmd
ECHO is off.
ECHO is off.
Tue 11/03/2009 12:35 PM
appsinf.cmd exiting with status 0
ERRORCODE = 0 ERRORCODE_END
G:oracleVIS12appsapps_stappl>APPSVIS12_appswindows3.cmd
ECHO is off.
ECHO is off.
Tue 11/03/2009 12:35 PM
ECHO is off.
ECHO is off.
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
APPSORA.cmd exiting with status 0
G:oracleVIS12appsapps_stappl>cd ..
G:oracleVIS12apps>cd oracleVIS12instappsVIS12_appswindows3adminscripts
G:oracleVIS12instappsVIS12_appswindows3adminscripts>dir
Volume in drive G is ORAAPPSR12
Volume Serial Number is 381E-5906
Directory of G:oracleVIS12instappsVIS12_appswindows3adminscripts
10/30/2009  05:06 PM    <DIR>          .
10/30/2009  05:06 PM    <DIR>          ..
10/30/2009  05:06 PM             4,504 adalnctl.cmd
10/30/2009  05:06 PM             4,759 adapcctl.cmd
10/30/2009  05:06 PM             2,704 adautocfg.cmd
10/30/2009  05:06 PM             4,831 adcmctl.cmd
10/30/2009  05:06 PM             7,086 adexecsql.pl
10/30/2009  05:06 PM             4,901 adformsctl.cmd
10/30/2009  05:06 PM             4,767 adoacorectl.cmd
10/30/2009  05:06 PM             4,758 adoafmctl.cmd
10/30/2009  05:06 PM             4,467 adopmnctl.cmd
10/30/2009  05:06 PM            15,084 adpreclone.pl
10/30/2009  05:06 PM             5,399 adstpall.cmd
10/30/2009  05:06 PM             5,520 adstrtal.cmd
10/30/2009  05:06 PM             1,695 gsmstart.cmd
10/30/2009  02:20 PM    <DIR>          ieo
10/30/2009  05:06 PM             1,656 java.cmd
10/30/2009  05:07 PM             1,426 jtffmctl.cmd
10/30/2009  05:07 PM             6,535 mwactl.cmd
10/30/2009  05:07 PM             2,415 mwactlwrpr.cmd
17 File(s)         82,507 bytes
3 Dir(s)   1,052,397,568 bytes free
G:oracleVIS12instappsVIS12_appswindows3adminscripts>adautocfg.cmd
.
Starting up AutoConfig engine...
.
Tue 11/03/2009
12:41 PM
Enter the APPS user password:apps
The log file for this session is located at: G:oracleVIS12instappsVIS12_app
swindows3adminlog11031241adconfig.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location     : G:oracleVIS12instappsVIS12_appswin
dows3
Classpath                   : G:oracleVIS12appsapps_stcomnjavalib
appsborg2.zip;G:oracleVIS12appsapps_stcomnjavaclasses
Using Context file          : G:oracleVIS12instappsVIS12_appswindow
s3appladminVIS12_appswindows3.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Context Value Management Complete. Check Logs for details
ECHO is off.
ECHO is off.
Tue 11/03/2009 12:41 PM
1 file(s) copied.
Script Success, Applications Context update complete.
Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed with errors.
Completed execution of AutoConfig
G:oracleVIS12instappsVIS12_appswindows3adminscripts>

Running AutoConfig on the Database Tier

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:Documents and SettingsAdministrator>g:
G:>cd oracleVIS12dbtech_st10.2.0
G:oracleVIS12dbtech_st10.2.0>VIS12_appswindows3.cmd
ECHO is off.
ECHO is off.
Tue 11/03/2009 12:32 PM
VIS12_appswindows3.cmd exiting with status 0
G:oracleVIS12dbtech_st10.2.0>cd appsutilscriptsVIS12_appswindows3
G:oracleVIS12dbtech_st10.2.0appsutilscriptsVIS12_appswindows3> dir
Volume in drive G is ORAAPPSR12
Volume Serial Number is 381E-5906
Directory of G:oracleVIS12dbtech_st10.2.0appsutilscriptsVIS12_appswindows3
10/30/2009  03:08 PM    <DIR>          .
10/30/2009  03:08 PM    <DIR>          ..
10/30/2009  03:08 PM             2,690 adautocfg.cmd
10/30/2009  03:08 PM             5,262 adchknls.pl
10/30/2009  03:08 PM             3,420 addbctl.cmd
10/30/2009  03:08 PM             3,932 addlnctl.cmd
10/30/2009  03:08 PM             7,089 adexecsql.pl
10/30/2009  03:08 PM             3,441 adlsnodes.cmd
10/30/2009  03:08 PM            14,953 adpreclone.pl
10/30/2009  03:08 PM               837 adstopdb.sql
10/30/2009  03:08 PM             1,251 adstrtdb.sql
9 File(s)         42,875 bytes
2 Dir(s)   1,052,569,600 bytes free
G:oracleVIS12dbtech_st10.2.0appsutilscriptsVIS12_appswindows3> adautocfg.cmd
.
Starting up AutoConfig engine...
.
Tue 11/03/2009
12:34 PM
Enter the APPS user password:apps
The log file for this session is located at: G:oracleVIS12dbtech_st10.2.0a
ppsutillogVIS12_appswindows311031234adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : G:oracleVIS12dbtech_st10.2.0
Classpath                   : ;G:oracleVIS12dbtech_st10.2.0jdbclibojdbc14.jar;G:oracleVIS12dbtech_st10.2.0appsutiljavaxmlparserv2.jar;G:oracleVIS12dbtech_st10.2.0appsutiljava;G:oracleVIS12dbtech_st10.2.0jlibnetcfg.jar;G:oracleVIS12dbtech_st10.2.0jlibldapjclnt10.jar
Using Context file          : G:oracleVIS12dbtech_st10.2.0appsutilVIS12_appswindows3.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Context Value Management Complete. Check Logs for details
Updating rdbms version in Context file to db102
Updating rdbms type in Context file to 32 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
Completed execution of AutoConfig
G:oracleVIS12dbtech_st10.2.0appsutilscriptsVIS12_appswindows3>

AutoConfig is exiting with status 4 installing 11.5.9

Problem:

[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>
[INSTANTIATE PHASE]
AutoConfig could not successfully instantiate the following files:
Directory: /u0/oracle/TEST3/test3db/9.2.0/md/demo/orascv/doc
OraSCV.asc              INSTE8
Directory: /u0/oracle/TEST3/test3db/9.2.0/oem_webstage/readme
emreadme.txt            INSTE8
Directory: /u0/oracle/TEST3/test3db/9.2.0/relnotes/em
README_EM.txt           INSTE8
Directory: /u0/oracle/TEST3/test3db/9.2.0/sysman/doc/readme
README_em.txt           INSTE8
AutoConfig is exiting with status 4

Solution: Unset the LANG environment variable.

Metalink Reference:

Subject:  Sun.io.MalformedInputException For OraSCV.asc,emreadme.txt, README_EM.txt And README_em.txt While 11.5.9 Install

Doc ID:  262125.1

Unable to connect from client machine to new 11.5.10.2 instance

Problem:

After configuring TNS names on the client, tried to connect to new 11.5.10.2 instance but failed.

Solution:

Managed SQL Access enabled. To disable, follow these steps:

Step 1:        Login to E-Business Suite with the ‘System Administrator’ Responsibility.

Step 2:        Go to : Profile –> System

Step 3:        Query the Profile “SQLNet Access’ at Site Level.

Step 4:        Set the Profile with the Value : ALLOW_ALL

Step 5:        Save and Exit Oracle Applications

Step 6:        Run Autoconfig on the 9i ORACLE_HOME

cd <9i ORACLE_HOME>/appsutil/scripts/$CONTEXT_NAME

adautocfg.sh

Step 7:        Bounce the 9i SQLNet Listener :

cd <9i ORACLE_HOME>/appsutil/scripts/$CONTEXT_NAME

addlnctl.sh stop <SID>

addlnctl.sh start <SID>

Metalink Reference:

Subject:  11.5.10 New Features : Managed SQL*Net Access from Hosts

Doc ID:  Note:291897.1

AC-50480: Internal error occurred: java.sql.SQLException: ORA-00001: unique constraint (APPLSYS.FND_TNS_ALIASES_U2) violated

Problem:

When running AutoConfig on database tier, the follow error appears in the log file:

=======================================================
[ Config tool : /u0/oracle/testdb/9.2.0/appsutil/bin/adgentns.pl ]
   Command            : /u0/oracle/testdb/9.2.0/Apache/perl/bin/perl -I /u0/oracle/testdb/9.2.0/Apache/perl/lib/5.00503:/u0/oracle/testdb/9.2.0/Apache/perl/lib/site_perl/5.005:/u0/oracle/testdb/9.2.0/appsutil/perl  /u0/oracle/testdb/9.2.0/appsutil/bin/adgentns.pl PASSWORD  contextfile=/u0/oracle/testdb/9.2.0/appsutil/TEST_ebusinesstest.xml
   Action             : execute
SCRIPT RETURNED:
#######################################################
                   Generate Tns Names
#######################################################
    Using java command: /u0/oracle/testdb/9.2.0/jdk/bin/java
    JAVA_HOME         :
    Java version      : 1.3.1_11
    Classpath         : /u0/oracle/testdb/9.2.0/jdk/jre/lib/rt.jar:/u0/oracle/testdb/9.2.0/jdk/jre/lib/i18n.jar:/u0/oracle/testdb/9.2.0/jdk/lib/dt.jar:/u0/oracle/testdb/9.2.0/jdk/lib/tools.jar:/u0/oracle/testdb/9.2.0/jdbc/lib/classes12.jar:/u0/oracle/testdb/9.2.0/appsutil/java/xmlparserv2.zip:/u0/oracle/testdb/9.2.0/appsutil/java
Loading ORACLE_HOME environment from /u0/oracle/testdb/9.2.0
Logfile: /u0/oracle/testdb/9.2.0/appsutil/log/TEST_ebusinesstest/04061541/NetServiceHandler.log
AC-50480: Internal error occurred: java.sql.SQLException: ORA-00001: unique constraint (APPLSYS.FND_TNS_ALIASES_U2) violated
ORA-06512: at "APPS.FND_APP_SYSTEM", line 931
ORA-06512: at "APPS.FND_NET_SERVICES", line 399
ORA-06512: at "APPS.FND_NET_SERVICES", line 675
ORA-06512: at "APPS.FND_NET_SERVICES", line 1097
ORA-06512: at line 1
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END

Solution:

To implement the solution, please execute the following steps:

1. Be sure to have a valid backup.

2. Open an environment shell and set the Applications Environment

3. cd $AD_TOP/bin

4. perl <AD_TOP>/bin/adgentns.pl appspass=<APPSpwd> contextfile=<CONTEXT> -removesystem

5. Open a new shell and set the Database Environment

6. Run adconfig at the dbTier

7. Open a new shell and set the Applications Environment and also run autoconfig at the appsTier

Subject:  Autoconfig Fails with:ORA-00001: unique constraint (APPLSYS.FND_TNS_ALIASES_U2) violated

Doc ID:  416182.1

AC-50207: Fatal: Failed to execute one or more of the config tools during Context Value Management

Problem:

When running AutoConfig on application tier:

AC-50207: Fatal: Failed to execute one or more of the config tools during Context Value Management
Deactivating Context Value Management System.
Restored the Context file in :
        /u0/oracle/testappl/admin/TEST_ebusinesstest.xml
Aborting the running of Context Value Management
Error occured before Context Value Management could be completed
ERROR: Context Value Management Failed.
Terminate.

Solution:

LD_ASSUME_KERNEL not set.

export LD_ASSUME_KERNEL=2.4.19