Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start Raft: permission denied #237

Closed
joshuaspence opened this issue Mar 11, 2016 · 3 comments
Closed

Failed to start Raft: permission denied #237

joshuaspence opened this issue Mar 11, 2016 · 3 comments

Comments

@joshuaspence
Copy link
Contributor

33a72c3 seemed to break things for me. After updating the puppet module to 1.0.5, the consul service refuses to start. In the error logs, I see this:

==> Error starting agent: Failed to start Consul server: Failed to start Raft: open /mnt/consul/raft/raft.db: permission denied

Running sudo chown -R consul:consul /mnt/consul seems to fix the issue.

@solarkennedy
Copy link
Contributor

@joshuaspence
Copy link
Contributor Author

Yes, it is set to /mnt/consul

@solarkennedy
Copy link
Contributor

Ah I see. But we don't recurse.

Yea this is going to be a one time chown you are going to have to do. New users will create the folder and start consul as the non-privileged user, so everything down below will be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants