> 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
