0

运行时出现此错误resque-web。我试过重新启动,重新安装 resque 和 vegas 并重新编译 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>'
4

1 回答 1

0

我不得不这样做rm /home/dan/.vegas/resque_web/resque_web.url,现在它开始了。

于 2012-09-11T15:30:51.973 回答