Hello,
I have spent nearly all day loading data into our HANA instance on AWS for a demo next week.
I had been connected via JDBC, everything was working as it should.
After several hours of everything working I got this error half way through a SQL script.:
21:20:23 [INSERT - 7962624 row(s), 442.472 secs] Command processed
21:32:26 [INSERT - 0 row(s), 0.000 secs] [Error Code: -708, SQL State: 08006] [-708] Data receive failed [Connection reset].
21:32:26 [INSERT - 0 row(s), 0.000 secs] [Error Code: -708, SQL State: 08006] [-708] Connection T0 could not send data [Socket closed].
21:32:26 [INSERT - 0 row(s), 0.000 secs] [Error Code: -708, SQL State: 08006] [-708] Connection T0 could not send data [Socket closed].
Trying to reconnect I get:
An error occurred while establishing the connection:
Type: com.sap.db.jdbc.exceptions.JDBCDriverException Error Code: -813 SQL State: HY000
Message:
SAP DBTech JDBC: Cannot connect to jdbc:sap://<ip-address>:30015 [Cannot connect to host <ip-address>:30015 [Connection refused], -813.].
I check to see if port 30015 is listening on the server:
imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"
tcp 0 0 0.0.0.0:30001 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30002 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30005 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30007 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:30008 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:50013 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30000 0.0.0.0:* LISTEN
It is not. I try restarting HANA...
imdbhdb:~ # su - hdbadm
imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"
tcp 0 0 0.0.0.0:30001 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30002 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30005 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30007 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:30008 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:50013 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30000 0.0.0.0:* LISTEN
imdbhdb:/usr/sap/HDB/HDB00> stopsap
Stopping the SAP instance HDB00
----------------------------------
Shutdown-Log is written to /usr/sap/HDB/home/stopsap_HDB00.log
Instance on host imdbhdb stopped
Waiting for cleanup of resources..........
imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:50013 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
imdbhdb:/usr/sap/HDB/HDB00> startsap
Starting SAP Instance HDB00
------------------------------
Startup-Log is written to /usr/sap/HDB/home/startsap_HDB00.log
Instance Service on host imdbhdb started
Instance on host imdbhdb started
imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"
tcp 0 0 0.0.0.0:30001 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30002 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30003 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30005 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30007 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:30008 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:50013 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:30000 0.0.0.0:* LISTEN
imdbhdb:/usr/sap/HDB/HDB00>
It is still not listening on 30015.
I have rebooted the instance.. same deal. no 30015.
What's wrong?
I'd rather fix this than have to create a new HANA instance and have to reinsert all my data again..
I haven't changed anything on the server..
Thanks,
Peter