291 Star 3.8K Fork 2.2K

zhengqingya / docker-compose

 / 详情

grafana_promtail_loki报错

待办的
创建于  
2023-08-18 10:05

creating WAL folder at "/wal": mkdir wal: permission denied
error initialising module: ingester
github.com/grafana/dskit/modules.(*Manager).initModule
/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:122
github.com/grafana/dskit/modules.(*Manager).InitModuleServices
/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:92
github.com/grafana/loki/pkg/loki.(*Loki).Run
/src/loki/pkg/loki/loki.go:458

n
/src/loki/cmd/loki/main.go:110

runtime.main
/usr/local/go/src/runtime/proc.go:250
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1598
level=warn ts=2023-08-18T02:03:57.766833488Z caller=loki.go:286 msg="per-tenant timeout not configured, using default engine timeout ("5m0s"). This behavior will change in the next major to always use the default per-tenant timeout ("5m")."
level=info ts=2023-08-18T02:03:57.768842085Z caller=main.go:108 msg="Starting Loki" version="(version=2.8.4, branch=HEAD, revision=89d282c43)"
level=info ts=2023-08-18T02:03:57.769577761Z caller=server.go:323 http=[::]:3100 grpc=[::]:9095 msg="server listening on addresses"
level=info ts=2023-08-18T02:03:57.770075287Z caller=modules.go:895 msg="Ruler storage is not configured; ruler will not be started."
level=warn ts=2023-08-18T02:03:57.770839818Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.770871751Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.770882121Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.770893319Z caller=querysharding.go:313 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.77090575Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.771344152Z caller=cache.go:114 msg="fifocache config is deprecated. use embedded-cache instead"
level=warn ts=2023-08-18T02:03:57.771362466Z caller=experimental.go:20 msg="experimental feature in use" feature="In-memory (FIFO) cache - chunksembedded-cache"
level=info ts=2023-08-18T02:03:57.77317112Z caller=modules.go:914 msg="RulerStorage is nil. Not starting the ruler."
level=info ts=2023-08-18T02:03:57.77325188Z caller=modules.go:1024 msg="Not using object storage index, not starting compactor"
level=error ts=2023-08-18T02:03:57.774232727Z caller=log.go:171 msg="error running loki" err="creating WAL folder at "/wal": mkdir wal: permission denied\nerror initialising module: ingester\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:122\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:92\ngithub.com/grafana/loki/pkg/loki.(*Loki).Run\n\t/src/loki/pkg/loki/loki.go:458\nmain.main\n\t/src/loki/cmd/loki/main.go:110\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1598"
loki容器报错日志

评论 (1)

PJZer0 创建了任务

根据您的报错信息“creating WAL folder at "/wal": mkdir wal: permission denied”
赋予下权限试试呢。

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1988119 zhengqingya 1678352739
Docker
1
https://gitee.com/zhengqingya/docker-compose.git
git@gitee.com:zhengqingya/docker-compose.git
zhengqingya
docker-compose
docker-compose

搜索帮助