12.04 is not a LTS? You should stay with LTS, so you will face less often those kind of issues that happen randomly on some packages each upgrade since Ubuntu is born :)
Richard On Tue, Oct 23, 2012 at 2:58 PM, Marco Túlio Cícero de M. Porto < [email protected]> wrote: > Sorry... > > meant: > > didn't know about that. Just trusted Ubuntu team. > > But as Bruce stated before, this is not the first time something goes > wrong with uwsgi and ubuntu. > Happened before. > > And that's sad, because if I can't use uwsgi, nginx is not an option for > me. > > Another thing is that Apache2+wsgi works fine, update after update. > > So, I'm startting to think on keep using Apache2+wsgi, instead of > Nginx+uwsgi, because of that... it's really complicated having issues > everytime you upgrade something. > > But again, still have hope that either Apache2 learns something from > Nginx, or that Nginx+uwsgi becomes a bit more stable in updates to come (on > Ubuntu). > > Bruce, if you happen to know what happened this time, would you care to > share ? :) Seems you know a bit about this particular subject. > > Thanks for helping! > > Cheers, > Marco Tulio > > 2012/10/23 Marco Túlio Cícero de M. Porto <[email protected]> > > Didn >> >> >> 2012/10/23 Roberto De Ioris <[email protected]> >> >>> >>> > bump >>> > >>> > 2012/10/21 Marco Túlio Cícero de M. Porto <[email protected]> >>> > >>> >> Was there any changes on newest release of Ubuntu that would explain >>> >> uwsgi >>> >> stop working ? >>> >> >>> >> (using latest web2py and nginx+uwsgi script - 2.2.1 Stable) >>> >> >>> >> Just wondering... >>> >> >>> >> -- >>> >> []'s >>> >> Marco Tulio >>> >> >>> > >>> >>> I strongly suggest you to use official uWSGI distribution (until i manage >>> to start releasing official PPAs). You can use pip to install it if you >>> feel more confortable. >>> >>> Debian uWSGI packages use a really complex (read:overcomplex) system to >>> manage startup, while uWSGI has its emperor mode requiring a single line >>> to startup... >>> >>> ...but debian team refused to use it as it is non-debian friendly... >>> >>> steps (as root/sudo): >>> >>> 1# pip install uwsgi >>> 2# mkdir /etc/uwsgi >>> 3# edit /etc/init/uwsgi-emperor >>> >>> description "uWSGI Emperor" >>> >>> start on runlevel [2345] >>> stop on runlevel [!2345] >>> >>> exec uwsgi --emperor /etc/uwsgi --logto /tmp/uwsgi.log >>> >>> 4# start uwsgi-emperor >>> >>> ...now just start dropping uWSGI config files in /etc/uwsgi and your >>> instances will start automatically (check /tmp/uwsgi.log in case of >>> problems) >>> >>> -- >>> Roberto De Ioris >>> http://unbit.it >>> >>> -- >>> >>> >>> >>> >> >> >> -- >> []'s >> Marco Tulio >> > > > > -- > []'s > Marco Tulio > > -- > > > > --

