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

Fisco3.2官方文档中“多群组区块链(Pro版本)”部分的教程,部署监控服务失败 #4382

Open
skywalker2017 opened this issue Apr 17, 2024 · 3 comments

Comments

@skywalker2017
Copy link

skywalker2017 commented Apr 17, 2024

Describe the bug
执行python3 build_chain.py chain -o deploy -t monitor后有显示deploy all nodes monitor success,但3001端口无法访问
用docker logs 查看prometheus日志显示
ts=2024-04-17T08:36:27.426Z caller=main.go:521 level=error msg="Error loading config (--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prometheus.yml err="parsing YAML file /etc/prometheus/prometheus.yml: yaml: line 18: did not find expected ',' or ']'"

yml文件异常 /root/fisco/BcosBuilder/docker/host/linux/monitor/prometheus/prometheus.yml
image

@JimmyShi22
Copy link
Member

从文件内容看,是漏了一些逗号

@skywalker2017
Copy link
Author

文件没动过,自动生成的

@yinghuochongfly
Copy link
Contributor

文件是追加写入,应该是重复部署导致的,删除多余写入的内容

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

No branches or pull requests

3 participants