【问题标题】:VCAP first-time startup issuesVCAP 首次启动问题
【发布时间】:2012-09-24 04:01:32
【问题描述】:

好的,所以按照此处列出的步骤设置 VCAP 实例。我在 Ubuntu DIRECTLY 新配置的 Ubuntu 10.04 云 AMI 上运行它(所以它是香草)。服用 FOREVER 后,我收到一条成功消息,并立即尝试使用说明中给出的启动命令启动实例。当我运行它时,我得到以下信息:

Targeting deployment "devbox" with cloudfoundry home "/home/vcap/cloudfoundry"
Setting up cloud controller environment
Setting up the uaa environment
Using cloudfoundry config from /home/vcap/cloudfoundry/.deployments/devbox/config
Executing /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/bin/ruby /home/vcap/cloudfoundry/vcap/dev_setup/bin/vcap start cloud_controller mongodb_node health_manager rabbitmq_node mongodb_gateway mysql_node redis_gateway uaa vblob_node filesystem_gateway mysql_gateway vblob_gateway stager dea rabbitmq_gateway postgresql_gateway router redis_node postgresql_node -c /home/vcap/cloudfoundry/.deployments/devbox/config -v /home/vcap/cloudfoundry -l /home/vcap/cloudfoundry/.deployments/devbox/log
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts': Unable to activate nats-0.4.28, because eventmachine-1.0.0 conflicts with eventmachine (= 0.12.10) (Gem::LoadError)
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:746:in `activate'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:212:in `rescue in try_activate'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:209:in `try_activate'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from /home/vcap/cloudfoundry/vcap/dev_setup/bin/vcap:13:in `<main>'

有人有什么想法吗?坦率地说,这个错误让我感到困惑......

【问题讨论】:

  • 注意:我已尝试卸载除一个 eventmachine gem 之外的所有 gem,但仍然无法启动。我在 og 文件中得到很多“无法向云控制器注册”和“需要 nats 授权”。在我“修复”事件机器冲突之后,唯一开始的部分是云控制器......

标签: ruby startup runtime-error eventmachine cloud-foundry


【解决方案1】:

大约一个小时前解决了一个 gem 冲突,有关此问题的更多信息,请查看 https://github.com/cloudfoundry/vcap/commit/8a513847518f5d4bedc314bcc52b372763d6de3e

【讨论】:

  • 太棒了!我注意到了修复,我正在再次安装!如果它解决了问题,我会通知您。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-03-22
  • 2020-03-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-07-09
相关资源
最近更新 更多