SAP Knowledge Base Article - Preview

2183638 - OSQL call failed for MSSUPGGETREL - PREP_PRE_CHECK/DBCHK_PRE

Symptom

During the upgrade of an SAP system, in the phase roadmap step 5.2 "Extract", phase PREP_PRE_CHECK/DBCHK_PRE, the following error occurs:

"Severe error(s) occurred in phase PREP_PRE_CHECK/DBCHK_PRE!
 Last error code set: OSQL call failed for MSSUPGGETREL"

screen_1.png

Further checking the logs in the "..\SUM\abap\log" directory, in the file MSSUPGGETREL.txt it's possible to see:

Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [53]. .
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..

It means that the prerequisite of SQLCMD being installed is fulfilled.

The same issue has also been observed in the phase PREP_INSTALL/SHDUNINST_DB_PREP.


NOTE: If the message differs from the above, make sure you have installed the SQL Server Client Tools in the application server. For more information, check SAP KBA 2275405.


Read more...

Environment

  • SAP systems based on SAP NetWeaver 7.0 and higher;
  • SQL Server 2012 and higher with AlwaysOn.

Product

SAP NetWeaver all versions

Keywords

Upgrade, Upgradation, mssql, msql, msqlserver, mssqlserver, Microsoft, During Upgrade, Software Update Manager, PREP_PRE_CHECK, DBCHK_PRE, MSSUPGGETREL, AlwaysOn, Always On, Always_On, MSSQL_SERVER, ha, high_availability, highavailability, high-availability, phases, SAPup_troubleticket_logs.sar, SAPup_troubleticket_log, SHDUNINST_DB_PREP, shd, shduninst, prep , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BC-UPG-TLS-TLA , Upgrade tools for ABAP , BC-UPG-RDM , README: Upgrade Supplements , BC-UPG-PRP , Upgrade Preparation , 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.