WebFaction
Community site: login faq

Hi! I'm trying to get sentry running on my account. I got the installation properly set up (creating a new custom app with a port no. and adding that to the SENTRY_WEB_PORT setting), but when I run sentry run web, it fails with this:

(sentry) [mistalaba@webxxx projects]$ SENTRY_CONF=~/.sentry sentry run web
Traceback (most recent call last):
  File "/home/mistalaba/.virtualenvs/sentry/bin/sentry", line 11, in <module>
    sys.exit(main())
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/sentry/runner/__init__.py", line 160, in main
    cli(prog_name=get_prog(), obj={}, max_content_width=100)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/sentry/runner/decorators.py", line 73, in inner
    return ctx.invoke(f, *args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/sentry/runner/decorators.py", line 36, in inner
    return ctx.invoke(f, *args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/sentry/runner/commands/run.py", line 115, in web
    workers=workers,
  File "/home/mistalaba/.virtualenvs/sentry/lib/python2.7/site-packages/sentry/services/http.py", line 165, in run
    os.execvp('uwsgi', ('uwsgi', ))
  File "/home/mistalaba/.virtualenvs/sentry/lib64/python2.7/os.py", line 344, in execvp
    _execvpe(file, args)
  File "/home/mistalaba/.virtualenvs/sentry/lib64/python2.7/os.py", line 380, in _execvpe
    func(fullname, *argrest)
OSError: [Errno 13] Permission denied

Any ideas on how to solve this? It seems like it's the uWSGI that fails, but I my knowledge is super limited when it comes to this, sorry!

Thanks! /Martin

asked 11 Sep, 17:59

mistalaba's gravatar image

mistalaba
313
accept rate: 0%


Based solely on the error message, I'd say that your uwsgi executable is missing execute permissions, or that your user is being denied execute permission via an ACL.

If that doesn't seem right, then please open a support ticket and we'll be happy to take a closer look.

permanent link

answered 12 Sep, 01:02

seanf's gravatar image

seanf ♦♦
11.9k21333
accept rate: 37%

1

Lack of executable permissions was indeed the problem. I guess I got confused since the installation locally went through without any problems. Thanks!

(12 Sep, 06:51) mistalaba mistalaba's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×2

question asked: 11 Sep, 17:59

question was seen: 146 times

last updated: 12 Sep, 06:51

Related questions

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2017 PARAGON INTERNET GROUP LIMITED
WEBFACTION IS A SERVICE OF PARAGON INTERNET GROUP LIMITED
REGISTERED IN ENGLAND AND WALES 7573953 - VAT REGISTRATION NUMBER 182147021
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM