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 # 查看日志;
相关推荐
极小狐4 天前
从 GitLab Flow 到 Pipeline:分支策略 + CI/CD + 运维一文打通
ci/cd·gitlab·devops·极狐gitlab
猫头虎4 天前
GitHub 入门教程:如何加入并为开源项目贡献代码
gitee·开源·gitlab·github·开放原子·开源协议·gitcode
悠然南风6 天前
【云原生学习】Prometheus监控、GitLab与Jenkins部署实战
kubernetes·gitlab
极小狐8 天前
极狐GitLab Runner 自托管安全加固指南
安全·ci/cd·gitlab·devops·runner·安全加固
钝挫力PROGRAMER9 天前
Windows Docker 环境搭建 GitLab CI/CD 流水线
windows·docker·gitlab·gitlab-runner
我一定会有钱14 天前
打造完美工作流:Git 配置”一次推送,三端同步”(Gitee/GitCode/GitHub)
开发语言·windows·vscode·搜索引擎·gitlab·github·visual studio code
LXY_BUAA15 天前
Git_在飞牛中部署 GitLab_20260817
git·gitlab
Jeanyia17 天前
GitLab 配套 Git 常用命令
git·gitlab
极小狐18 天前
极狐GitLab 补丁版本:19.2.1、19.1.3、19.0.5
网络·安全·gitlab·极狐gitlab·安全更新·补丁版本