It always breaks when the OS is restarted

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
smash
Posts: 8
Joined: Mon May 20, 2019 3:53 am

It always breaks when the OS is restarted

Post by smash »

Hello
I was running NagiosLogserver on VirtueBox,
but when I restarted the OS, I couldn't log in anything. The user does not exist.
Inevitably, if you restore it, it will return to the original,
but if you restart the OS, the same phenomenon will occur again. Please help someone.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: It always breaks when the OS is restarted

Post by mbellerue »

Is VirtualBox running on just a regular desktop machine? When you talk about restarting the OS, is that the OS hosting Log Server, or the OS hosting VirtualBox?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
smash
Posts: 8
Joined: Mon May 20, 2019 3:53 am

Re: It always breaks when the OS is restarted

Post by smash »

Thank you for reply.
That's right.
Host OS: Windows10
VirtualBox: 6.0
Guest OS: Centos7.2 + NagiosLogServer2.06

Restart is a guest OS

WebLogin ErrorMessage
「Invalid username or password.」
Last edited by smash on Thu Jan 23, 2020 6:55 pm, edited 1 time in total.
smash
Posts: 8
Joined: Mon May 20, 2019 3:53 am

Re: It always breaks when the OS is restarted

Post by smash »

Only web login is not possible.
According to curl, each data seems to exist.
Only WebLogin will not be available.
I can not log in even if I create a new user with curl
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: It always breaks when the OS is restarted

Post by cdienger »

It sounds like the index that hold credentials may be getting corrupt. Are you running "reboot" at the command line of the NLS machine? If not, try that and see if it works better.

I'd be curious to see the output of the following when it is in a bad state:

Code: Select all

curl 'localhost:9200/_cat/indices?pretty'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked