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

Permission issues on node-id file lead to not very helpful error messages and exit #4410

lennartkoopmann opened this issue Dec 10, 2017 · 4 comments


Copy link

@lennartkoopmann lennartkoopmann commented Dec 10, 2017

The server repeatedly prints an error that no node-id file exists and that it created a new fil before exit if the node-id file cannot be written, but no error about a file permission issue is printed. This happened to me on initial setup.

I moved this into the 2.4.0 milestone for now but am OK with moving it into 3.0.0 if it's hard to fix and if it is not a recent regression.

Your Environment

  • Graylog Version: v2.4.0-beta.4-SNAPSHOT
  • Operating System: Ubuntu 17.10
@lennartkoopmann lennartkoopmann added the bug label Dec 10, 2017
@lennartkoopmann lennartkoopmann added this to the 2.4.0 milestone Dec 10, 2017
Copy link

@joschi joschi commented Dec 10, 2017

@lennartkoopmann Please provide some information how to reproduce the issue.

Copy link

@kroepke kroepke commented Dec 13, 2017

If the node id file belongs to root and isn't even readable the server correct exits with:

ERROR: Unable to access file /home/kroepke/local/graylog/server1/node-id

Copy link

@kroepke kroepke commented Dec 13, 2017

The problem is that a readable, but not writable node-id file does not throw the expected AccessDeniedException (any more?) but instead a generic IOException.

Copy link
Member Author

@lennartkoopmann lennartkoopmann commented Dec 13, 2017

Correct, it happens when the file can't be written.

@ghost ghost removed the in progress label Dec 15, 2017
@bernd bernd modified the milestones: 2.4.0, 3.0.0 Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants