"Failed to create directory for logging active queries"

856 views
Skip to first unread message

Rodolphe Ghio

unread,
Sep 21, 2020, 5:23:05 AM9/21/20
to Prometheus Users

Hi everyone !

'm trying to use fuse-zip with prometheus to compress all my data.
So I've zipped the /var/prometheus wich contains all chunk, wal, queries.active and lock.
I've run this commande :
fuse-zip /var/prometheus.zip  /var/promzip/

So my folder has been mount correctly I can find all prometheus stuff in /var/promzip/var/prometheus/

So now I'm trying to start Prometheus and i've this error:
https://hastebin.com/peheqahuda.sql

I've double check every single file permission and it looks good. I've no idea how to fix this issue. My permissions: https://hastebin.com/xogorayifo.css

Does anyone know how can I fix this ? It would help me a lot.

Rodolphe Ghio

unread,
Sep 21, 2020, 5:42:07 AM9/21/20
to Prometheus Users
I've also tried to chown -R _prometheus:prometheus /var/promzip

Brian Candler

unread,
Sep 21, 2020, 10:17:30 AM9/21/20
to Prometheus Users
Perhaps fuse-zip doesn't support mmap(), which is required by Prometheus.

Rodolphe Ghio

unread,
Sep 21, 2020, 10:20:29 AM9/21/20
to Prometheus Users
I've solved the issue,
Prometheus is like a normal user and fuse is run as root, so all directories/files mounted by fuse are only readable by root users. So I've added an argument : -o allow_other . So normal users can also read/write.
Cheers
Reply all
Reply to author
Forward
0 new messages