Hi Marcusteixeira,
Thanks for your reply. I try your advice, but no luck, still failed to start with the same error, any other advice? Here is the more detail error message:
level=error ts=xxxxx caller=loki.go:330 msg="module failed" module=memberlist-kv error="invalid service state: Failed, expected: Running, failure services &{0xc0005f8e60 {true 10000000000 4 30000000000 2000000000 3000000000 0 true 7946 [localhost:7946] 10000000000 60000000000 10 true 0 30000000000 50000000000 0 {[] 7946 50000000000 50000000000 false 0xc000124a00 false {false}} 0xc000124a00 [{ringDesc 0x18fb440}]} 0xc0003483c0 0xc0005157a0 {{} [0 1 0]} <nil> <nil> {0 0} map[] map[ringDesc:{ringDesc 0xc18fb440}] {0 0} map[] map[] {0 0} [] 0 [] 0 0 0xc0000609c0 0xc0000f5800 0xc0000f58c0 0xc0000f5980 0xc0000f5bc0 0xc0000f5a40 0xc0000f5c80 0xc0000f5b00 0xc000566540 0xc00056660 0xc0000f5e00 0xc0000f5c0 0xc00009eb40 0xc0000f5f80 0xc000102678 0xc000515ea0 ...} failed: failed to create memberlist: Failed to get final adverties address: no private IP address found, and explicit IP not provided"
And here is the loki config:
auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
memberlist:
join_members:
- localhost:7946
common:
path_prefix: /tmp/loki
storage:
filesystem:
chunks_directory: /tmp/loki/chunks
rules_directory: /tmp/loki/rules
replication_factor: 1
ring:
instance_interface_names:
- enth100
kvstore:
store: memberlist
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
ruler:
alertmanager_url: http://localhost:9093