cancel
Showing results for 
Search instead for 
Did you mean: 

Solution man 7.1 install CJS-00030 Assertion failed , FCO-00011 The step checkForInstanceNr error

Former Member
0 Kudos

Hello I am doing a Solution manager 7.1 install on HP_UX  using  sapinst version  : 720-2, patch 0, changelist 1405994

70SWPM10SP02

And get errors  CJS-00030  Assertion failed , FCO-00011  The step checkForInstanceNr  error  in the DEFINE PARAMETERS phase

With the following command  script 

#***********************************************************************

#* This script will start sapinst when running under root.             *

#* It sets environment variables, changes directories to the sapinst   *

#* installation directory, and then executes sapinst.                  *

#***********************************************************************

if [ $# -ne 2 ];  then

   echo "One parameter is required for this script - the virtual host name (like sapp11ci),"

   echo " and one parameter is required for the remote user (like p11adm)"

   exit 1

fi

#JAVA_HOME=/opt/java1.4; export JAVA_HOME

#PATH=/opt/java1.4:$PATH; export PATH

TMP=/usr/sap/put/P11/tmp; export TMP

#JCE_POLICY_ZIP=/sapcds/JCE_policy_files/jce_policy-1_4_2.zip; export JCE_POLICY_ZIP

cd /usr/sap/put/P11/SM71-P11-Installation/70SWPM10SP02

umask 022

./sapinst -nogui SAPINST_USE_HOSTNAME=$1 SAPINST_REMOTE_ACCESS_USER=$2

I Start install with :

grrapi26:kbailey1> sudo ./start_SM71_sapinst_Windows.ksh sapp11ci p11adm

Password:

Last successful login:       Wed Apr 24 17:06:45 EDT 2013

Last authentication failure: Mon Jul 23 00:30:00 EDT 2012 /dev/console

[==============================] / extracting...  done!

       * The automatic 'backup' configuration has been updated.

       * Future operations will update the backup without prompting.

       * The requested changes have been applied to the currently

         running configuration.

NOTE:    No change to the tunable 'maxdsiz_64bit' was needed.

Tunable              Value  Expression   Changes

maxdsiz_64bit  17179869184  17179869184  Immed

-----------------------------------------------------------------------------

You are starting SAPinst using SAPINST_REMOTE_ACCESS_USER option.

Using this option within a GUI client requires the GUI user to be a trusted user because the installation itself is running within privileged level.

Please refer to SAP Note #1745524.

-----------------------------------------------------------------------------

Please confirm (y/n):y

SAPinst build information:

--------------------------

abi version : 722

make variant: 720_REL

build       : 1405994

compile time: Apr  9 2013 17:45:28

Starting GUIServer using:

  SAPinst port         : pipe:6:10

  GUIServer port       : 21212

  GUI autostart        : off

  GUI mode             : normal

  command       : /usr/sap/put/P11/tmp/sapinst_exe.3395.1366838483/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /usr/sap/put/P11/tmp/sapinst_exe.3395.1366838483/JAR/instgui.jar SDTServer rootdir=/root/.sdtgui config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10 guistart=off

protecting fds 6 and 10.

load resource pool /usr/sap/put/P11/SM71-P11-Installation/70SWPM10SP02/resourcepool.xml

Apr 24, 2013 5:21:52 PM [Info]: *************************

Apr 24, 2013 5:21:52 PM [Info]: Starting Server

Apr 24, 2013 5:21:52 PM [Info]: Reading server configuration.

Apr 24, 2013 5:21:52 PM [Info]: Reading service configuration SAPinstService.

Apr 24, 2013 5:21:52 PM [Info]: Configuring LogManager ...

Apr 24, 2013 5:21:52 PM [Info]: ************************************************

Apr 24, 2013 5:21:52 PM [Info]: Starting SL Controller listening on port 21212 .

Apr 24, 2013 5:21:52 PM [Info]: StorageService switched off.

Apr 24, 2013 5:21:52 PM [Info]: Initializing SecurityManager ...

guiengine: No GUI server connected; waiting for a connection on host grrapi26, p

Apr 24, 2013 5:21:55 PM [Info]: Server certificate fingerprint is 91 24 83 05 87

Apr 24, 2013 5:21:55 PM [Info]: HTTPManager switched off.

Apr 24, 2013 5:21:55 PM [Info]: WebstartService switched off.

Apr 24, 2013 5:21:55 PM [Info]: RoleService switched off.

Apr 24, 2013 5:21:55 PM [Info]: AlertService switched off.

Apr 24, 2013 5:21:55 PM [Info]: NotesService switched off.

Apr 24, 2013 5:21:55 PM [Info]: ProcessService switched off.

Apr 24, 2013 5:21:55 PM [Info]: MIDService switched off.

Apr 24, 2013 5:21:55 PM [Info]: Starting FileService ...

Apr 24, 2013 5:21:55 PM [Info]: LogService switched off.

Apr 24, 2013 5:21:55 PM [Info]: MailService switched off.

Apr 24, 2013 5:21:55 PM [Info]: Starting services ...

Apr 24, 2013 5:21:55 PM [Info]: Starting service "SAPinstService" ...

Apr 24, 2013 5:21:56 PM [Info]: Service "SAPinstService" started

Apr 24, 2013 5:21:56 PM [Info]: Services started.

Apr 24, 2013 5:21:56 PM [Info]: SL Controller started.

Perform remote install  from desktop 

C:\downloads\SAPINSTGUI_EXE_FOR_WINDOWS>sapinstgui.exe -host sapp11ci

Get the following error in the Define parameters section :

An error occurred while processing option SAP Solution Manager 7.1 Support Release 1 > SAP Systems > Oracle > Central System > Central System( Last error reported by the step: Assertion failed: in function (p_hostName) { Trace("NetworkMgt", "NetworkMgt.isHostLocal(", p_hostName, ")"); var host = HostName.get(p_hostName); var hostname = host.toString(); ASSERT(arguments.callee, hostname != "", "NetworkMgt.isHostLocal(hostName): parameter hostName must be defined, but is '" + p_hostName + "'!"); var retval; if (this._useStringCompare()) { retval = host.equals(installer.getHostName()) || host.equals(this.getRealHostName()); } else { retval = eval(this._callModule("isHostLocal", {hostName:hostname})); } Trace("NetworkMgt", "NetworkMgt.isHostLocal(", hostname, ") done: ", retval); return retval; } NetworkMgt.isHostLocal(hostName): parameter hostName must be defined, but is ''!).

Here is part of log file up to error  (i can post full if necessary)

INFO       2013-04-24 17:31:32.832 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:31:32.882 [sixxcstepexecute.cpp:855]

Execute step setDefaults of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_getJavaHome|ind|ind|ind|ind|java|0

INFO       2013-04-24 17:31:33.512 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:31:33.552 [sixxcstepexecute.cpp:855]

Execute step getCD of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_getJavaHome|ind|ind|ind|ind|java|0

INFO       2013-04-24 17:31:34.222 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:31:34.282 [sixxcstepexecute.cpp:855]

Execute step verifyJavaHome of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_getJavaHome|ind|ind|ind|ind|java|0

INFO       2013-04-24 17:31:35.172 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:31:35.222 [sixxcstepexecute.cpp:855]

Execute step verifyPolicy of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_getJavaHome|ind|ind|ind|ind|java|0

INFO       2013-04-24 17:31:36.162 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:31:36.222 [sixxcstepexecute.cpp:855]

Execute step setNWOption of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_getJavaHome|ind|ind|ind|ind|java|0

INFO       2013-04-24 17:31:37.182 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:31:38.2 [sixxcstepexecute.cpp:855]

Execute step collect of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_GetSidNoProfiles|ind|ind|ind|ind|getSid|0

INFO       2013-04-24 17:31:39.292 [iaxxclib.cpp:88]

           CChangeCWD::CChangeCWD(const iastring & /usr/sap/put/P11/tmp/sapinst_exe.3395.1366838483, PLogBook  pLogBook)

Working directory changed to /usr/sap/put/P11/tmp/sapinst_exe.3395.1366838483.

=>sapparam(1c): No Profile used.

=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

INFO       2013-04-24 17:31:39.342 [iaxxclib.cpp:114]

           CChangeCWD::~CChangeCWD()

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

WARNING    2013-04-24 17:32:01.002

           CJSlibModule::writeWarning_impl()

Cannot determine SAP system ID from profile directory /usr/sap/P11/SYS/profile: directory does not exist.

WARNING    2013-04-24 17:32:01.012

           CJSlibModule::writeWarning_impl()

Cannot determine SAP system ID from profile directory /usr/sap/P11/SYS/profile: directory does not exist.

INFO       2013-04-24 17:32:01.102

           CJSlibModule::writeInfo_impl()

Found these instances:

sid: PU1, number: 55, name: SCS55, host: sappu1ci, Service definition file /usr/sap/sapservices

sid: PU1, number: 54, name: DVEBMGS54, host: , Service definition file /usr/sap/sapservices

sid: S01, number: 50, name: SCS50, host: saps01ci, Service definition file /usr/sap/sapservices

sid: S01, number: 51, name: DVEBMGS51, host: , Service definition file /usr/sap/sapservices

sid: PU1, number: 54, name: DVEBMGS54, host: sappu1ci, Profile directory /usr/sap/PU1/SYS/profile

sid: S01, number: 51, name: DVEBMGS51, host: saps01ci, Profile directory /usr/sap/S01/SYS/profile

INFO       2013-04-24 17:32:01.872 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:32:01.922 [sixxcstepexecute.cpp:855]

Execute step getMounts of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_GetSidNoProfiles|ind|ind|ind|ind|getSid|0

INFO       2013-04-24 17:32:02.562 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:32:02.642 [sixxcstepexecute.cpp:855]

Execute step updateMountInfo of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_GetSidNoProfiles|ind|ind|ind|ind|getSid|0

INFO       2013-04-24 17:32:03.292 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:32:03.342 [sixxcstepexecute.cpp:855]

Execute step getSID of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_GetSidNoProfiles|ind|ind|ind|ind|getSid|0

INFO       2013-04-24 17:32:38.103 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:32:38.473 [sixxcstepexecute.cpp:855]

Execute step fillContext of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_GetSidNoProfiles|ind|ind|ind|ind|getSid|0

INFO       2013-04-24 17:32:39.343 [syuxccuren.cpp:562]

           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath& /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS)

           lib=syslib module=syslib

Working directory changed to /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS.

INFO       2013-04-24 17:32:39.733 [sixxcstepexecute.cpp:855]

Execute step checkForInstanceNr of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_GetSidNoProfiles|ind|ind|ind|ind|getSid|0|NW_checkModel|ind|ind|ind|ind|check|0

ERROR      2013-04-24 17:32:40.133 [iaxxinscbk.cpp:277]

CJS-00030  Assertion failed: in

function (p_hostName) {

    Trace("NetworkMgt", "NetworkMgt.isHostLocal(", p_hostName, ")");

    var host = HostName.get(p_hostName);

    var hostname = host.toString();

    ASSERT(arguments.callee, hostname != "", "NetworkMgt.isHostLocal(hostName): parameter hostName must be defined, but is '" + p_hostName + "'!");

    var retval;

    if (this._useStringCompare()) {

        retval = host.equals(installer.getHostName()) || host.equals(this.getRealHostName());

    } else {

        retval = eval(this._callModule("isHostLocal", {hostName:hostname}));

    }

    Trace("NetworkMgt", "NetworkMgt.isHostLocal(", hostname, ") done: ", retval);

    return retval;

}

  1. NetworkMgt.isHostLocal(hostName): parameter hostName must be defined, but is ''!

ERROR      2013-04-24 17:32:40.133

           CJSlibModule::writeError_impl()

MUT-03025  Caught ESAPinstException in module call: .

ERROR      2013-04-24 17:32:40.453 [sixxcstepexecute.cpp:995]

FCO-00011  The step checkForInstanceNr with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_GetSidNoProfiles|ind|ind|ind|ind|getSid|0|NW_checkModel|ind|ind|ind|ind|check|0|checkForInstanceNr was executed with status ERROR ( Last error reported by the step: Assertion failed: in

function (p_hostName) {

    Trace("NetworkMgt", "NetworkMgt.isHostLocal(", p_hostName, ")");

    var host = HostName.get(p_hostName);

    var hostname = host.toString();

    ASSERT(arguments.callee, hostname != "", "NetworkMgt.isHostLocal(hostName): parameter hostName must be defined, but is '" + p_hostName + "'!");

    var retval;

    if (this._useStringCompare()) {

        retval = host.equals(installer.getHostName()) || host.equals(this.getRealHostName());

    } else {

        retval = eval(this._callModule("isHostLocal", {hostName:hostname}));

    }

    Trace("NetworkMgt", "NetworkMgt.isHostLocal(", hostname, ") done: ", retval);

    return retval;

}

  1. NetworkMgt.isHostLocal(hostName): parameter hostName must be defined, but is ''!).

INFO       2013-04-24 17:32:40.673 [syuxcpath.cpp:471]

           CSyPath::createFile() lib=syslib module=syslib

Creating file /usr/sap/put/P11/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.xml.

WARNING    2013-04-24 17:32:41.863 [iaxxejshlp.cpp:150]

Could not get property IDs of the JavaScript object.

ERROR      2013-04-24 17:32:41.873 [iaxxejsctl.cpp:367]

FJS-00010  Could not get value for property .

Has anyone had these types of errors regarding “checkForInstanceNr” ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

resolved

/usr/sap/sapservices  had a space in the profile name

SHLIB_PATH=/usr/sap/PU1/DVEBMGS54/exe:$SHLIB_PATH; export SHLIB_PATH; /usr/sap/PU1/DVEBMGS54/exe/sapstartsrv pf=/usr/sap/PU1/

SYS/profile/START_DVEBMGS54_ sappu1ci -D -u pu1adm

Former Member
0 Kudos

I had the same issue with installing NW 7.50 (on IBM i)

I resolved it by completing the defualt profile

/usr/sap/GWD/SYS/profile/DEFAULT.PFL

SAPDBHOST =

was completed by me to

SAPDBHOST = <DB Host>

I also had to adjust to the following:

rdisp/mshost = SAPDEV04
rdisp/msserv = sapmsGWD

rdisp/msserv_internal = 3948

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

hostName must be defined, but is '" + p_hostName + "'!");

have you checked, any where defined the host name with any special character like !, correct and check again,

Regards,

Jansi