Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
The Following User Says Thank You to jrossi90 For This Useful Post:
LinuxUser80 (29th May 2013)
Sponsored Links
 

Bookmarks

Tags
django, nginx baruwa, python, uwsgi

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
Apache Ownership cybereatl General 2 26th March 2008 12:25
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 02:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.