The username specified does not exist.

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
tijones
Posts: 1
Joined: Mon May 26, 2014 10:20 pm

The username specified does not exist.

Post by tijones »

Randomly happens quite frequently usually a restart will fix it however now its broken completely and i cant login at all,

if i curl -XGET http://localhost:9200/_cat/shards

I notice this shard is not started

nagioslogserver 0 p UNASSIGNED
nagioslogserver 0 r UNASSIGNED


How to start? maybe this is why?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: The username specified does not exist.

Post by jolson »

This is almost definitely why you can't login - user name information is stored in the 'nagioslogserver' indices. Are both the primary and replica shards unassigned?

Code: Select all

curl -s -XGET http://localhost:9200/_cat/shards | grep UNASS

Code: Select all

curl -XGET localhost:9200/_nodes/jvm?pretty

Code: Select all

free -m

Code: Select all

cat /etc/sysconfig/elasticsearch
Show me the output of the above commands. Based on what you've described, you might be low on memory or the index may be corrupt.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked