Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCould not lock /prometheus/DIRTY, Prometheus already running? #1060
Comments
This comment has been minimized.
This comment has been minimized.
|
Looks like Prometheus cannot write into the directory you have configured as storage location (configured by flag |
This comment has been minimized.
This comment has been minimized.
|
The problem was related to how I was building my docker image from my Dockerfile. Using the I did some rearranging, by setting After this, everything was fine. |
This comment has been minimized.
This comment has been minimized.
|
Glad to hear. :) |
beorn7
closed this
Sep 8, 2015
This comment has been minimized.
This comment has been minimized.
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. |
djenriquez commentedSep 8, 2015
Hello,
I am having some trouble configuring Prometheus. I currently seem to keep running into this problem:
When I use the example configuration from the Getting Started guide, everything works fine:
However, it seems that if i change this file in ANYWAY, for example, remove the
# Override the global defaults and scrape targets from this job every 5 seconds.line, the logs start reporting thisDIRTYissue.In fact, even removing the blank lines like this configuration:
ends up throwing the same error.
I am running Prometheus in a docker container, incase that matters.
Any idea what is going on?