gitlab-ctl start 启动时候报错,runsv not running
解决问题:
1. 启动systemctl start gitlab-runsvdir.service
若启动时候没反应,则进行第二步,查看系统服务
2. systemctl -t target
如果存在inactive dead的服务,则意味着这个服务出错了,进行第三步操作
3. systemctl list-jobs
列出所有正在运行的任务,如果存在某个任务是running,其他任务waiting, 则是该任务堵塞了其他服务,停止该任务即可
4. systemctl stop xxx.service
停止阻塞服务
5.再次启动systemctl start gitlab-runsvdir.service,则正常启动
6.gitlab-ctl start 启动gitlab成功
本文介绍了在使用gitlab-ctlstart启动时遇到报错runsvnotrunning的解决方案,包括检查并启动systemctl服务,识别并处理inactive/dead服务,查找并停止阻塞任务,最终确保gitlab-runsvdir.service正常启动。
788

被折叠的 条评论
为什么被折叠?



