SAP Knowledge Base Article - Preview

2366956 - SUM fails in phase PREP_INIT/HDB_CHK_PRIVILEGES due to incorrect database host

Symptom

  • During an Upgrade using Software Update Manger the phase "PREP_INIT/HDB_CHK_PRIVILEGES" fails with following error in HDBSLLIB_CHK_PRIVILEGES.LOG:
EXECUTING I:\usr\sap\<SID>\SUM\abap\bin\hdbsllib.BAT "HDB_CMD_CLAZZ_NAME=UPDATE_REPAIR_ROLES_AND_PRIVILEGES" "DATABASE_HOSTNAME=<HOSTNAME-2>" 
"INSTANCE_NUMBER=<XX>" "PORT=30115" "JDBC_PATH=I:\usr\sap\<SID>\SUM\abap\bin" "DATABASE_SYSTEM_USER_PASSWORD=<HIDDEN>" "DATABASE_SQL_USER_NAME=SAPSR3"
"DATABASE_SQL_USER_PASSWORD=<HIDDEN>" "DATABASE_SID=<SID>"
SAPup> Process with PID <nnnnn> terminated with status 1 at <timestamp>!
  • The following error can be seen in the HDBCHKPRIFILEGES.LOG
2 ETQ399 Arg[0] = 'HDBSLLIB_CHK_PRIVILEGES.LOG'
3 ETQ121 20190503124117: PID 25193 execute '~/jvm/jre/bin/java -cp ~/bin/com.sap.hdb.sl.lib.jar:~/bin/com.sap.hdb.core.jar com.sap.hdb.core.main.cmd.HdbCmdMa
in HDB_CMD_CLAZZ_NAME=UPDATE_REPAIR_ROLES_AND_PRIVILEGES DATABASE_HOSTNAME=<HOSTENAME-2> INSTANCE_NUMBER=XX DATABASE_SID=<SID> JDBC_PATH=~/bin READ_FROM_STDIN=TRUE
DATABASE_SQL_USER_NAME=<db_username> DATABASE_SID=<SID>' in background, output written to '<path>/SUM/abap/log/HDBSLLIB_CHK_PRIVILEGES.LOG'.
3WETQ123 20190503124117: PID 25193 exited with status 30 (time 0.00 real)
4 ETQ399 20190503124117: WAITED for 1 processes to finish, 0 aborted.
1EETQ399 Last error code set is: Cannot open 'HdbStdout.txt': No such file or directory
1EETQ204 Upgrade phase "HDB_CHK_PRIVILEGES" aborted with severe errors ("<timestamp>")

The database host that the tool is trying to connect to, is not correct. This is probably the old value of database host which you have changed now to another host (e.g. HOSTNAME-1). You have changed the profile parameter SAPDBHOST to HOSTNAME-1 but the error still comes up in the above mentioned phase.


Read more...

Environment

  • Upgrade/Update using Software Update Manager (SUM)
  • HANA Database

Product

SAP HANA 1.0, platform edition ; SAP NetWeaver all versions

Keywords

DATABASE_SYSTEM_USER_PASSWORD, SAPupConsole.log, DATABASE_SQL_USER_NAME, exited with status 1, PID, HANA, Microsoft Windows, SAPService<SAPSID>, SAPserviceSID, sidadm, SAPR3, HDBCHKPRIVILEGES.LOG , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , HAN-DB , SAP HANA Database , 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.