SpectroSERVER hangs at model load
search cancel

SpectroSERVER hangs at model load

book

Article ID: 376325

calendar_today

Updated On:

Products

DX NetOps CA Spectrum

Issue/Introduction

The SpectroSERVER hangs at the model load stage and does not start model activation.

You will see the server load the models however you never get the prompt back:


      Number of models loaded      : 498000

           Number of models loaded      : 499000

           Number of models loaded      : 500000

           Number of models loaded      : 501000

           Number of models loaded      : 502000

           Number of models loaded      : 503000

           Number of models loaded      : 504000

           Number of models loaded      : 505000

           Number of models loaded      : 506000

           Number of models loaded      : 507000

           Number of models loaded      : 507110

 

To determine what is occurring, you can add the following debug to the $SPECROO/SS/.vnmrc file

debug=true

You will need to crash the SpectroSERVER as using stopSS.pl will not work.

Once crashed, reload a previously saved SSdb savefile.

Start the SS and review the SS/VNM.OUT for stack dumps.  We specifically found this:

 


IHHostConfig::get_policy_results(CsModelHandleList*, char const*, CsError::CsError_e&) [/opt/CA/Spectrum/SS/Modules/SA-SCMSS.so.1]
IHHostConfig::handle_verify_policy_request(CsModelHandle const&, CsModelHandle*, unsigned char*, char**) [/opt/CA/Spectrum/SS/Modules/SA-SCMSS.so.1]
IHHostConfig::trig_action(CsModelHandle const&, CsAction const*) [/opt/CA/Spectrum/SS/Modules/SA-SCMSS.so.1]
CsModelType::trig_action(CsModelHandle const&, CsAction const*, CsVPConnHandle const&) [/opt/SPECTRUM/lib/../SS/libsskrnl.so.1]
CsModel::action(CsAction*, CsVPConnHandle const&, CsSecurityIf const*) [/opt/SPECTRUM/lib/../SS/libsskrnl.so.1]
CsModelIf::action(CsAction*, CsVPConnHandle const&, CsSecurityIf const*) const [/opt/SPECTRUM/lib/../SS/libsskrnl.so.1]
CsVnmModelHandle::action(CsAction*, CsConnHandle const&) const [/opt/SPECTRUM/lib/../SS/libIHapi.so.1]
CsVnmModelHandle::action(CsAction*) const [/opt/SPECTRUM/lib/../SS/libIHapi.so.1]
IHPolicyManager::verify_policy_on_mh_list(CsModelHandle const&, CsOIDValueList&, unsigned char) [/opt/CA/Spectrum/SS/Modules/SA-SCMSS.so.1]
IHPolicyManager::verify_policy_on_devicefamily(CsModelHandle const&, CsModelHandle const&) [/opt/CA/Spectrum/SS/Modules/SA-SCMSS.so.1]
IHPolicyManager::has_policy_rel_change(CsModelHandle const&, CsModelHandle const&, CsMTypeHandle const&, CsRelE

Cause

Typo in the $SPECROOT/lib/SDPM/partslist/NCMSERV.idb file

Resolution

As of 23.3.12 the NCMSERV.idb file ARGV line has this format:

ARGV;$SPECROOT/bin/JavaApps/bin/ncmservice<CSEXE> -Xms256M -Xmx4096M -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -Dvbroker.agent.enableLocator=false -Dvbroker.orb.admDir=$SPECROOT/bin/VBNS -D
borland.enterprise.licenseDir=%BES_LIC_DIR% -Dborland.enterprise.licenseDefaultDir=%BES_LIC_DIR% -DSPECROOT=%SPECROOT% com.aprisma.spectrum.scmd.ScmService;