We couldn't log you in. Please try again

Hi Everyone, I'm install elastic and kibana on Centos 7.

They was working but when I restart the server, the services now print "We couldn't log you in. Please try again." in Kibana's login.

I look the service status and both are running, but cluster health is red:

{
  "cluster_name" : "elasticsearch",
  "status" : "red",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 23,
  "active_shards" : 23,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 3,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 88.46153846153845
}

Go to /var/log/elasticsearch and check the cluster log.

1 Like

Hi,
The last print on logs is

 [2023-08-16T15:18:04,453][WARN ][o.e.c.r.a.DiskThresholdMonitor] [apmlab] high disk watermark [90%] exceeded on [rzsMYzKgQICCjscEqbR8AQ][apmlab][/var/lib/elasticsearch] free: 3.6gb[5.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
[2023-08-16T15:19:04,457][WARN ][o.e.c.r.a.DiskThresholdMonitor] [apmlab] high disk watermark [90%] exceeded on [rzsMYzKgQICCjscEqbR8AQ][apmlab][/var/lib/elasticsearch] free: 3.6gb[5.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
[2023-08-16T15:20:04,462][WARN ][o.e.c.r.a.DiskThresholdMonitor] [apmlab] high disk watermark [90%] exceeded on [rzsMYzKgQICCjscEqbR8AQ][apmlab][/var/lib/elasticsearch] free: 3.6gb[5.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
[2023-08-16T15:21:34,468][WARN ][o.e.c.r.a.DiskThresholdMonitor] [apmlab] high disk watermark [90%] exceeded on [rzsMYzKgQICCjscEqbR8AQ][apmlab][/var/lib/elasticsearch] free: 3.6gb[5.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
[2023-08-16T15:22:34,473][WARN ][o.e.c.r.a.DiskThresholdMonitor] [apmlab] high disk watermark [90%] exceeded on [rzsMYzKgQICCjscEqbR8AQ][apmlab][/var/lib/elasticsearch] free: 3.6gb[5.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
[2023-08-16T15:24:04,478][WARN ][o.e.c.r.a.DiskThresholdMonitor] [apmlab] high disk watermark [90%] exceeded on [rzsMYzKgQICCjscEqbR8AQ][apmlab][/var/lib/elasticsearch] free: 3.6gb[5.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
[2023-08-16T15:25:04,481][WARN ][o.e.c.r.a.DiskThresholdMonitor] [apmlab] high disk watermark [90%] exceeded on [rzsMYzKgQICCjscEqbR8AQ][apmlab][/var/lib/elasticsearch] free: 3.6gb[5.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete

You need to free up some space in your server, are you able to remove other files in your server from mount of the /var path?

As Leandro said, minimum is 15% free space. Read here.

1 Like

Thanks, i will to remove files and restart the server.

assign more memory to the server and to the directory and it worked, thank you very much.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.