GitLab 在 RHEL 7 上安装失败

GitLab 在 RHEL 7 上安装失败

我正在尝试在 RHEL 7 上安装 GitLab 7.0(使用 CentOS omnibus 包),但安装在下面的步骤中一直失败。关于如何成功完成安装有什么建议吗?

  * execute[initctl status gitlab-runsvdir] action run
================================================================================
Error executing action `run` on resource 'execute[initctl status gitlab-runsvdir]'
================================================================================


Errno::ENOENT
-------------
No such file or directory - initctl


Resource Declaration:
---------------------
# In /opt/gitlab/embedded/cookbooks/runit/recipes/upstart.rb

 29: execute "initctl status gitlab-runsvdir" do
 30:   retries 30
 31: end
 32:



Compiled Resource:
------------------
# Declared in /opt/gitlab/embedded/cookbooks/runit/recipes/upstart.rb:29:in `from_file'

execute("initctl status gitlab-runsvdir") do
  action "run"
  retries 0
  retry_delay 2
  guard_interpreter :default
  command "initctl status gitlab-runsvdir"
  backup 5
  returns 0
  cookbook_name :runit
  recipe_name "upstart"
end




Running handlers:
[2014-07-07T12:23:16-04:00] ERROR: Running exception handlers
Running handlers complete

[2014-07-07T12:23:16-04:00] ERROR: Exception handlers complete
[2014-07-07T12:23:16-04:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 2 resources updated in 62.2579311 seconds
[2014-07-07T12:23:16-04:00] ERROR: execute[initctl status gitlab-runsvdir] (runit::upstart line 29) had an error: Errno::ENOENT: No such file or directory - initctl
[2014-07-07T12:23:16-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

答案1

您需要联系 gitlab 开发人员并获取与 EL7 兼容的更新包。此操作失败,因为它找不到仅存在于 EL6 中的 upstart 的各种部分。

相关内容