codis-dashboard启动报错
codis编译后,启动codis_dashboard报错(脚本nohup ./bin/codis-dashboard --ncpu=1 --config=config/dashboard.toml --log=dashboard.log --log-level=WARN >> /var/log/codis_dashboard.log &)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x80495bb]
goroutine 1 [running]:
sync/atomic.StoreUint64(0x18e11cf4, 0x7, 0x0)
/usr/local/go-1.9.2/src/sync/atomic/asm_386.s:190 +0xb
github.com/CodisLabs/codis/pkg/utils/log.(*LogLevel).Set(0x18e11cf4, 0x7, 0x0)
/usr/local/codis/src/github.com/CodisLabs/codis/pkg/utils/log/log.go:104 +0x31
github.com/CodisLabs/codis/pkg/utils/log.(*Logger).SetLevel(0x18e11ce0, 0x7, 0x0)
/usr/local/codis/src/github.com/CodisLabs/codis/pkg/utils/log/log.go:164 +0x36
github.com/CodisLabs/codis/pkg/utils/log.SetLevel(0x7, 0x0)
/usr/local/codis/src/github.com/CodisLabs/codis/pkg/utils/log/log.go:428 +0x33
main.main()
/usr/local/codis/src/github.com/CodisLabs/codis/cmd/dashboard/main.go:65 +0x18b
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x815b52b]
求大神解答!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
32位系统的问题(猜测)