‘adop -status’ Command Produces a “FATAL ERROR”

ERROR

path=../~/$ adop -status

Enter the password:FATAL ERROR
PROGRAM : (…/R12/fs1/dir=/appl/ad/12.0.0/bin/adzdoptl.pl)
TIME : Thu Feb 21 09:33:54 2019
FUNCTION: TXK::SQLPLUS::setConnectInfo [ Level 2 ]
MESSAGES:
Argument must be a scalar

STACK TRACE
at /ofpr02/R12/fs1/dir=/appl/au/12.0.0/perl/TXK/Error.pm line 168
TXK::Error::abort(‘TXK::Error’, ‘HASH(0x103b6da60)’) called at …/R12/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Util.pm line 292
TXK::Util::getScalarArg(‘TXK::Util’, ‘user’, undef) called at …/R12/fs1/EBSapps/appl/au/12.0.0/perl/TXK/SQLPLUS.pm line 259
TXK::SQLPLUS::setConnectInfo(‘TXK::SQLPLUS=HASH(0x102b7ada0)’, ‘HASH(0x103b6db68)’) called at …/R12/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 388
ADOP::GlobalVars::_validateUsrCredentials() called at …/R12/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 458
ADOP::GlobalVars::_getADOPStatus(undef, undef) called at …/R12/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 2265
ADOP::GlobalVars::_ValidateArgs() called at …/R12/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 3111
ADOP::GlobalVars::ValidateArgs(‘ADOP::GlobalVars’) called at …/R12/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/AdopMain.pm line 1842
ADOP::AdopMain::adopMain(‘ADOP::AdopMain’) called at …/R12/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl line 148

CAUSE :

The error is caused when the value of s_apps_user in the $CONTEXT_FILE has “apps” (in lower case).
With this condition the command, ‘adop -status’, produces an error.

  1. Please use the Context Editor and change the value for s_apps_user from “apps” (lower case) to “APPS” (upper case).
  2. Run AutoConfig.
  3. Execute:
    $ adop -status

Leave a Comment

Your email address will not be published. Required fields are marked *