0
votes
0answers
18 views

Python uWSGI logs have no read permissions

I am running a Python Flask server on uWSGI over an EC2 Ubuntu 14.04 LTS. The server is configured as follows: [uwsgi] http-socket = :9000 plugin = python wsgi-file = /path/to_wsgi.py ...
0
votes
0answers
71 views

uwsgi complains about python application not found

looks like quite common with uWSGI application, but still can't find any valuable solution. I ma working on ubuntu 12.04 with uwsgi 1.0.3 and python2.7 Here is my config.ini file: [uwsgi] uid = ...
1
vote
1answer
165 views

Ubuntu 12.04 Server - Django with uWsgi not working

I am fairly new to working with servers. I am attempting to run Django on an Ubuntu 12.04 AWS with uwsgi & nginx. I found a tutorial that I was following: ...
1
vote
0answers
185 views

Ubuntu Locales Incorrect for Python Application

I have a NGINX -> UWSGI -> Django(python) stack installed on an Ubuntu AMI on Amazon EC2. I've run into a problem when accessing a file with unicode characters in the name. The exact output from the ...
2
votes
2answers
1k views

Why is Upstart not starting uWSGI?

I am trying to set up a django project on my VPS. I am trying to get a uWSGI Emperor to run and thus spawn vassals. I have set up all my config files as suggested by numerous websites including the ...
1
vote
1answer
148 views

UWSGI can't import module 'mysite' with nginx and flask

I'm new to using uwsgi and nginx and I haven't been able to figure out why I am getting this error from uwsgi: ImportError: No module named mysite unable to load app 0 (mountpoint='my_ipaddr|') ...
0
votes
2answers
2k views

ubuntu + nginx + uwsgi + django No Python application found

I am trying to setup my server with a nginx to uwsgi to django stack, but I am having problems with the uwsgi part. When I run uwsgi and pass in all the parameters on the command line, it works ...
0
votes
1answer
1k views

“uWSGI Error Python application not found” after trying to add a subdomain to Nginx

Obviously I was wrong to assume adding a subdomain would be as straightforward as duplicating my existing domain & adding a DNS A record. So I tried to run cp -r /var/www/mydomain.com/ ...
0
votes
1answer
546 views

uWSGI ignores socket option in config

I'm use Ubuntu 12.04.1 on AWS EC2 Micro instance and trying to set up simple Flask app with uWSGI and nginx. And I faced something strange with uWSGI configuration. Here is my app.conf: [uwsgi] ...
0
votes
2answers
2k views

When starting uWSGI on Ubuntu, opendir(): No such file or directory [uwsgi.c line 471]

I am attempting to start uWSGI on Ubuntu 12.04. Upon $ sudo service uwsgi start or # uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/file.ini, I receive the following ...
0
votes
2answers
391 views

uWSGI error: my master disconnected: i will kill myself. How it happened

error message: uWSGI worker 5 screams: UAAAAAAH my master disconnected: i will kill myself !!! I use uWSGI as server to hold my pyramid app on Ubuntu 12.04
6
votes
4answers
5k views

Ubuntu 11.10 with Nginx and uWSGI

I'm trying to get a LNP [Linux Nginx Python] stack (is that even a thing? heh) going, but I'm having some difficulties. A lot of blog posts and documentation on doing this seems to revolve around ...
4
votes
1answer
2k views

UWSGI and NGINX for Python Apps on Ubuntu 11.10

I am trying to find an optimal way to set up my server to use NGINX and UWSGI to serve python applications. The following has worked so far: Initial setup: sudo apt-get install nginx uwsgi ...
3
votes
1answer
512 views

Analyze uwsgi strace log to find out why it takes high CPU usage

I'm running a django site with nginx through uwsgi. The problem is uwsgi process take a lot of CPU time when traffic become heavy. The same configuration works fine on test server and siege/ab ...
1
vote
1answer
600 views

Is there a way to force pid in upstart script

I am running a uwsgi-python server under ubuntu 10.04. I use upstart to start/stop a uwsgi daemon(daemonize option is set for uwsgi). Start and stop commands work fine, but when i try to reload my ...
2
votes
2answers
674 views

Installing Pootle with uwsgi on ubuntu server

I'm trying to install a Pootle server on an ubuntu server under uwsgi. While everything went ok on my local dev server, when online i got this error i cannot overcome. It seems application-related, ...
0
votes
3answers
919 views

Script (bash) to automatically start/restart nginx (if it fails)

Can someone help me to setup nginx on my box? I have compiled it (i'm using it to run Django app using uwsgi_rs). Its running OK but i have to start it manually. How can i setup it to autorun? And ...
1
vote
4answers
2k views

Nginx + uWSGI on a fresh Ubuntu install - bind error port 80

I know this is a common problem usually having to do with apache or another service already running on port 80 and I have done a lot of searching and running netstat and still have not figured out why ...
0
votes
1answer
496 views

Cant start uwsgi in ubuntu 10.10

When I run "/etc/init.d/uwsgi start" nothing happens, the terminal just gives me a new line and no output. There is no sign of uswsgi in ps aux as well and /var/log/uwsgi.log is empty I'm folowing ...