Skip to main content
Sumo Logic

Collector Install failure "Startup failed: Timed out waiting for a signal from the JVM"

Problem:

The Collector fails to start up on install and the following messages are present in the collector.out.log in the <sumo_install_dir>/logs directory

INFO | jvm 3 | 2016/03/16 19:05:49 | WrapperManager: Initializing... 
ERROR | wrapper | 2016/03/16 19:06:18 | Startup failed: Timed out waiting for a signal from the JVM. 
ERROR | wrapper | 2016/03/16 19:06:18 | JVM did not exit on request, terminated 
STATUS | wrapper | 2016/03/16 19:06:23 | Reloading Wrapper configuration... 
STATUS | wrapper | 2016/03/16 19:06:23 | Launching a JVM... 
INFO | jvm 4 | 2016/03/16 19:06:23 | WrapperManager: Initializing... 
ERROR | wrapper | 2016/03/16 19:06:52 | Startup failed: Timed out waiting for a signal from the JVM. 
ERROR | wrapper | 2016/03/16 19:06:52 | JVM did not exit on request, terminated 
STATUS | wrapper | 2016/03/16 19:06:57 | Reloading Wrapper configuration... 
STATUS | wrapper | 2016/03/16 19:06:57 | Launching a JVM... 
INFO | jvm 5 | 2016/03/16 19:06:57 | WrapperManager: Initializing... 
ERROR | wrapper | 2016/03/16 19:07:26 | Startup failed: Timed out waiting for a signal from the JVM. 
ERROR | wrapper | 2016/03/16 19:07:26 | JVM did not exit on request, terminated 
FATAL | wrapper | 2016/03/16 19:07:27 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up. 
FATAL | wrapper | 2016/03/16 19:07:27 | There may be a configuration problem: please check the logs. 
STATUS | wrapper | 2016/03/16 19:07:27 | <-- Wrapper Stopped

Solution:

The problem arises because the Tanuki wrapper that starts the Collector application uses the ports 31000 - 32000 to start up the Java Virtual Machine (JVM). If these ports are unavailable because they are bound to other applications or are disabled due to firewall configuration, the JVM or the Collector fails to start up.

To solve the problem, update the firewall settings or update the port range to a different unused port range as follows.

  1. Edit <sumo_install_dir>/config/wrapper.conf add the following lines to the end of the file:
wrapper.jvm.port.min=<min_port_number>  # default 31000
wrapper.jvm.port.max=<max_port_number> #default 31999
wrapper.port=<some_port_number> #default 32000
  1. Restart the collector from the Sumo Logic installation directory:
    sudo ./collector restart
  2. Verify that the collector is using the correct port:
    ps -ef| grep coll   ## Linux example