We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
apx-idea WSGI Daemon Process Permission Denied Error
apx-idea WSGI Daemon Process Permission Denied Error
Hello,
I tried to setup a Django project in my server, however I see the following error in the logs:
When I check the permissions of 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)
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.
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
Is there a workaround for this issue?
(OS: Debian 7, I used mod_wsgi template to create the virtual host)
Re: apx-idea WSGI Daemon Process Permission Denied Error
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?
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?
-
- Posts: 2
- Joined: Mon Mar 07, 2016 1:52 am
Re: apx-idea WSGI Daemon Process Permission Denied Error
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
viewtopic.php?f=19&t=10867&p=40758
I havent tried this on Centos yet
-
- Posts: 1
- Joined: Sat Nov 26, 2016 7:36 pm
Re: apx-idea WSGI Daemon Process Permission Denied Error
Update mod_wsgi to 4.5.7 and use socket-user option in WSGIDaemonProcess directive.