Heroku应用程序与'libruby.so.1.9崩溃:无法打开共享对象文件' [英] Heroku app crashes with 'libruby.so.1.9: cannot open shared object file'

查看:163
本文介绍了Heroku应用程序与'libruby.so.1.9崩溃:无法打开共享对象文件'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从来没有遇到过部署这个应用程序的问题,但我只是推了,现在我得到了这个奇怪的错误,这个错误在堆栈中足够深,甚至没有发送到Airbrake。我有一种感觉,这可能是Heroku的一个问题,可能与 https://status.heroku.com /事件/ 450 ?你认为什么?

  2012-10-14T08:40:31 + 00:00 heroku [web.1]:状态从开始变为崩溃
2012-10-14T08:40:31 + 00:00 heroku [web.1]:状态从崩溃状态变为开始
2012-10-14T08:40:35 + 00 :00 heroku [web.1]:使用命令`bundle exec thin start -R config.ru -e production -p 16119`开始处理
2012-10-14T08:40:38 + 00:00 app [web .1]:/app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri.rb:27:in`require':libruby.so.1.9:无法打开共享目标文件:没有这样的文件或目录 - /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri/nokogiri.so(LoadError)
2012-10-14T08:40:38 +00:00应用[web.1]:从/app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri.rb:27:in`< top(required)> ;'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/ fog / core.rb:30:在'require'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/宝石s / fog-1.6.0 / lib / fog / core.rb:30:在'< top(required)>'
2012-10-14T08:40:38 + 00:00 app [web。 1]:from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog.rb:1:in`require'
2012-10-14T08:40:38 +00:00 app [web.1]:从/app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog.rb:1:in`< top(required)> ;'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/ bundler / runtime.rb:68:在'require'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/ gems / bundler-1.2.1 / lib / bundler / runtime.rb:68:在'block(2 levels)in require'
2012-10-14T08:40:38 + 00:00 app [web.1 ]:from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in`each'
2012-10-14T08:40: 38 + 00:00 app [web.1]:从/app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in`block in require'
2012-10-14T08:40:38 + 00:00 app [web.1]:从/app/vendor/bundle/ruby/1.9.1/gems/bundler -1.2.1 / lib / bundler / runtime.rb:55:在`each'
2012-10-14T08:40:38 + 00:00 app [web.1]:from / app / vendor / bundle /ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in`require'
2012-10-14T08:40:38 + 00:00 app [web。 1]:from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler.rb:128:in`require'
2012-10-14T08:40:38 +00:00 app [web.1]:from /app/config/boot.rb:8:in`< top(required)>'
2012-10-14T08:40:38 + 00: 00 app [web.1]:from config.ru:7:in`require'
2012-10-14T08:40:38 + 00:00 app [web.1]:from config.ru:7:在< main>'块中
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/gems/rack -1.4.1 / lib / rack / builder.rb:51:在`instance_eval'
2012-10-14T08:40:38 + 00:00 app [web.1]:from / app / vendor / bundle /ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in`initialize'
2012-10-14T08:40:38 + 00:00 app [web。 1]:from config.ru:1:in`new'
2012-10-14T08:40:38 + 00:00 app [web.1]:from config.ru:1:在< main>'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6 .0 / lib / fog / core / parser.rb:1:在'require'
2012-10-14T08:40:38 + 00:00 app [web.1]:from / app / vendor / bundle /ruby/1.9.1/gems/fog-1.6.0/lib/fog/core/parser.rb:1:in`< top(required)>'
2012-10-14T08:40: 38 + 00:00应用[web.1]:从/app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in`eval'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/ controllers / controller.rb:71:在'start'
2012-10-14T08:40:38 + 00:00 app [web.1]:从/app/vendor/bundle/ruby/1.9.1/开始gems / thin-1.5.0 / lib / thin / runner.rb:187:在`run_command'
2012-10-14T08:40:38 + 00:00 app [web.1]:from / app / vendor / bundle / ruby​​ / 1.9.1 / gems / thin-1.5.0 / lib / thin / runner.rb:152:在`run!'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/bin/thin:6:in`< top(required)>'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in`load'
2012- 10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in`< main>'
2012 -10-14T08:40:38 + 00:00应用[web.1]:从/app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb :33:`load'
2012-10-14T08:40:38 + 00:00 app [web.1]:from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5 .0 / lib / thin / controllers / controller.rb:181:在`load_rackup_config'
2012-10-14T08:40:39 + 00:00 heroku [web.1]:进程已退出,状态为1
2012-10-14T08:40:39 + 00:00 heroku [web.1]:状态从开始变为崩溃
2012-10-14T08:40:46 + 00:00 heroku [router]:错误H10(应用程序崩溃) - > GET paintafish.herokuapp.com/ dyno = queue = wait = service = status = 503 bytes =


解决方案

我有一个类似的问题,但与kgio(2.7.4)宝石。在用完想法之后,我刚刚删除了heroku应用程序并重新创建。问题消失了。

I've never had problems deploying this app but I've just pushed and now I'm getting this weird error, which is deep enough in the stack that it's not even getting sent to Airbrake. I have a feeling it might be a problem at Heroku's end, possibly relating to https://status.heroku.com/incidents/450? What do you think?

2012-10-14T08:40:31+00:00 heroku[web.1]: State changed from starting to crashed
2012-10-14T08:40:31+00:00 heroku[web.1]: State changed from crashed to starting
2012-10-14T08:40:35+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 16119`
2012-10-14T08:40:38+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri.rb:27:in `require': libruby.so.1.9: cannot open shared object file: No such file or directory - /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri/nokogiri.so (LoadError)
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri.rb:27:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core.rb:30:in `require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core.rb:30:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog.rb:1:in `require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog.rb:1:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `each'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `block in require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `each'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler.rb:128:in `require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/config/boot.rb:8:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]:   from config.ru:7:in `require'
2012-10-14T08:40:38+00:00 app[web.1]:   from config.ru:7:in `block in <main>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2012-10-14T08:40:38+00:00 app[web.1]:   from config.ru:1:in `new'
2012-10-14T08:40:38+00:00 app[web.1]:   from config.ru:1:in `<main>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core/parser.rb:1:in `require'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core/parser.rb:1:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `eval'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:71:in `start'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:187:in `run_command'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:152:in `run!'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/bin/thin:6:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `load'
2012-10-14T08:40:38+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2012-10-14T08:40:39+00:00 heroku[web.1]: Process exited with status 1
2012-10-14T08:40:39+00:00 heroku[web.1]: State changed from starting to crashed
2012-10-14T08:40:46+00:00 heroku[router]: Error H10 (App crashed) -> GET paintafish.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=

解决方案

I had a similar issue but with kgio (2.7.4) gem. After running out of ideas, I just deleted the heroku app and recreated. The problem disappeared.

这篇关于Heroku应用程序与'libruby.so.1.9崩溃:无法打开共享对象文件'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆