We were using Software Update Manager ( SUM) 10 SP14 and we got below error during INPUT-OS-USER-PASSWORDS phase of SUM while doing EHP7 upgrade in our Portal instance :

___
[Error ]: The update tool was unable to connect to the SAPControl web service on any of the detected instance numbers. Check that the SAP Start Services are running for all instances in the cluster. See SAP Note 1401712 for further information. The update tool is unable to detect the instances information for instance number: 0 on host: null via the SAPCONTROL web service API. Either the SAP Start Service associated with this instance is not running or a required functionality is not supported by the current version of the Kernel. See SAP Note 1401712 for further information. Sapcontrol client could not perform action get instance properties on instance 32 Return code condition success evaluated to false for process sapcontrol for action get insta
___


LOG FILE PATH : /<SUM Dir>/sdt/log/SUM/sdt/log/SUM/INPUT-OS-USER-PASSWORDS_XX.LOG


where, SAPCONTROL_GETINSTANCEPROPERTIES_XX_XX.OUT log shows info as:
___________

Failed to initialize CommonCryptoLib (C:\usr\sap\SID\J32\exe)

SapSSLInit failed

___________

Wherein, sapcontrol throws similar error for other webmethods such as GetProcessList,AccessCheck Stop using NI_HTTPS

We checked further using debug option for sapcontrol as below

sapcontrol -nr <xx> -host <hostname> -user <sidadm> <SecureField> -prot NI_HTTPS -debug -function GetInstanceProperties ,throws traces as

——–

[Thr 11824] Tue Aug 09 00:23:10 2016

[Thr 11824] NiIInit: allocated nitab (2048 at 0000000003CE0080)

[Thr 11824] NiIHSBufInit: initialize hostname buffer (IPv4)

[Thr 11824] NiHLInit: alloc host buf (100 entries)

[Thr 11824] NiSrvLInit: alloc serv bufs (100 entries)

[Thr 11824] ***LOG Q0I=> NiPGetServByName: ‘sapctrls32’ not found: getaddrinfo (

10109: WSATYPE_NOT_FOUND: The specified class was not found.) [D:/depot/bas/742_

REL/src/base/ni/ninti.c 940]

[Thr 11824] NiSrvLGetServNo: service name ‘sapctrls32’ not found by operating sy

stem

[Thr 11824] <<- SapSSLSetTraceFile()==SAP_O_K

[Thr 11824] ->> SapSSLInit(read_profile=0, &init_params=0000000002250EF0, &retur

n_reserved=0000000000000000)

[Thr 11824] =================================================

[Thr 11824] = SSL Initialization    platform tag=(ntamd64-msc16)

[Thr 11824] =   (742_REL,Jun 29 2015,mt,ascii-uc,SAP_UC/size_t/void* = 16/64/64)

[Thr 11824]   SapISSLComposeFilename(ssl_lib): using default “sapcrypto.dll”

[Thr 11824] DlLoadLib success: LoadLibrary(“sapcrypto.dll”), hdl 0, count 1, add

r 00007FFA5A420000

[Thr 11824] DlLoadFunc(): successful GetProcAddress(“SSL_API_startup”) from “sapcrypto.dll”

[Thr 11824] DlLoadFunc(): successful GetProcAddress(“SSL_API_cleanup”) from “sapcrypto.dll”

…..

………….

[Thr 11824] DlLoadFunc(): successful GetProcAddress(“sap_load_memory_PSE”) from “sapcrypto.dll”

Failed to initialize CommonCryptoLib

[Thr 11824] *** ERROR => secussl_startup_check() failed! [ssslsecu.c   1746]

[Thr 11824] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[Thr 11824] *** ERROR => MULTI-THREADED SAPCRYPTOLIB REQUIRED [ssslsecu.c   1796]

[Thr 11824] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[Thr 11824] DlUnloadLib() successful FreeLibrary(“sapcrypto.dll”) hdl 0

[Thr 11824] *** ERROR => Loading of SSL library failed — NO SSL available!

[Thr 11824] =================================================

[Thr 11824]

[Thr 11824] <<- ERROR: SapSSLInit(read_profile=0)==SSSLERR_INCOMPATIBLE_LIB

SapSSLInit failed

——

Reproducing the Issue


Please repeat the phase in SUM.

Cause


sapcontrol uses old sapcryptolib

sapcontrol -nr <xx> -host <hostname> -user <sidadm> <SecureField> -prot NI_HTTPS -debug -function GetInstanceProperties ,throws traces as ——

Failed to initialize CommonCryptoLib (C:\usr\SAP\SID\SYS\exe\uc\NTAMD64)

[Thr 11824] *** ERROR => secussl_startup_check() failed! [ssslsecu.c   1746]

[Thr 11824] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[Thr 11824] *** ERROR => MULTI-THREADED SAPCRYPTOLIB REQUIRED [ssslsecu.c   1796

]

[Thr 11824] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[Thr 11824] DlUnloadLib() successful FreeLibrary(“sapcrypto.dll”) hdl 0

[Thr 11824] *** ERROR => Loading of SSL library failed — NO SSL available!

[Thr 11824] =================================================

[Thr 11824]

[Thr 11824] <<- ERROR: SapSSLInit(read_profile=0)==SSSLERR_INCOMPATIBLE_LIB

SapSSLInit failed

Resolution

  1. Download and install the latest SAPCRYPTOLIB through SAP Service Marketplace.

Reference

2237451 – SUM: INPUT-OS-USER-PASSWORDS – SSSLERR_NOT_SUPPORTED_BY_LIB (No such file or directory), SapSSLSetSessionParam failed in plugin_fopen()


1841573 – SAPCRYPTOLIB 555pl36: bugfixes, error details, new features

To report this post you need to login first.

Be the first to leave a comment

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

Leave a Reply