NagiosLogServer:Elasticsearch keeps getting locked by subsys

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Badri.Narayan
Posts: 1
Joined: Thu Jul 07, 2016 1:27 am

NagiosLogServer:Elasticsearch keeps getting locked by subsys

Post by Badri.Narayan »

Hi.
Installed NagiosLogServer on a Virtual Machine using the tar file. Installation was successful.
Opened the URL. Immediately started seeing the following message.

"Waiting for Database Startup
It looks like your local elasticsearch service is starting.

Why am I getting this error?

Elasticsearch can take a little while to start up because of it's indexing. This may take a few seconds.

The page will refresh automatically after 5 seconds..."


Checked the status of the elasticsearch service. It was mentioned as dead but subsys locked. Removed the elasticsearch file from /var/lock/subsys and then restarted the service.
Opened NagiosLogServer URL. Again observed the same message that waiting for elasticsearch. Elasticsearch service was running. But the NagiosLogSErver was still in "Waiting" state. After some time, the elasticsearch service again went into
"elasticsearch dead but subsys locked" state.

Rebooted server and still facing the same issue.

Checked the below topics:

https://support.nagios.com/forum/viewto ... 37&t=34267. This topic is not resolved yet.
https://support.nagios.com/forum/viewto ... 0&start=10. Asking to reinstall. Not able to reinstall.

Please inform if any other resolution.

Thanks,
Badri
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NagiosLogServer:Elasticsearch keeps getting locked by su

Post by hsmith »

Can you please show me the output of this command?

Code: Select all

tail -n50 /var/log/elasticsearch/*.log
Former Nagios Employee.
me.
Locked