请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

harbor-db和registry一直在重启

图片描述
我的harbor-db和registry一直在重启

harbor-db的日志如下:
图片描述

registry的日志如下:
Nov 17 05:07:14 192.168.16.1 registry[29392]: time=“2019-11-17T05:07:14.268095161Z” level=info msg=“using redis blob descriptor cache” go.version=go1.7.3 instance.id=35998b30-c8eb-4ee6-b3f1-7b6ec952b812 service=registry version=v2.6.2
Nov 17 05:07:14 192.168.16.1 registry[29392]: panic: unable to configure authorization (token): unable to open token auth root certificate bundle file “/etc/registry/root.crt”: open /etc/registry/root.crt: permission denied
Nov 17 05:07:14 192.168.16.1 registry[29392]:
Nov 17 05:07:14 192.168.16.1 registry[29392]: goroutine 1 [running]:
Nov 17 05:07:14 192.168.16.1 registry[29392]: panic(0xb4cd40, 0xc4203a8170)
Nov 17 05:07:14 192.168.16.1 registry[29392]: #011/usr/local/go/src/runtime/panic.go:500 +0x1a1
Nov 17 05:07:14 192.168.16.1 registry[29392]: github.com/docker/distribution/registry/handlers.NewApp(0x1067820, 0xc420373440, 0xc42012dc00, 0x1067820)
Nov 17 05:07:14 192.168.16.1 registry[29392]: #011/go/src/github.com/docker/distribution/registry/handlers/app.go:302 +0x1b6a
Nov 17 05:07:14 192.168.16.1 registry[29392]: github.com/docker/distribution/registry.NewRegistry(0x7f3a0c91e378, 0xc420373440, 0xc42012dc00, 0xe, 0x0, 0x0)
Nov 17 05:07:14 192.168.16.1 registry[29392]: #011/go/src/github.com/docker/distribution/registry/registry.go:86 +0x213
Nov 17 05:07:14 192.168.16.1 registry[29392]: github.com/docker/distribution/registry.glob..func1(0x108f1a0, 0xc42036d190, 0x1, 0x1)
Nov 17 05:07:14 192.168.16.1 registry[29392]: #011/go/src/github.com/docker/distribution/registry/registry.go:55 +0x106
Nov 17 05:07:14 192.168.16.1 registry[29392]: github.com/docker/distribution/vendor/github.com/spf13/cobra.(*Command).execute(0x108f1a0, 0xc42036d140, 0x1, 0x1, 0x108f1a0, 0xc42036d140)
Nov 17 05:07:14 192.168.16.1 registry[29392]: #011/go/src/github.com/docker/distribution/vendor/github.com/spf13/cobra/command.go:495 +0x190
Nov 17 05:07:14 192.168.16.1 registry[29392]: github.com/docker/distribution/vendor/github.com/spf13/cobra.(*Command).Execute(0x108f340, 0xc4201e5f40, 0xc4200001a0)
Nov 17 05:07:14 192.168.16.1 registry[29392]: #011/go/src/github.com/docker/distribution/vendor/github.com/spf13/cobra/command.go:560 +0x3c3
Nov 17 05:07:14 192.168.16.1 registry[29392]: main.main()
Nov 17 05:07:14 192.168.16.1 registry[29392]: #011/go/src/github.com/docker/distribution/cmd/registry/main.go:24 +0x2d
Nov 17 05:08:06 192.168.16.1 registry[29392]: time=“2019-11-17T05:08:06.404539718Z” level=info msg="debug server listening localhost:5001"
Nov 17 05:08:06 192.168.16.1 registry[29392]: time=“2019-11-17T05:08:06.40612423Z” level=info msg=“configuring endpoint harbor (http://ui:8080/service/notifications), timeout=3s, headers=map[]” go.version=go1.7.3 instance.id=295a5e48-4e76-47b6-a0a1-36ca771768e9 service=registry version=v2.6.2
Nov 17 05:08:06 192.168.16.1 registry[29392]: time=“2019-11-17T05:08:06.419095874Z” level=info msg=“using redis blob descriptor cache” go.version=go1.7.3 instance.id=295a5e48-4e76-47b6-a0a1-36ca771768e9 service=registry version=v2.6.2

正在回答 回答被采纳积分+3

1回答

刘果国 2019-11-18 08:12:23

看提示是文件权限问题,用root操作试试

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号