执行gitlab-ctl start 提示全部启动失败解决办法

[root@localhost gitlab]# gitlab-ctl start
fail: alertmanager: runsv not running
fail: gitaly: runsv not running
fail: gitlab-exporter: runsv not running
fail: gitlab-workhorse: runsv not running
fail: grafana: runsv not running
fail: logrotate: runsv not running
fail: nginx: runsv not running
fail: node-exporter: runsv not running
fail: postgres-exporter: runsv not running
fail: postgresql: runsv not running
fail: prometheus: runsv not running
fail: redis: runsv not running
fail: redis-exporter: runsv not running
fail: sidekiq: runsv not running
fail: unicorn: runsv not running

先执行

sudo systemctl start gitlab-runsvdir

然后在执行

sudo gitlab-ctl restart

然后就大功告成了
[root@localhost gitlab]# sudo gitlab-ctl restart
ok: run: alertmanager: (pid 1939) 0s
ok: run: gitaly: (pid 1947) 0s
ok: run: gitlab-exporter: (pid 1964) 1s
ok: run: gitlab-workhorse: (pid 1966) 0s
ok: run: grafana: (pid 1972) 1s
ok: run: logrotate: (pid 1982) 0s
ok: run: nginx: (pid 1988) 1s
ok: run: node-exporter: (pid 1993) 0s
ok: run: postgres-exporter: (pid 2001) 1s
ok: run: postgresql: (pid 2018) 0s
ok: run: prometheus: (pid 2029) 0s
ok: run: redis: (pid 2036) 0s
ok: run: redis-exporter: (pid 2040) 0s
ok: run: sidekiq: (pid 2046) 1s
ok: run: unicorn: (pid 2054) 0s

gitlab常用命令
修改配置后的初始化
gitlab-ctl reconfigure
启动
sudo gitlab-ctl start
停止
sudo gitlab-ctl stop
重启
sudo gitlab-ctl restart
开机启动
systemctl enable gitlab-runsvdir.service
禁止开机自启动
systemctl disable gitlab-runsvdir.service

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值