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
    评论
这个错误提示表明你无法执行一个二进制文件。有几个可能的原因导致这个问题。首先,这可能是因为你尝试运行的文件与你的系统体系结构不兼容。也就是说,你的系统是64位的,但你试图执行的文件可能是32位的。此外,文件本身可能已经损坏。另外,还有一种可能是你缺少执行该文件所需的依赖项。要解决这个问题,你可以尝试以下几个步骤: 1. 确保你正在尝试执行的文件与你的系统体系结构是兼容的。你可以使用以下命令检查你的系统体系结构:`uname -m`。然后,确认你正在尝试执行的文件是否与此匹配。 2. 确保文件本身没有损坏。你可以使用以下命令检查文件的完整性:`file /usr/local/bin/sysbench`。确保输出显示该文件是一个可执行文件。 3. 检查是否缺少执行文件所需的依赖项。你可以尝试使用`ldd /usr/local/bin/sysbench`命令来查看文件的依赖项。确保所有依赖项都已满足。 如果以上步骤都没有解决问题,那可能是因为你的系统配置有问题或者文件本身存在其他问题。建议你查看系统日志或联系相关技术支持人员,以获取更详细的帮助和解决方案。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [linux输入yum后提示: -bash: /usr/bin/yum: No such file or directory的解决方法](https://download.csdn.net/download/weixin_38752459/14090617)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [解决 cannot execute binary file: Exec format error](https://blog.csdn.net/qq_56992543/article/details/131897697)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [解决linux手动安装JDK出现cannot execute binary file: Exec format error的问题](https://blog.csdn.net/qq_45699990/article/details/122004336)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值