View Single Post
  #1  
Old 23rd May 2013, 04:42
jrossi90 jrossi90 is offline
Junior Member
 
Join Date: May 2013
Posts: 5
Thanks: 1
Thanked 3 Times in 2 Posts
Default uWSGI error: "Error opening file for reading: Permission denied'

I am having a problem with my SpamSnake 12.04.
The server is running Django/Nginx/uWSGI. uWSGI keeps giving me the error mentioned in the title: "Error opening file for reading: Permission denied'

I believe it may be related to the following bug: https://bugs.launchpad.net/ubuntu/+s...o/+bug/1031718

I am not sure how to resolve the issue. Can anyone help?

uWSGI Logs:

[uWSGI] getting INI configuration from /usr/share/uwsgi/conf/default.ini
[uWSGI] getting INI configuration from /etc/uwsgi/apps-enabled/baruwa.ini
Wed May 22 22:04:16 2013 - option "module" found in plugin python_plugin.so
Wed May 22 22:04:16 2013 - *** Starting uWSGI 1.0.3-debian (32bit) on [Wed May 22 22:04:16 2013] ***
Wed May 22 22:04:16 2013 - compiled with version: 4.6.3 on 17 July 2012 02:24:04
Wed May 22 22:04:16 2013 - current working directory: /
Wed May 22 22:04:16 2013 - writing pidfile to /run/uwsgi/app/baruwa/pid
Wed May 22 22:04:16 2013 - detected binary path: /usr/bin/uwsgi-core
Wed May 22 22:04:16 2013 - setgid() to 33
Wed May 22 22:04:16 2013 - setuid() to 33
Wed May 22 22:04:16 2013 - your memory page size is 4096 bytes
Wed May 22 22:04:16 2013 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/baruwa/socket fd 5
Wed May 22 22:04:16 2013 - Python version: 2.7.3 (default, Aug 1 2012, 05:27:35) [GCC 4.6.3]
Wed May 22 22:04:16 2013 - Python main interpreter initialized at 0x9dcccb0
Wed May 22 22:04:16 2013 - your server socket listen backlog is limited to 100 connections
Wed May 22 22:04:16 2013 - *** Operational MODE: preforking ***
Wed May 22 22:04:16 2013 - WSGI application 0 (mountpoint='') ready on interpreter 0x9dcccb0 pid: 14026 (default app)
Wed May 22 22:04:16 2013 - *** uWSGI is running in multiple interpreter mode ***
Wed May 22 22:04:16 2013 - spawned uWSGI master process (pid: 14026)
Wed May 22 22:04:16 2013 - spawned uWSGI worker 1 (pid: 14038, cores: 1)
Wed May 22 22:04:16 2013 - spawned uWSGI worker 2 (pid: 14039, cores: 1)
Error opening file for reading: Permission denied
Reply With Quote
Sponsored Links