2555159 - Shadow instance on Windows cannot connect to HANA database | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2555159 - Shadow instance on Windows cannot connect to HANA database

Symptom

During the upgrade of an SAP system based on SAP NetWeaver, the connection from the shadow instance to the HANA database fails with the following error:

C  Try to connect via secure store (UPGSHDKEY) on connection 0 ...
C  *** ERROR => Connect to database failed, rc=1, rcSQL=10
 [dbhdbsql.cpp 419]
C  SQLCODE    : 10
C  SQLERRTEXT :authentication failed
B  ***LOG BY2=> sql error 10     performing CON [dbsh         1262]
B  ***LOG BY0=>authentication failed [dbsh         1262]
B  ***LOG BY2=> sql error 10     performing CON [dblink       644]
B  ***LOG BY0=>authentication failed [dblink       644]
M  ***LOG R19=> ThDbConnect, db_connect ( DB-Connect 000256) [thDatabase.c 86]
M  in_ThErrHandle: 1
M  *** ERROR => ThInit: db_connect (step TH_INIT, thRc ERROR-DB-CONNECT_ERROR, action STOP_WP, level 1) [thxxhead.c   2551]

However, using the <sid>adm user to test test the connection with hdbsql -u or hdbsql -U, using the shadow instance user or key, it works.


Read more...

Environment

  • SAP Systems based on SAP NetWeaver;
  • Windows Server;
  • SAP HANA Database;

Product

SAP HANA, platform edition all versions ; SAP NetWeaver all versions

Keywords

shadow, shd, hdb, keystore, userstore, sidadm, default , KBA , HAN-DB , SAP HANA Database , BC-UPG-TLS-TLA , Upgrade tools for ABAP , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , HAN-LM-UPG-SAP , Upgrade of SAP Systems on HANA , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.