Skip to content
This repository was archived by the owner on Mar 26, 2020. It is now read-only.
This repository was archived by the owner on Mar 26, 2020. It is now read-only.

Not able to run glusterd2 with the documentation steps (2 Node cluster) #1058

Description

@anmolsachan

Setup:

  • 2 Node Vagrant Centos cluster.
  • Glusterfs already installed and running.

Glusterd2 created a default config : /etc/glusterd2/glusterd2.toml

localstatedir = "/var/lib/glusterd2"
logdir = "/var/log/glusterd2"
logfile = "glusterd2.log"
loglevel = "INFO"
rundir = "/var/run/glusterd2"
defaultpeerport = "24008"
peeraddress = "machine2_ip:24008"
clientaddress = "machine2_ip:24007"
#restauth should be set to false to disable REST authentication in glusterd2
#restauth = false 

I inserted the ip of my machine in the config.

When I run : glusterd2 on machine 1, it gives error : Failed to write to log, write /var/log/glusterd2/store/elastic.log: file already closed.

When I created the config file manually and ran with its path, it gives the same error :Failed to write to log, write /var/log/glusterd2/store/elastic.log: file already closed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions