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

Error message: Cannot open file stream.conf #4341

Closed
jcormier opened this issue Oct 1, 2018 · 3 comments · Fixed by #4342
Closed

Error message: Cannot open file stream.conf #4341

jcormier opened this issue Oct 1, 2018 · 3 comments · Fixed by #4342
Labels

Comments

@jcormier
Copy link

jcormier commented Oct 1, 2018

With the latest changes this past weekend, netdata now reports an error about not finding stream.conf. This showed up on all our servers over the weekend. The server appears to be running so its unclear if this should be considered an Error.

Possibly related to #4283

Oct  1 06:32:12 wanda netdata: CONFIG: cannot open file '/etc/netdata/stream.conf'
Oct  1 06:32:12 wanda netdata[11765]: 2018-10-01 06:32:12: netdata ERROR : MAIN : CONFIG: cannot open file '/etc/netdata/stream.conf' (errno 2, No such file or directory)
@paulfantom
Copy link
Contributor

@ktsaou seems like our log messages about configuration handling are confusing.

@ktsaou
Copy link
Member

ktsaou commented Oct 1, 2018

ok, convert them to INFO and improved the messages with #4342

ktsaou added a commit that referenced this issue Oct 1, 2018
* better daemon errors about files; fixes #4341

* allow max depth 10 while reading dirs; fixes #4312

* exclude . and .. even if they are not reported as directories; #4312

* lower recursive depth to 3

* strict control on directory recursion
@ktsaou
Copy link
Member

ktsaou commented Oct 1, 2018

merged the fix.
Please update. The errors should be a lot better now.

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

Successfully merging a pull request may close this issue.

3 participants