SAP Knowledge Base Article - Preview

2259140 - Couldn't load library dbmssslib.so and libodbc.so.1 during SQL Server connection from Linux

Symptom

Connection from linux platform to remote SQL Server fails with errors 

DBAcockpit > Database connections > <connection name> Test

-- ERROR Database connection <name>: ADBC error 'Internal error      8.192  has occured'

The developer trace shows the following error:

Loading DB library '/usr/sap/<SID>/DVEBMGS00/exe/dbmssslib.so' ...
*** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/<SID>/DVEBMGS00/exe/dbmssslib.so") FAILED
"libodbc.so.1: cannot open shared object file: No such file or directory"  [dlux.c       550]
*** ERROR => Couldn't load library '/usr/sap/<SID>/DVEBMGS00/exe/dbmssslib.so' [dbcon.c      7084]
***LOG BYG=> could not load library for database connection <name>[dbds         972]
***LOG BZY=> unexpected return code 8192 calling DBDS [dbacds       2029]
*** ERROR => Unexpected RC when calling dsql_connect

The dbmssslib.so and ODBC driver both exist.


Read more...

Environment

  • SAP System running on Linux machine (distributions are described in SAP Note 1644499)
  • Remote SQL Server 2005 and higher

Product

SAP NetWeaver 7.3

Keywords

Could not open connection <SID>. ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/<SID>/DVEBMGS00/exe/dbmssslib.so") FAILED Couldn't load library unexpected return code 8192 calling DBDS kernel update 7.89 , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , 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.