Activemq will not start on my Ubuntu VM

Looks like I’m answering one of my questions again, but maybe this will help someone in the future.

steps.

  1. I ended up getting activemq to work by creating a configuration file via running the command “./bin/activemq setup newConfig” (exclude the quotes)
  2. I then replaced the current config file “activemq” which was located at etc/default/. (I made a backup of the original activemq file before overwriting it with newConfig).
  3. Run “./bin/activemq start” which will create a PID file.
  4. After the file is created re-run “./bin/activemq start” to finally start up the broker.

You can then test the install by navigating to “http://localhost:8161/admin/” or by doing a “netstat -an | grep 61616” if you kept the default ports etc.

Leave a Comment