SAP Knowledge Base Article - Preview

2498036 - Database connection fails with "OCI returned error code -1"

Symptom

SAP system can not connect to oracle database. In work process trace file dev_w.txt or "R3trans -d" log file trans.log, it contains the following log information:

4 ETW000  [     dev trc,00000]  Loading DB library '/usr/sap/<SID>/SYS/exe/run/dboraslib.so' ...           
4 ETW000  [     dev trc,00000]  Library '/usr/sap/<SID>/SYS/exe/run/dboraslib.so' loaded                
......     
4 ETW000                                                                                               
4 ETW000  [    dblink  ,00000]  ***LOG BY2=>sql error -1     performing CON                              
4 ETW000  [    dblink  ,00000]  ***LOG BY0=>OCI returned error code -1.                                   
2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = '<SID>"


Read more...

Environment

ORACLE Database

Keywords

TABSPC_PREP, start fail, connection, connectivity, R3trans, OCI, sql error -1, R3trans -d , KBA , BC-DB-ORA , Oracle , BC-CST-STS , Startup Service , 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.