Skip to Content

Hello Everyone!!

I recently came across a issue related to SUM. It got stopped in stage “PREP_PRE_CHECK/INSTANCELIST_INIT

The error which I received was :

SYSTEM MANAGER: instance list does not contain SUM central instance

 

==> The version of SUM I was using was : SUM 2.0 SP0 (PL4)

 

 

The steps to reproduce the issue are :

Step 1: Start SUM (SUMSTART confighostagent)

Step 2: Provide stack.xml file generated in maintenance planner

 

 

My environment :

 

This trouble ticket was created by SAPup on <DATE/TIME>——————————————————-

——SAPup broke during phase INSTANCELIST_INIT in module PREP_PRE_CHECK / Checks the system statusError Message: Last error code set:SYSTEM MANAGER: instance list does not contain SUM central instance.

 

————————————————————-Summary of SAPup:————————————————————-SAPup Release: lmt_020SAPup Version: SAPup release lmt_020 version 53.000

————————————————————-Summary of operating system details:————————————————————-OS Type: Linux X86_64OS Version: 2.17-————————————————————Summary of database details:————————————————————-Database Type: hdbDatabase Version: ————————————————————-

 

ANALYSIS :

 

When I looked into the SAPUp.eco log I could find the following entries:

 

1 ETQ399 SYSTEM MANAGER: sapcontrol feature -systempki is available.

// My first clue!!

3 ETQ120 <DATE/TIME>: PID 57041 execute ‘/usr/sap/<SID>/SYS/exe/uc/linuxx86_64/sapcontrol -prot NI_HTTP -host <hostname> -nr <instance number>’, output written to ‘/install/SUM/abap/log/SAPCONTROL_FEATURE.OUT’.

3WETQ122 <DATE/TIME>: PID 57041 exited with status 1 (time: 0.0/ 0.0/ 0.0/27MB real/usr/sys/maxmem)1 ETQ399 SYSTEM MANAGER: sapcontrol feature sapcontrol (Version: is available.1

ETQ399 SYSTEM MANAGER: enhance instance list for Instance Number: 00, Instance Host: <hostname>1 ETQ399 SYSTEM MANAGER: enhance instance list for Instance Number: 01, Instance Host: <hostname>1

ETQ399 SYSTEM MANAGER: Instance list contains type: CI_NO|DIAG_NO|WEBDISP.1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_NO|DIAG_YES.

// Here I could see somehow the ASCS is not being detected ?? // 
/* Very strange!! */

1EETQ399 SYSTEM MANAGER: initialize instance list has failed.1EETQ399 SYSTEM MANAGER: instance list does not contain SUM central instance. <====================1EETQ399 Last error code set is: SYSTEM MANAGER: instance list does not contain SUM central instance. <<==========
// Here I could notice the error //

1EETQ204 Upgrade phase “INSTANCELIST_INIT” aborted with severe errors (“<DATE/TIME>”)
// This is the phase where the error occurred //

 

Now as next steps my first clue was to check if the sapcontrol detected ASCS instance!!

This apparently lead to conclusion too 🙂

 

I checked with sapcontrol command using the systempki as with 742 sapstartsrv always initializes the System PKI and offers an https based access to his web service methods with a certificate of the system PKI. Sapstartsrv also uses the system PKI to make calls to another sapstartsrv instance in the same system.

A blog is nicely written on this topic -> https://blogs.sap.com/2015/04/04/secure-server-communication-in-sap-netweaver-as-abap/

 

Back to to topic!!!

 

When I checked with sapcontrol with systempki I could find the result as:
sapcontrol -host <hostname> -nr <instance number> -systempki /usr/sap/<SID>/SYS/profile -function GetProcessList

and the output was :

“PKI library initialization failed”

Now , this is strange output.

 

After this my next step was to check the “Master Note i.e 2200230 – Problems with use of system PKI ” (this note is very beautifully written and contains much of the information).

I could notice a strange thing on this.

Whenever I ran the sapcontrol command with systempki command with just the “profile” for example:sapcontrol -host <hostname> -nr <instance number> -systempki /usr/sap/<SID>/SYS/profile -function GetProcessList

 

 

It FAILED.

 

It strike to me that something is wrong here.

I had hit a idea here!!

Why was I using the work ‘profile’ here ??

Shouldn’t I be giving the complete path of the profile here ??

And there I was with the solution!!  🙂

 

It worked….

When I issued the sapcontrol command with systempki option I got my results..

The final command is:

“sapcontrol -host <hostname> -nr <instance number> -systempki /usr/sap/<SID>/SYS/profile/<complete path to profile> -debug -function GetProcessList”

With this I could get the output..

Now the main part is why wasn’t the sapcontrol returning the output with just the profile and it required the complete path to profile??

The reason was that apparently sapcontrol cannot take the profile value directly.If the complete profile name is not specified then sapcontrol will use the sapparam build in default values which will not work giving the error.

 

So to fix the issue we need to specify the complete path of profile.

 

After this I could get past the initial phase i.e “PREP_PRE_CHECK/INSTANCELIST_INIT”

 

I hope you this blog answers some questions regarding to the issues being faced when you encounter this problem!!

 

MAY THE FORCE BE WITH YOU!!

 

Please let me know in case any queries!!!

 

 

Regards,

Manjunath Hanmantgad

 

 

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Juan Jose Piaggio

    Hi Manjunath Hanmantgad,

    Thanks for this blog, but I have a question…

     

    Could you explain where did you put the complete path of profile?

    “So to fix the issue we need to specify the complete path of profile.”

     

    After this I could get past the initial phase i.e “PREP_PRE_CHECK/INSTANCELIST_INIT”

     

    Thanks

    (0) 
    1. Manjunath Hanmanthgad

      Hello Juan,

      Please add the complete profile path in the command:

      “sapcontrol -host <hostname> -nr <instance number> -systempki /usr/sap/<SID>/SYS/profile/<complete path to profile> -function XXXX”

       

      Alternately the command to update or regenarte the systempki is : sapcontrol -nr <NR> -function UpdateSystemPKI 1

       

       

      Kind regards,

      Manjunath Hanmantgad

       

      (0) 
  2. Juan Jose Piaggio

    Hi Manjunath,
    Thanks for your replay, I want to know how I can get past the initial phase “PREP_PRE_CHECK/INSTANCELIST_INIT”

    I executed the command but when try to continue in SUM … same error

    Restart the SUM, and same error.

    I need to change something? Put the path in any parameter file?
    Thanks for your help

    (0) 
    1. Manjunath Hanmanthgad

      Hello Juan,

      Are you getting the error : sapcontrol feature -systempki is available ?

      If yes then we would need to check starting from the SUM logs.

      Also please let me know what is the output when you run the command : sapcontrol -nr <NR> -function UpdateSystemPKI 1

       

      Kind regards,

      Manjunath

      (0) 
      1. Juan Jose Piaggio

        Yes, this is my complete log (INSTANCELIST_INIT.LOG)

         

        1 ETQ201 Entering upgrade-phase “PREP_PRE_CHECK/INSTANCELIST_INIT” (“20180724143253”)
        2 ETQ367 Connect variables are set for standard instance access
        4 ETQ399 System-nr = ’00’, GwService = ‘sapgw00’ Client = ‘000’
        1 ETQ200 Executing actual phase ‘PREP_PRE_CHECK/INSTANCELIST_INIT’.
        1 ETQ399 Phase arguments:
        2 ETQ399 Arg[0] = ‘INIT_LIST’
        1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlManager entered.
        1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlInstanceUnix entered.
        1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlInstanceUnix exit.
        1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlManager exit.
        1 ETQ399 SYSTEM MANAGER: create instance list.
        1 ETQ399 SYSTEM MANAGER: featureCheck
        1 ETQ399 SAPCONTROL MANAGER: getFeatureList with dumpfile: /usr/sap/SUM/abap/log/SAPCONTROL_FEATURE.OUT
        3 ETQ120 20180724143253: PID 99281 execute ‘/usr/sap/TGP/SYS/exe/uc/linuxx86_64/sapcontrol -prot NI_HTTP -host sapgwprod -nr 00’,
        output written to ‘/usr/sap/SUM/abap/log/SAPCONTROL_FEATURE.OUT’.
        3WETQ122 20180724143253: PID 99281 exited with status 1 (time: 0.0/ 0.0/ 0.0/35MB real/usr/sys/maxmem)
        1 ETQ399 SYSTEM MANAGER: sapcontrol feature -systempki is available.
        1 ETQ399 SAPCONTROL MANAGER: getSystemInstanceList with dumpfile: /usr/sap/SUM/abap/log/SAPCONTROL_INSTANCELIST.OUT
        3 ETQ120 20180724143253: PID 99283 execute ‘/usr/sap/TGP/SYS/exe/uc/linuxx86_64/sapcontrol -prot NI_HTTP -host sapgwprod -nr 00 -f
        unction GetSystemInstanceList’, output written to ‘/usr/sap/SUM/abap/log/SAPCONTROL_INSTANCELIST.OUT’.
        3 ETQ122 20180724143253: PID 99283 exited with status 0 (time: 0.0/ 0.0/ 0.0/35MB real/usr/sys/maxmem)
        1 ETQ399 SYSTEM MANAGER: Initializing StartStopManager.
        1 ETQ399 SYSTEM MANAGER: Instantiated with SC.
        1 ETQ399 SYSTEM MANAGER: featureCheck
        1 ETQ399 SAPCONTROL MANAGER: getFeatureList with dumpfile: /usr/sap/SUM/abap/log/SAPCONTROL_FEATURE.OUT
        3 ETQ120 20180724143253: PID 99286 execute ‘/usr/sap/TGP/SYS/exe/uc/linuxx86_64/sapcontrol -prot NI_HTTP -host sapgwprod -nr 00’,
        output written to ‘/usr/sap/SUM/abap/log/SAPCONTROL_FEATURE.OUT’.
        3WETQ122 20180724143253: PID 99286 exited with status 1 (time: 0.0/ 0.0/ 0.0/35MB real/usr/sys/maxmem)
        1 ETQ399 SYSTEM MANAGER: sapcontrol feature sapcontrol (Version: is available.
        1 ETQ399 SYSTEM MANAGER: enhance instance list for Instance Number: 00, Instance Host: ip-10-3-23-222
        1 ETQ399 SYSTEM MANAGER: enhance instance list for Instance Number: 01, Instance Host: ip-10-3-23-222
        1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_NO|DIAG_YES.
        1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_NO|DIAG_NO.
        1EETQ399 SYSTEM MANAGER: initialize instance list has failed.
        1EETQ399 SYSTEM MANAGER: instance list does not contain SUM central instance.
        1EETQ399 Last error code set is: SYSTEM MANAGER: instance list does not contain SUM central instance.
        1EETQ204 Upgrade phase “INSTANCELIST_INIT” aborted with severe errors (“20180724143254”)

         

        I execute the command as <sid>adm:

        sapcontrol -nr 00 -function UpdateSystemPKI 1

        24.07.2018 14:26:00
        UpdateSystemPKI
        OK

         

        (0) 
        1. Juan Jose Piaggio

          I solved the issue!

           

          Apparently SAP take the hostname in 2 ways..

          if you check the log (for example):

          3 ETQ120 20180724143253: PID 99286 execute ‘/usr/sap/TGP/SYS/exe/uc/linuxx86_64/sapcontrol -prot NI_HTTP -host sapgwprod -nr 00’,

          1 ETQ399 SYSTEM MANAGER: enhance instance list for Instance Number: 00, Instance Host: ip-10-3-23-222
          1 ETQ399 SYSTEM MANAGER: enhance instance list for Instance Number: 01, Instance Host: ip-10-3-23-222

          The hosts are sapgwprod (real) and ip-10-3-23-222 (initial hostname of the machine)

          The service sapstartsrv use the hostname ip-10-3-23-222

          I check the directory /sapmnt/TGP/global/sapcontrol and found file

          -rw-r–r–. 1 tgpadm sapsys 39 Jul 24 16:06 1_50113_50114_24_2_01_ip-10-3-23-222

          more 1_50113_50114_24_2_01_ip-10-3-23-222
          Host:ip-10-3-23-222 Pid:2798

          ps -ef |grep 2798
          tgpadm 2798 1 0 Jul06 ? 00:02:29 /usr/sap/TGP/ASCS01/exe/sapstartsrv pf=/usr/sap/TGP/SYS/profile/TGP_ASCS01_sapgwprod -D -u tgpadm

          Restart SAP instance, Kill sapstartsrv and now is working fine!!

          (0) 

Leave a Reply