Re: ORACLE_HOME in wsgi script

2009-06-09 Thread David Durham
On Tue, Jun 9, 2009 at 3:44 PM, David Durham wrote: > On Thu, Jun 4, 2009 at 8:54 AM, SlafS wrote: >> >> Hi! >> >> I'm trying to run Django app with mod_wsgi and Oracle, but when I try >> to configure it I always get an internal server error (500) with this >> error.log: >> >> ImproperlyConfigured

Re: ORACLE_HOME in wsgi script

2009-06-09 Thread David Durham
On Thu, Jun 4, 2009 at 8:54 AM, SlafS wrote: > > Hi! > > I'm trying to run Django app with mod_wsgi and Oracle, but when I try > to configure it I always get an internal server error (500) with this > error.log: > > ImproperlyConfigured: Error loading cx_Oracle module: libclntsh.so. > 11.1: cannot

Re: ORACLE_HOME in wsgi script

2009-06-04 Thread Pablo Suárez Hernández
In my case I have the next line on my wsgi script. os.environ['ORACLE_HOME'] = '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server' You must be sure you have installed the oracle-instantclient-devel package (which has the libclntsh.so and others files required). I hope this helps you. Regard

ORACLE_HOME in wsgi script

2009-06-04 Thread SlafS
Hi! I'm trying to run Django app with mod_wsgi and Oracle, but when I try to configure it I always get an internal server error (500) with this error.log: ImproperlyConfigured: Error loading cx_Oracle module: libclntsh.so. 11.1: cannot open shared object file: No such file or directory It seems