Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

apx-idea WSGI Daemon Process Permission Denied Error

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
aerk
Posts: 1
Joined: Wed Oct 29, 2014 5:38 am

apx-idea WSGI Daemon Process Permission Denied Error
  • Quote

Post by aerk » Wed Oct 29, 2014 6:07 am

Hello,

I tried to setup a Django project in my server, however I see the following error in the logs:

Code: Select all

[Tue Oct 28 22:36:27 2014] [error] [client 98.126.25.66] (13)Permission denied: mod_wsgi (pid=2245): Unable to connect to WSGI daemon process 'apx-idea' on '/var/run/apache2/wsgi.2144.0.1.sock' after multiple attempts.
When I check the permissions of wsgi.2144.0.1.sock:

Code: Select all

root@server1:/var/run/apache2# ls -la
total 0
drwxr-xr-x  2 root     root  60 Oct 28 19:52 .
drwxr-xr-x 18 root     root 840 Oct 28 19:52 ..
srwx------  1 www-data root   0 Oct 28 19:52 wsgi.2144.0.1.sock
What I understand is that my python process doesn't have access to wsgi.2144.0.1.sock.

Is there a workaround for this issue?

(OS: Debian 7, I used mod_wsgi template to create the virtual host)
Top

erm3nda
Posts: 9
Joined: Sun May 24, 2015 8:42 am

Re: apx-idea WSGI Daemon Process Permission Denied Error
  • Quote

Post by erm3nda » Thu Jan 28, 2016 11:57 pm

I got exactly that same error and cannot figure out why can't connect.

I'll try later with a plain django app cuz im testing it with wooey (wooify version) and cannot run it.
Maybe will be easier to enable nginx with reverse proxy and just run `python manage.py runserver` in the regular way and point to the correct port.

Anyone is running wsgi at Vesta?
Top

dragonmaster
Posts: 2
Joined: Mon Mar 07, 2016 1:52 am

Re: apx-idea WSGI Daemon Process Permission Denied Error
  • Quote

Post by dragonmaster » Mon May 09, 2016 5:11 am

I found the same issues on my install, here is the Debian/Ubuntu fix.
viewtopic.php?f=19&t=10867&p=40758

I havent tried this on Centos yet
Top

yeison.vargas
Posts: 1
Joined: Sat Nov 26, 2016 7:36 pm

Re: apx-idea WSGI Daemon Process Permission Denied Error
  • Quote

Post by yeison.vargas » Sun Nov 27, 2016 12:07 pm

Update mod_wsgi to 4.5.7 and use socket-user option in WSGIDaemonProcess directive.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password