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

Couldn't load configuration (-config.file=documentation/examples/prometheus.conf #733

Closed
tdingus opened this Issue May 25, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@tdingus
Copy link

tdingus commented May 25, 2015

uname -a
Linux new-host-2.home 3.14.17-100.fc19.x86_64 #1 SMP Thu Aug 14 17:17:26 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

steps to reproduce:

a. git clone https://github.com/prometheus/prometheus.git
b. cd prometheus
c. make build
d. ./prometheus -config.file=documentation/examples/prometheus.conf

WARN[0000] No remote storage URLs provided; not sending any samples to long-term storage file=main.go line=126
INFO[0000] Loading configuration file documentation/examples/prometheus.conf file=main.go line=220
ERRO[0000] Couldn't load configuration (-config.file=documentation/examples/prometheus.conf): open documentation/examples/prometheus.conf: no such file or directory file=main.go line=224

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented May 25, 2015

You are building from master, which contains the 0.14.0 release candidate.
See the RC announcement. The switch to the YAML config format is what causes the error.

Changing the file extension should fix it:

./prometheus -config.file=documentation/examples/prometheus.yml

You can either try out the release candidate (configuration docs, getting started docs) or build from the 0.13.4 tag for which the contents of prometheus.io are valid.

We also provide binaries for the different versions.

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented May 25, 2015

That said, we have to update our getting started documentation to instruct building from the latest stable release (which should have a moving tag). Sorry about the confusion.

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented May 26, 2015

I assume this explains/resolves the issue. Otherwise feel free to comment again.

@fabxc fabxc closed this May 26, 2015

@tdingus

This comment has been minimized.

Copy link
Author

tdingus commented May 26, 2015

yes. thanks.

simonpasquier pushed a commit to simonpasquier/prometheus that referenced this issue Oct 12, 2017

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.