gitlab搭建遇到的问题 [execute] fail: logrotate: runsv not running /opt/gitlab/bin/gitlab-ctl start

    (up to date)
  * execute[/opt/gitlab/bin/gitlab-ctl start logrotate] action run
[execute] fail: logrotate: runsv not running
  ================================================================================
    Error executing action `run` on resource 'execute[/opt/gitlab/bin/gitlab-ctl start logrotate]'
    ================================================================================
    

Running handlers:
There was an error running gitlab-ctl reconfigure:

execute[/opt/gitlab/bin/gitlab-ctl start logrotate] (logrotate::enable line 29) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-ctl start logrotate ----
STDOUT: fail: logrotate: runsv not running
STDERR: 
---- End output of /opt/gitlab/bin/gitlab-ctl start logrotate ----
Ran /opt/gitlab/bin/gitlab-ctl start logrotate returned 1

官方解决方案:

Common installation problems | GitLab

https://docs.gitlab.com/omnibus/common_installation_problems/#gitlab-runsvdir-not-startin

执行:

sudo /opt/gitlab/embedded/bin/runsvdir-start &

问题解决

参考:

gitlab搭建遇到的问题记录_霍宏鹏的专栏-CSDN博客

https://blog.csdn.net/huohongpeng/article/details/113856718

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值