0% found this document useful (0 votes)
755 views3 pages

Troubleshooting '9300' and '10807' Errors: Symptom

Uploaded by

mlegs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
755 views3 pages

Troubleshooting '9300' and '10807' Errors: Symptom

Uploaded by

mlegs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

SAP Knowledge Base Article

2985927 - Troubleshooting '9300' and '10807' errors


Component: HAN-DB (SAP HANA > SAP HANA Database), Version: 10, Released On: 12.06.2024

Symptom
Short dump DBSQL_SQL_ERROR SQL is thrown with SQL Code 9300.
Category Installation error
Runtime Errors DBSQL_SQL_ERROR
Except. CX_SY_OPEN_SQL_DB

Short Text

SQL error "SQL code: -9300" occurred while accessing table "*******".

What happened?

Database error text: "SQL message: Internal SQLDBC error"

Corresponding developer trace is showing two errors bolded below:


C *** ERROR => fetch() of C_0460, #rec=32, rc=1, rcSQL=-10807
[dbsdbsql.cpp 2256]
C {root-id=00155E1010CD1EDB82BB4C0FCC76017D}_{conn-id=00000000000000000000000000000000}_0
C *** ERROR => FETCH C_0460 on connection 0, rc=-10807
[dbslsdb.cpp 10336]
C SQLCODE : -10807
C SQLERRTEXT : System call 'recv' failed, rc=10054:An existing connection was forcibly closed by the remote host {1\
C ********}
C
sc_p=0000003CF28E74C0,no=460,idc_p=0000000000000000,con=0,act=1,slen=156,smax=512,#vars=1,stmt=0000003CF3D37370,table=*******
C SELECT /* FDA WRITE ************************[SQL statement 1 on a /BIC table]******************************
B ***LOG BYM=> severe DB error -10807; work process in reconnect status [dbsh 1191]
B ***LOG BY4=> sql error -10807 performing FET on table ******** C [dbdbslst 5137]
B ***LOG BY0=> System call 'recv' failed, rc=10054:An existing connection was forcibly closed by the remote host {xxx.xxx.xxx.xxx:30015} [dbdbslst
5137]
C SQLDBC error occurred, rc=1, but SQL Error Code is not set (0) -> use SQL error -9300
C *** ERROR => execute() of C_0636, #rec=0, rc=1, rcSQL=-9300
[dbsdbsql.cpp 2116]
C *** ERROR => EXECUTE C_0636 on connection 0, rc=-9300
[dbslsdb.cpp 10064]
C SQLCODE : -9300
C SQLERRTEXT : Internal SQLDBC error
C
sc_p=0000003CF28EDD40,no=636,idc_p=0000003CF29428B0,con=0,act=1,slen=84,smax=1280,#vars=2,stmt=0000003CF3D1FE50,table=*******
C stmtid = <0/CL_RSBK_DP_STATE==============CP /420479040/20190719011244>
C ************************[SQL statement 2]******************************
B ***LOG BY4=> sql error -9300 performing FET on table *********** [dbdbslst 5137]
B ***LOG BY0=> Internal SQLDBC error [dbdbslst 5137]
B dumping DbDbslStatement ...

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment
SAP HANA, platform edition

Reproducing the Issue


Loading into InfoCube.

Cause
• One reason for this dump is related to Network, however check the 5 steps in the below Resolution for further reasons
• Although the ST22 dump shows SQLCODE:9300, the primary problem is related to SQLCODE: 10807.

Resolution
1. Check if there is a firewall between the database and the application that is causing the issue.
2. Check if the latest HANA Client is installed:
◦ 2941449 SAP HANA Client 2.0 Releases
3. check if the Bug explained in SAP Note is fixed:
◦ 2205345 SAP HANA DB Client: "SQL code: -9300" occurred while accessing table <table_name>
4. Gather the corresponding developer trace (DEV_W*), indexserver, nameserver + var/log/messages. See Troubleshooting ABAP Dumps wiki.
5. Check below KBAs for any obvious errors which may point to a reason for the disconnection of the client:
◦ 2621464 SAP BW and HANA connection hanging
◦ 2749387 SQL error "SQL code: -10807" occurred while accessing table "TABLE_NAME"
◦ 3117294 - How-To Troubleshoot SQL Error -10807 'Connection down' in a SAP HANA Landscape
Tracing Options for better understanding the issue:
1. Run the following SQL command in HANA Studio to enable additional session tracing for unexpected client/network disconnections:
◦ ALTER SYSTEM ALTER CONFIGURATION ('indexserver.ini', 'system') set ('trace', 'sqlsession') = 'warning' with reconfigure
◦ Wait until the dump reoccurs.
◦ Deactivate the trace with: ALTER SYSTEM ALTER CONFIGURATION ('indexserver.ini', 'system') unset ('trace','sqlsession') with reconfigure
2. Generate an SQLDBC trace:

◦ 1993251 Collecting A SQLDBC Trace

See Also
• 3117294 - How-To Troubleshoot SQL Error -10807 'Connection down' in a SAP HANA Landscape
• 2749387 SQL error "SQL code: -10807" occurred while accessing table "TABLE_NAME"
• 2941449 SAP HANA Client 2.0 Releases
• 2621464 SAP BW and HANA connection hanging
• 2205345 SAP HANA DB Client: "SQL code: -9300" occurred while accessing table <table_name>
• 1993251 Collecting A SQLDBC Trace
• 2308459 Troubleshooting '10108' + '9300' errors in relation to SAP HANA
• Troubleshooting ABAP Dumps wiki
• 1993251 Collecting A SQLDBC Trace

Keywords
troubleshoot, 9300, 10807, Internal SQLDBC error, SQLCODE. rc=10054

Attributes
Key Value

Other Components SAP HANA > SAP HANA Database > SAP HANA Clients (JDBC, ODBC) (HAN-DB-CLI)

Other Components SAP HANA > SAP HANA Database > SAP HANA DB Engines > SAP HANA BW Engine (HAN-DB-ENG-BW)
Products
Products

SAP NetWeaver 7.0

This document refers to


SAP Note/KBA Component Title

2749387

2621464 HAN-DB-CLI SAP BW and HANA connection hanging

2308459 HAN-DB-ENG-BW Troubleshooting '10108' + '9300' errors in relation to SAP HANA

2941449 HAN-DB-CLI SAP HANA Client 2.0 Releases

2205345 HAN-DB-CLI SAP HANA DB Client: "SQL code: -9300" occurred while accessing table <table_name>

1993251 HAN-DB-CLI Collecting A SQLDBC Trace

This document is referenced by


SAP Note/KBA Component Title

2380176 FAQ: SAP HANA Database Trace

You might also like