Wikipedia

Search results

Monday 23 June 2014

AIX: 0403-012 A test command parameter is not valid

Autoconfig Error: adcvm.sh[211]: "AIX: 0403-012 A test command parameter is not valid" (Doc ID 1185307.1)

In this Document
Symptoms
Cause
Solution
References

APPLIES TO:

Oracle Applications Technology Stack - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]
Oracle Applications DBA - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]
Generic UNIX
adcvm.sh
Checked for relevance on 19-MAR-2013
SYMPTOMS

After applying a Patch which delivers a new version of "$AD_TOP/bin/adcvm.sh", attempting to run Autoconfig on the APPS-Tier, there is an error being thrown to the screen (STDOUT), but the error does not appear in the log file :

...

/test/d01/oracle/testappl/ad/11.5.0/bin/adcvm.sh[211]: AIX: 0403-012 A test command parameter is not valid.
...

This error has been identified on an AIX System but it could be happen also on other Unix Instances.

 

CAUSE

A code-bug (Bug 10054410)  in the file $AD_TOP/bin/adcvm.sh causes the failure when the file is run under the Korn shell, "ksh". The script works properly when being run under Bourne ("sh", "bsh") and bash (Bourne-Again) shells.

SOLUTION

A) -For 11i please download patch 10054410 AIX: 0403-012 A TEST COMMAND PARAMETER IS NOT VALID.

    -Review the README file

    -Apply the patch in TEST environment

    -Retest the issue.


B) If patch can not be applied as a workaround, the following steps can be used.

Workaround (preferred) 1) 

Run Autoconfig in a Bash or Bourne shell. 

Workaround 2) 
2.1) Backup your adcvm.sh.
2.2) Modify the file adcvm.sh as follows:

from:


if ((test "$pltform" = "Solaris") || (test "$pltform" = "Intel_Solaris"));

to:


if (test "$pltform" = "Solaris") || (test "$pltform" = "Intel_Solaris");

3. Save, and rerun the script.

No comments:

Post a Comment