Page 1 of 1

It always breaks when the OS is restarted

Posted: Thu Jan 23, 2020 6:42 am
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.

Re: It always breaks when the OS is restarted

Posted: Thu Jan 23, 2020 5:42 pm
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?

Re: It always breaks when the OS is restarted

Posted: Thu Jan 23, 2020 6:53 pm
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.」

Re: It always breaks when the OS is restarted

Posted: Fri Jan 24, 2020 2:15 am
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

Re: It always breaks when the OS is restarted

Posted: Fri Jan 24, 2020 4:16 pm
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'