Hi all,

I recently transferred all my code to a production server and was trying to 
start my application as another user.  I am using Debian and running as root.  
I entered the following command:

pserve production.ini --user=www-data --group=www-data start

This caused an import error: "No module named resource"

I thought I didn't install the necessary packages to run my application so I re 
downloaded everything again as root.  It still didn't work.  I'm thinking if 
this has to do with a permissions issue, www-data user doesn't have access to 
the modules in my virtual environment created by the root user. 

However if I just run pserve production.ini start, I get no such errors. Can 
anybody help me?

Regards,
Mark Huang

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/tyhssmwO18cJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to