PROBLEM:
messaging server (activemq) fails to start (especiailly if it is a new traverse installation)
CAUSE:
Local hostname is missing from the configuration
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 myserver-centos664
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 myserver-centos664
Before:
[root@myserver-centos664 logs]# tail /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
APPLIES TO:
Linux Traverse BVE installations
REFERENCE:
None