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 # 查看日志;
相关推荐
亚那迦基2 天前
24小时高危漏洞速报,互联网惊天危机来临!PHP、Java、Node.js、NGINX、GitLab无一幸免,看看你家是否中招
nginx·gitlab·php
考虑考虑2 天前
git刷新远程分支列表
git·后端·gitlab
IT大白鼠9 天前
GitLab 未认证 RCE 应急实战CVE-2026-97229(CVSS 10.0)
网络·安全·gitlab
71777716 天前
Git自建用什么工具比较好:Gitea、Forgejo、GitLab CE与Gitee的选型对比
git·gitlab·gitea
colinu18 天前
Create gitlab-runner
gitlab
master33618 天前
GitLab 10.x → 19.5.x 升级路线图
gitlab
长不大的杨瑞杰19 天前
OpenCode v2 GitLab 集成实战:Issue 驱动开发、MR 审查与 CI/CD 最小权限
人工智能·ci/cd·gitlab·ai编程·opencode
极小狐25 天前
极狐GitLab万人并发架构实践,大规模组织的扩容路线图
架构·gitlab·极狐gitlab
Lvan的前端笔记25 天前
GitLab CI 环境变量整理
ci/cd·gitlab
李迟1 个月前
CICD实例:解决GitLab Runner无法执行CICD问题
gitlab