tolow

SuSE 11 and ArcServer 10.2 wont start JMX error

Discussion created by tolow on Oct 31, 2013
Latest reply on Jul 21, 2015 by ppenn
Hello all,

Im trying to do some performance benchmark testing against Windows and Linux versions of arcserver.  Im attempting to bring up a node running SuSE 11 and ArcServer.  I am running into issues after install, when trying to start the server using the builtin startserver.sh I see the following error messages in: $installdir/framework/etc/*.log

==> service.log <==
Thu Oct 31 18:03:35 CDT 2013:ERROR: Unable to start the RMI connector for NodeAgent
Start invoked
Thu Oct 31 18:29:47 CDT 2013:Start NodeAgent.start().
Thu Oct 31 18:29:47 CDT 2013:Loading all observers.
arcgis_cloud_platform=null
Thu Oct 31 18:29:48 CDT 2013:NodeAgent loaded observer 'Server upgrader'.
Thu Oct 31 18:29:48 CDT 2013:Regular startup of Server.
Thu Oct 31 18:29:48 CDT 2013:Invoking beforeStart() for all observers.
Thu Oct 31 18:29:48 CDT 2013:Starting RMI connector for NodeAgent.
Thu Oct 31 18:30:00 CDT 2013:ERROR: Unable to start the RMI connector for NodeAgent
Start invoked
Thu Oct 31 18:58:10 CDT 2013:Start NodeAgent.start().
Thu Oct 31 18:58:10 CDT 2013:Loading all observers.
arcgis_cloud_platform=null
Thu Oct 31 18:58:10 CDT 2013:NodeAgent loaded observer 'Server upgrader'.
Thu Oct 31 18:58:10 CDT 2013:Regular startup of Server.
Thu Oct 31 18:58:10 CDT 2013:Invoking beforeStart() for all observers.
Thu Oct 31 18:58:10 CDT 2013:Starting RMI connector for NodeAgent.
Thu Oct 31 18:58:23 CDT 2013:ERROR: Unable to start the RMI connector for NodeAgent

==> service_error.log <==
java.lang.RuntimeException: Failed to start JMX Server
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:44)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.startJMXServer(NodeAgent.java:670)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.start(NodeAgent.java:276)
at com.esri.arcgis.discovery.nodeagent.impl.Main.start(Main.java:51)
at com.esri.arcgis.discovery.nodeagent.impl.Main.main(Main.java:296)
Caused by: java.lang.IllegalArgumentException: Port value out of range: 65536
at java.net.ServerSocket.<init>(ServerSocket.java:232)
at java.net.ServerSocket.<init>(ServerSocket.java:181)
at com.esri.arcgis.discovery.util.IPUtil.isPortAvailable(IPUtil.java:628)
at com.esri.arcgis.discovery.util.JMXServerController.c(JMXServerController.java:162)
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:35)
... 4 more
Exception in thread "main" com.esri.arcgis.discovery.nodeagent.NodeAgentException: Could not start RMI connector. An instance of NodeAgent may be running or the JMX-RMI port is in use by another process.
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.start(NodeAgent.java:279)
at com.esri.arcgis.discovery.nodeagent.impl.Main.start(Main.java:51)
at com.esri.arcgis.discovery.nodeagent.impl.Main.main(Main.java:296)
Caused by: java.lang.RuntimeException: Failed to start JMX Server
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:44)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.startJMXServer(NodeAgent.java:670)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.start(NodeAgent.java:276)
... 2 more
Caused by: java.lang.IllegalArgumentException: Port value out of range: 65536
at java.net.ServerSocket.<init>(ServerSocket.java:232)
at java.net.ServerSocket.<init>(ServerSocket.java:181)
at com.esri.arcgis.discovery.util.IPUtil.isPortAvailable(IPUtil.java:628)
at com.esri.arcgis.discovery.util.JMXServerController.c(JMXServerController.java:162)
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:35)
... 4 more

localadmin@bigsuse:/data/arcgis/server/tools/serverdiag> ./serverdiag
========================================================================
                 ArcGIS 10.2 for Server Diagnostic Tool
                           Hostname: bigsuse
========================================================================

DIAG000: Check for installation as root                       [PASSED]
DIAG001: Check for 64-bit architecture                        [PASSED]
DIAG002: Check OS version                                     [PASSED]
DIAG003: Check hostname for invalid characters                [PASSED]
DIAG004: Check installed packages                             [PASSED]
DIAG005: Check system limits                                  [PASSED]
DIAG006: Check OS patches                                     [N/A]
DIAG008: Check HTTP port                                      [PASSED]
DIAG009: Check HTTPS port                                     [PASSED]
DIAG010: Check Xvfb ports                                     [PASSED]
DIAG020: Check hostname IP address mismatches                 [PASSED]
DIAG026: Check processes for ArcGIS core services             [WARNING]

------------------------------------------------------------------------
There were 0 failure(s) and 1 warning(s) found:


WARNINGS:
------------------------------------------------------------------------
*** DIAG026: One or more core services was not started.  Start ArcGIS
for Server by running the startserver.sh script or restart ArcGIS for
Server if it is already started.



Any ideas why JMX is trying to capture a port outside of the normal 65535?

Outcomes