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 # 查看日志;
相关推荐
_可乐无糖13 小时前
GitLab CI 脚本之 dependencies 和 needs
ci/cd·gitlab
Fan_5582 天前
4核8G云服务器部署GitLab内存耗尽解决方案
gitlab
洋就在江州2 天前
gitlab-cicd 离线集成——springboot-cicd (非docker形式,shell形式)
java·spring boot·后端·ci/cd·gitlab·gitlab-runner
成为你的宁宁3 天前
【Ubuntu 18.04安装Gitlab】
ubuntu·gitlab
长春的KAKA3 天前
GitLab 项目页面报 500 错误的完整修复记录:PostgreSQL 数据库损坏、统计表缺失及数据库迁移
数据库·postgresql·gitlab
蓝胖的四次元口袋3 天前
GitLab知识梳理
gitlab
极小狐12 天前
CI 作业里 kubectl 连不上集群?用 Kubernetes Agent 打通部署链路的 7 个步骤
ci/cd·kubernetes·gitlab·devops·k8s部署
Zhou14113612 天前
Git_02_GitLab协作与CI_CD
git·ci/cd·gitlab
白帽攻防录12 天前
SRC 挖洞:GitLab GraphQL 指令绕过深度复盘,CVE-2026-19478 未授权删项目怎么打穿代码托管平台
网络·网络安全·gitlab·graphql
daemon.qiang23 天前
国内虚拟机对接 Freedesktop:Fork xserver、自建 Runner 与提交 MR 实战
linux·ubuntu·centos·gitlab·开源软件