SAP Knowledge Base Article - Preview

3463911 - saplikey: failed to read table SVERS after connecting to the database.

Symptom

When performing Primary Application Server installation during Installation/System Copy with Software Provisioning Manager (SWPM), you can see following entries in the sapinst_dev.log file:

TRACE      2024-04-30 12:10:46.258 (root/sapinst) (startInstallation) [SLPGuiEngine.cpp:214] SLPGuiEngine::showMessageBoxHandleButtonImpl()
<html> <head> </head> <body> <p> An error occurred while processing option <i> <Product> > <Database> > Installation > Application Server ABAP > Distributed System > Primary Application Server Instance (Last error reported by the step: Process call '/usr/sap/<SID>/SYS/exe/uc/linuxx86_64/saplikey pf=/usr/sap/<SID>/SYS/profile/<SID>_D<nr>_<hostname> -install_first_temp D0038054630 XXXXXX' exits with error code 2. For details see log file(s) saplikey.log, dev_slic)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more information about the error. </li> <li> Stop the option and continue later. 

You can also see following error entries in the respected log file:

saplikey.log:

saplikey: failed to read table SVERS after connecting to the database.

dev_likey.log:

 --------------- DatabaseMetaData ---------------
   where: /bas/793_REL/src/krn/dbi/metadata/dbi_metadata_database.cpp:104

Connection 0 'R/3' opened (DBSL handle 0) -> DBSL operation took 42 ms
*** ERROR =>   prepare() of C_0000, rc=1, rcSQL=259
 [dbsdbsql.cpp 2708]
*** ERROR => PREPARE C_0000 on connection 0, rc=259
 [dbslsdb.cpp  8262]
SQLCODE    : 259
SQLERRTEXT : invalid table name:  Could not find table/view SVERS in schema <Schemaname>: line 1 col 21 (at pos 20)
sc_p=5652937b4868,no=0,idc_p=(nil),con=0,hit=0,cnt=1,act=1,slen=25,smax=256,#vars=0,stmt=56529393cec8,#tabs=1,tables=SVERS
prepared=0,lastPrepareTime=,nativeSQL=0,ignoreStmtId=0
SELECT VERSION FROM SVERS;
***LOG BZA=> table SVERS does not exist on database [dblink 1497]
*** ERROR => saplikey: failed to read table SVERS after connecting to the database. [saplikey.c   836]


Read more...

Environment

  • OS Independent
  • HANA Database.
  • SAP Release Independent.

Product

SAP BW/4HANA 2023 ; SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

Distributed System, errno=FCO-00011, createTempLicense, errno=CJS-30023, table SVERS does not exist on database, SQLCODE 259, rcSQL=259 , KBA , BC-INS-SWPM , Installation with Software Provisioning Manager , Problem

About this page

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

Search for additional results

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