GitLab启动失败:fail: alertmanager: runsv not running

问题描述

sudo gitlab-ctl restart ,报错如下 :

复制代码
summergao@ubuntu:/etc/gitlab$ sudo 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: puma: runsv not running
fail: redis: runsv not running
fail: redis-exporter: runsv not running
fail: sidekiq: runsv not running

解决办法

复制代码
sudo systemctl start gitlab-runsvdir
sudo gitlab-ctl restart

常用命令

复制代码
sudo gitlab-ctl status # 查看服务;
sudo gitlab-ctl start # 启动;
sudo gitlab-ctl stop # 停止;
sudo gitlab-ctl restart # 重启;
sudo gitlab-ctl reconfigure # 启动配置;
sudo gitlab-ctl tail # 查看日志;
相关推荐
滴答滴答嗒嗒滴1 天前
CI/CD 全流程全解
chrome·git·python·ci/cd·gitlab
嵌入式up3 天前
Git生成公钥及gitlab配置公钥
git·gitlab
小薛博客5 天前
Git常用操作之GitLab
java·git·gitlab·github·idea
咩咩大主教5 天前
Gitlab报错:sudo: a password is required
linux·服务器·git·ubuntu·gitlab·shell·gitlabci/cd
测试渣6 天前
如何通过自动化测试提升DevOps效率?
ci/cd·自动化·gitlab·devops
裁二尺秋风7 天前
CI/CD—GitLab部署
ci/cd·gitlab
码农葫芦侠7 天前
GitLab CI/CD学习教程(第一章概念)
学习·ci/cd·gitlab
小诸葛的博客8 天前
如何将一个项目推送到gitlab
gitlab
何似在人间5758 天前
GitLab版本控制-分支(详解)
gitlab
xiaodaiwang8 天前
gitlab备份到SVN之变更备份服务器
服务器·svn·gitlab