LM is Down Error Messages for OpenLava-3.0

After configuring OpenLava-3.0 using the tar ball and following the instruction according to the OpenLava – Getting Started Guide

I was encountering errors like

# lsid
openlava project 3.0, June 25 2015
ls_getclustername(): LIM is down; try later

Debugging:

# service openlava stop
# vim /usr/local/openlave-3.0/etc/lsf.conf
# LSF_LOG_MASK=LOG_DEBUG3
# /usr/local/openlava-3.0/sbin/lim -2

Solution (Check first):

Check that the

# hostname -s
# hostname -f

In your /etc/hosts, you may want to change to something like this. It solved my issues

127.0.0.1   headnode-h00
192.168.50.1 headnode-h00