运行resque-web
时出现此错误。我尝试重新启动,重新安装resque和拉斯维加斯并重新编译ruby。当resque作业写入文件时,我的硬盘空间耗尽后,就开始发生这种情况了。我创造了一些自由空间,但自那以后,resque-web还没有开始。
dan@ubuntu:~$ resque-web
[2012-09-10 22:34:02 -0400] Starting 'resque-web'...
/home/dan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open-uri.rb:35:in `initialize': No such file or directory - (Errno::ENOENT)
from /home/dan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open-uri.rb:35:in `open'
from /home/dan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open-uri.rb:35:in `open'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/gems/vegas-0.1.11/lib/vegas/runner.rb:146:in `port_open?'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/gems/vegas-0.1.11/lib/vegas/runner.rb:160:in `check_for_running'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/gems/vegas-0.1.11/lib/vegas/runner.rb:108:in `start'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/gems/vegas-0.1.11/lib/vegas/runner.rb:77:in `initialize'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/gems/resque-1.22.0/bin/resque-web:13:in `new'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/gems/resque-1.22.0/bin/resque-web:13:in `<top (required)>'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/bin/resque-web:19:in `load'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/bin/resque-web:19:in `<main>'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/bin/ruby_noexec_wrapper:13:in `eval'
from /home/dan/.rvm/gems/ruby-1.9.3-p125/bin/ruby_noexec_wrapper:13:in `<main>'
答案 0 :(得分:0)
我必须做rm /home/dan/.vegas/resque_web/resque_web.url
现在就开始了。