> Ok, I think that was the prod I needed. I have the variables  
> exported from the profiles of both root and plone (under which Zope  
> should be running), but I apparently haven't set it in the right  
> spot yet. If I log in as plone, a manual import of cx_Oracle works  
> fine. However, if as root I "sudo -u plone /.../python" and try to  
> import, I get the same error returned by ZcxOracleDA. Haven't  
> figured out how to get around it yet, but it looks like this takes  
> it out of the realm of Zope and into basic system administration.

You'll probably need to provide additional arguments to sudo to tell  
it to run a login shell to pick up stuff in .profile and friends - I'm  
afraid I can't remember what they are off the top of my head. Check  
the man page for sudo.


Dan Fairs <d...@fezconsulting.com> | http://www.fezconsulting.com/

Zope-DB mailing list

Reply via email to