grafana 绑定80端口
报错信息
1 |
msg="Fail to start server" logger=server error="listen tcp 0.0.0.0:80: bind: permission denied" |
解决办法
1 2 |
setcap 'cap_net_bind_service=+ep' /usr/sbin/grafana-server service grafana-server restart |