主pipe哨兵网退出状态1

我有问题得到哨兵( https://www.getsentry.com – 没有足够的代表链接)作为服务使用主pipe。 我可以在命令行运行Sentry并在浏览器中正确地查看它,但是当涉及到主pipe时,我完全处于黑暗之中。

我会尽力给我所有的细节

初始用户警告

  • 绝不是服务器pipe理员,只是在VirtualBox里玩/学习。
  • 从字面上看,只是从阅读Sentry文档中发现了主pipe,所以我可能会在这里犯一些明显的错误。

设置:

  • Ubuntu服务器11.10(全新安装,VirtualBox)
  • 与Sentry及其依赖关系的virtualenv。

说明如下

  • 主pipe与香草ini文件
  • 哨兵/主pipe指示

我的主pipeini(哨兵部分)

[program:sentry-web] directory=/root/.virtualenvs/sentry/ command= start http /root/.virtualenvs/sentry/bin/sentry autostart=true autorestart=true redirect_stderr=true 

好的,我们走吧:

当我运行supervisord -n我得到以下消息,而不是一个漂亮的网页界面来玩。

 2012-04-12 23:48:09,024 CRIT Supervisor running as root (no user in config file) 2012-04-12 23:48:09,097 INFO RPC interface 'supervisor' initialized 2012-04-12 23:48:09,099 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2012-04-12 23:48:09,100 INFO supervisord started with pid 17813 2012-04-12 23:48:10,126 INFO spawned: 'sentry-web' with pid 17816 2012-04-12 23:48:10,169 INFO exited: sentry-web (exit status 1; not expected) 2012-04-12 23:48:11,199 INFO spawned: 'sentry-web' with pid 17817 2012-04-12 23:48:11,238 INFO exited: sentry-web (exit status 1; not expected) 2012-04-12 23:48:13,269 INFO spawned: 'sentry-web' with pid 17818 2012-04-12 23:48:13,309 INFO exited: sentry-web (exit status 1; not expected) 2012-04-12 23:48:16,343 INFO spawned: 'sentry-web' with pid 17819 2012-04-12 23:48:16,389 INFO exited: sentry-web (exit status 1; not expected) 2012-04-12 23:48:17,394 INFO gave up: sentry-web entered FATAL state, too many start retries too quickly 

CRIT Supervisor running as root (no user in config file)提出了一个很大的问题,可能不应该作为root运行这个?

CRIT Server 'unix_http_server' running without any HTTP authentication checking当然,authentication是可选的?

INFO exited: sentry-web (exit status 1; not expected) *悲伤的脸*在这里。 谷歌还没有太多的帮助。

无论如何,就我所知,就是这样。 如果任何人都可以帮助我,将不胜感激。

提前致谢。

更新1

@ Mark Henwood,谢谢。

 $ sudo /root/.virtualenvs/sentry/bin/sentry start http Traceback (most recent call last): File "/root/.virtualenvs/sentry/bin/sentry", line 8, in <module> load_entry_point('sentry==3.8.2', 'console_scripts', 'sentry')() File "/root/.virtualenvs/sentry/local/lib/python2.7/site-packages/sentry/utils/runner.py", line 93, in main initializer=initialize_app, File "/root/.virtualenvs/sentry/local/lib/python2.7/site-packages/logan/runner.py", line 120, in run_app raise ValueError("Configuration file does not exist. Use '%s init' to initialize the file." % runner_name) ValueError: Configuration file does not exist. Use 'sentry init' to initialize the file. 

必须在sentry子命令之前指定–config选项,如下所示:

 sentry --config=/somedir/sentry.conf.py start ....