SAP Knowledge Base Article - Preview

2611714 - Bootstrap terminates with exit code 558 - DisconnectNonTransientConnectionException - Best Practices to investigate the issue

Symptom

AS Java is not starting.

  • In dev_jstart log file "exit code 558" is displayed:

F [Thr 5468] Wed Feb 14 03:32:51 2018
F [Thr 5468] *** LOG => Process snapshot stopped (pid 3176).
F [Thr 5468] *** LOG => Instance state is "Synchronizing binaries" (STOPPING @ 0, INACTIVE).
F [Thr 5468] *** LOG => Run level 2 completed.
F [Thr 5468] *** LOG => Instance state is "Some processes failed" (STOPPED @ 0, INACTIVE).
I [Thr 5468] MPI: dynamic quotas disabled.
I [Thr 5468] MPI init, created: pipes=4000 buffers=2718 reserved=815 quota=10%, buffer size=65536, total size MB=170
I [Thr 5468] *** ERROR => FcaInit: already initialized [fcaxxcomm.c 956]
I [Thr 5468] *** ERROR => EvtRmMgt: Evt Mgt Table not init'd [evtnt.c 255]
I [Thr 5468] *** ERROR => ShmDelete: Invalid shared memory Key=62. [shmnt.c 753]
I [Thr 5468] *** ERROR => ShmCleanup: ShmDelete failed for Key:62. [shmnt.c 872]
I [Thr 5468] *** ERROR => ShmCleanup(62) failed 1 [mpixx.c 4609]
F
F ********************************************************************************
F *** ERROR => Node 'bootstrap' failed with exit code 558.
F ***
F *** Please see section 'Failures in the 'synchronizing binaries' phase'
F *** in SAP Note 1316652 for additional information and trouble shooting advice.

  • In jvm_bootstrap log file the followings can be seen:

Starting to initialize database connection

Exception occurred for component [internal/unkown] of type [unkown]
com.sap.engine.bootstrap.SynchronizationException: Storage access initialization failed due to OpenSQL error. Check if your db driver file is available on the file system or if the user has correct permissions for that file
[...]
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
[...]
Caused by: com.sap.sql.log.OpenSQLException: Exception of type com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException caught: [jcc][t4][2043][11550][4.19.49] Exception java.net.ConnectException: Error opening socket to server /xxx.xx.xx.xx on port XXXX with message: Connection refused: connect (local port XXXXX to address 0.0.0.0, remote port XXXX to address xxx.xx.xx.xx (tagrossm)). ERRORCODE=-4499, SQLSTATE=08001.
[...]
Caused by: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][4.19.49] Exception java.net.ConnectException: Error opening socket to server / xxx.xx.xx.xx on port 5,922 with message: Connection refused: connect (local port XXXXX to address 0.0.0.0, remote port XXXX to address xxx.xx.xx.xx). ERRORCODE=-4499, SQLSTATE=08001
[...]
Caused by: java.net.ConnectException: Connection refused: connect (local port XXXXX to address 0.0.0.0, remote port XXXX to address xxx.xx.xx.xx (tagrossm))


Read more...

Environment

AS Java all versions.

Product

SAP NetWeaver Application Server all versions ; SAP NetWeaver Application Server for Java all versions ; SAP NetWeaver all versions

Keywords

Synchronizing, binaries, application server, java, failed to start, terminate, Node, bootstrap, failed with, exit code, 558, initialize, database, connection, connecting to DB, Connection, refused, connect, local port, address, remote port, DisconnectNonTransientConnectionException, opening, socket,  , KBA , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-DB-DB6 , DB2 Universal Database for Unix / NT , BC-DB-DB2 , DB2 for z/OS , BC-JAS-SF , Startup Framework , 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.