Thanks. It was indeed the ownership that caused the problem. I should have 
thought of that...
Problem solved!

Rene
________________________________________
Van: [email protected] [[email protected]] namens Roberto 
De Ioris [[email protected]]
Verzonden: woensdag 13 juni 2012 10:01
Aan: uWSGI developers and users list
Onderwerp: Re: [uWSGI] Starting as non-root

> I am trying to setup uwsgi with django, but when i use the uid/gid options
> i get a module not found error. When i comment out the uid and gid
> options, so uwsgi is running as root, it works.
>
> Any idea what could cause this?
> All django files are in /var/cache/cpsagent/www/code-LpW505 and my project
> is in /var/cache/cpsagent/www/code-LpW505/myapp
>
> Regards
> René


Check the onwer/permissions of the file into /var/cache/cpsagent, they
must be readable by uWSGI user (www-data). Eventually try to run uWSGI as
the owner of those files (if not root, obviously)




--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to