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


# service openlava stop
# vim /usr/local/openlave-3.0/etc/lsf.conf
# /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   headnode-h00 headnode-h00