Supervisor sentry-web exit status 1

Posted by rockingskier on Server Fault See other posts from Server Fault or by rockingskier
Published on 2012-04-12T23:13:54Z Indexed on 2012/04/12 23:32 UTC
Read the original article Hit count: 663

Filed under:
|
|

I'm having problems getting Sentry (https://www.getsentry.com - not enough rep for a link) running as a service using supervisor. I can run Sentry in the command line and view it correctly in the browser but when it comes to supervisor I am completely in the dark.

I shall try and give all the details I can

Initial user warning

  • By no means a server admin, just playing/learning in VirtualBox.
  • Literally only just discovered supervisor from reading the Sentry documentation so I may well be making some obvious mistakes here.

The setup:

  • Ubuntu server 11.10 (fresh install, VirtualBox)
  • virtualenv with Sentry and its dependencies.
  • supervisor

Instructions followed

My supervisor ini (Sentry section)

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

OK so here we go:

When I run supervisord -n I get the following messages rather than a nice web interface to play with.

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) suggests a big problem, probably shouldn't be running this as root?

CRIT Server 'unix_http_server' running without any HTTP authentication checking Surely authentication is optional?

INFO exited: sentry-web (exit status 1; not expected) *sad face* here. Google hasn't been much help yet.

Anyway, that is it as far as I know. If anyone can help me that would be greatly appreciated.

Thanks in advance.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about supervisor