码迷,mamicode.com
首页 > 其他好文 > 详细

gitlab报错

时间:2020-03-12 15:53:20      阅读:103      评论:0      收藏:0      [点我收藏+]

标签:启动失败   ide   localhost   ash   postgresq   状态   local   ant   src   

1.登陆gitlab失败,报503

技术图片

 

 查看gitlab状态

[root@localhost ~]# gitlab-ctl status
run: alertmanager: (pid 21666) 97s; run: log: (pid 1609) 2814s
down: gitaly: 1s, normally up, want up; run: log: (pid 1589) 2814s
run: gitlab-exporter: (pid 21815) 73s; run: log: (pid 1613) 2814s
run: gitlab-workhorse: (pid 21821) 73s; run: log: (pid 1602) 2814s
run: grafana: (pid 21829) 72s; run: log: (pid 1619) 2814s
run: logrotate: (pid 21845) 72s; run: log: (pid 1593) 2814s
run: nginx: (pid 21851) 72s; run: log: (pid 1592) 2814s
run: node-exporter: (pid 21863) 71s; run: log: (pid 1623) 2814s
run: postgres-exporter: (pid 21868) 71s; run: log: (pid 1611) 2814s
run: postgresql: (pid 21874) 70s; run: log: (pid 1601) 2814s
run: prometheus: (pid 21888) 70s; run: log: (pid 1616) 2814s
run: redis: (pid 21898) 70s; run: log: (pid 1605) 2814s
run: redis-exporter: (pid 21909) 69s; run: log: (pid 1621) 2814s
run: sidekiq: (pid 21915) 69s; run: log: (pid 1603) 2814s
run: unicorn: (pid 21927) 68s; run: log: (pid 1587) 2814s

发现gitaly启动失败,删除pid文件重启就好了

[root@localhost ~]# rm /var/opt/gitlab/gitaly/gitaly.pid
rm:是否删除普通空文件 "/var/opt/gitlab/gitaly/gitaly.pid"?y

[root@localhost ~]# gitlab-ctl restart
ok: run: alertmanager: (pid 25095) 1s
ok: run: gitaly: (pid 25106) 1s
ok: run: gitlab-exporter: (pid 25125) 0s
ok: run: gitlab-workhorse: (pid 25135) 0s
ok: run: grafana: (pid 25147) 0s
ok: run: logrotate: (pid 25159) 0s
ok: run: nginx: (pid 25165) 1s
ok: run: node-exporter: (pid 25248) 0s
ok: run: postgres-exporter: (pid 25253) 1s
ok: run: postgresql: (pid 25263) 0s
ok: run: prometheus: (pid 25272) 0s
ok: run: redis: (pid 25282) 0s
ok: run: redis-exporter: (pid 25343) 0s
ok: run: sidekiq: (pid 25350) 0s
ok: run: unicorn: (pid 25361) 0s

[root@localhost ~]# gitlab-ctl status
run: alertmanager: (pid 25095) 14s; run: log: (pid 23734) 164s
run: gitaly: (pid 25106) 13s; run: log: (pid 23726) 164s
run: gitlab-exporter: (pid 25125) 12s; run: log: (pid 23747) 164s
run: gitlab-workhorse: (pid 25135) 12s; run: log: (pid 23745) 164s
run: grafana: (pid 25147) 11s; run: log: (pid 23742) 164s
run: logrotate: (pid 25159) 11s; run: log: (pid 23731) 164s
run: nginx: (pid 25165) 11s; run: log: (pid 23727) 164s
run: node-exporter: (pid 25248) 10s; run: log: (pid 23729) 164s
run: postgres-exporter: (pid 25253) 10s; run: log: (pid 23732) 164s
run: postgresql: (pid 25263) 9s; run: log: (pid 23743) 164s
run: prometheus: (pid 25272) 9s; run: log: (pid 23737) 164s
run: redis: (pid 25282) 8s; run: log: (pid 23724) 164s
run: redis-exporter: (pid 25343) 8s; run: log: (pid 23738) 164s
run: sidekiq: (pid 25350) 7s; run: log: (pid 23730) 164s
run: unicorn: (pid 25361) 6s; run: log: (pid 23733) 164s

  

 

gitlab报错

标签:启动失败   ide   localhost   ash   postgresq   状态   local   ant   src   

原文地址:https://www.cnblogs.com/forlive/p/12469670.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!