Follow

messaging server (activemq) fails to start

Problem:

messaging server (activemq) fails to start (especiailly if it is a new traverse installation)

 

Applies to:

Linux Traverse BVE installations

You will see the below message when attempting to start the components:

[root@myserver-centos664 logs]# ../etc/traverse.init start

performance and event database ... running
internal communication bus ... failed
ERROR: messaging server did not remain running - please investigate

 

stderr.log

The stderr.log will have an entry similar to:

Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: myserver-centos664: myserver-centos664

 

Resolution:

The resolution is to add the server hostname to /etc/hosts as follows (server hostname in this lab example is myserver-centos664)

After:

[root@myserver-centos664 logs]# tail /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

Before:

[root@myserver-centos664 logs]# tail /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 myserver-centos664
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 myserver-centos664

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.