开始侨民时失败

时间:2013-03-21 21:49:18

标签: ubuntu-12.04 diaspora

我在我的Ubuntu服务器上安装了diaspora。 这是我的堆栈跟踪。我不知道该怎么做才能解决它。 甚至无法通过谷歌找到任何答案。

22:45:03 web.1    | started with pid 16564
22:45:03 worker.1 | started with pid 16567
22:45:14 web.1    | /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/lib/unicorn/configurator.rb:589:in `set_path': ArgumentError (ArgumentError)
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/lib/unicorn/configurator.rb:493:in `stderr_path'
22:45:14 web.1    |     from config/unicorn.rb:24:in `reload'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/lib/unicorn/configurator.rb:75:in `instance_eval'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/lib/unicorn/configurator.rb:75:in `reload'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/lib/unicorn/configurator.rb:68:in `initialize'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/lib/unicorn/http_server.rb:108:in `new'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/lib/unicorn/http_server.rb:108:in `initialize'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/bin/unicorn_rails:209:in `new'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/gems/unicorn-4.6.0/bin/unicorn_rails:209:in `<top (required)>'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/bin/unicorn_rails:19:in `load'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/bin/unicorn_rails:19:in `<main>'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/bin/ruby_noexec_wrapper:14:in `eval'
22:45:14 web.1    |     from /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/bin/ruby_noexec_wrapper:14:in `<main>'
22:45:14 web.1    | exited with code 1
22:45:14 system   | sending SIGTERM to all processes
SIGTERM received
22:45:14 worker.1 | rake aborted!
22:45:14 worker.1 | SIGTERM
22:45:14 worker.1 | /root/diaspora_source/diaspora/config/application.rb:11:in `require'
22:45:14 worker.1 | /root/diaspora_source/diaspora/config/application.rb:11:in `<top (required)>'
22:45:14 worker.1 | /root/diaspora_source/diaspora/Rakefile:8:in `require'
22:45:14 worker.1 | /root/diaspora_source/diaspora/Rakefile:8:in `<top (required)>'
22:45:14 worker.1 | /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/bin/ruby_noexec_wrapper:14:in `eval'
22:45:14 worker.1 | /usr/local/rvm/gems/ruby-1.9.3-p385@diaspora/bin/ruby_noexec_wrapper:14:in `<main>'
22:45:14 worker.1 | (See full trace by running task with --trace)
22:45:14 worker.1 | terminated by SIGTERM

提前致谢!!

2 个答案:

答案 0 :(得分:3)

正如jaywink所指出的,你不应该以root身份运行Diaspora。

您的错误只发生在当前发布的版本中,并且仅当您为独角兽设置stderr_path和/或stdout_path时才会发生错误。一旦下一个非修补程序版本发布,它将使用此patch进行修复。

答案 1 :(得分:1)

您是否以root身份安装了Diaspora *?绝对不推荐这样做,Diaspora *应该安装在普通用户之下。

引自Diaspora *安装说明:

  

我们经常看到人们以root身份做所有事情。如果你认为这是一个好主意:它不是。这是你能做的最糟糕的事情!所有程序都会告诉您以root身份运行它们或要求您输入密码。如果没有明确要求,或者本指南未明确要求,请不要以root身份启动任何内容。只需使用普通用户或为Diaspora创建自己的系统用户即可。

https://wiki.diasporafoundation.org/Installation