1

我在我的 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

提前致谢!!

4

2 回答 2

3

正如 jaywink 指出的那样,您不应该以 root 身份运行 Diaspora。

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

于 2013-03-22T14:45:05.453 回答
1

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

引用 Diaspora* 安装说明:

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

https://wiki.diasporafoundation.org/Installation

于 2013-03-22T14:22:43.517 回答