I have worked through the Django tutorial parts 1 and 2 with an Oracle back
end using the development server. Everything worked fine. I now want to use
a real server - Apache + mod_wsgi. I've got to the point where I get an
"Improperly Configured at /" page, which shows the following:
Exception
Just an edit to my original post: ... but this does *not* resolve my
problem. Sorry for any confusion.
On Monday, September 10, 2012 2:41:00 PM UTC+10, Jon Blake wrote:
>
> I have worked through the Django tutorial parts 1 and 2 with an Oracle
> back end using the development server. Everything
On Sunday, September 9, 2012 10:41:00 PM UTC-6, Jon Blake wrote:
>
> It looks like I have to tell my app what my path to libclntsh.so.11.1 is.
> I have added:
>
> os.environ['LD_LIBRARY_PATH'] = '/oracle/product/11.1.0/db_1/lib'
>>
>
> to my app's wsgi.py file, but this does resolve my problem.
>
I've been using ldconfig to handle libs. It's easy as runnig following few
commands as a root. (Though I always use oracle instantclient, it's just
simpler in many cases):
$ echo /oracle/product/11.1.0/db_1/**lib > /etc/ld.so.conf.d/oracle.conf
$ ldconfig
On Mon, Sep 10, 2012 at 7:11 PM, Ian w
Thanks, Jani and Ian. I've used the ldconfig approach to fix this problem.
Now getting a "ImportError at /" page, for which I'll post another question.
On Tuesday, September 11, 2012 6:15:57 AM UTC+10, Jani Tiainen wrote:
>
> I've been using ldconfig to handle libs. It's easy as runnig following
set the ORACLE_HOME variable of the user who run site
SuexecUserGroup inof inof
env |grep ORA
ORACLE_BASE=/usr/lib/oracle
ORACLE_HOME=/usr/lib/oracle/11.2/client64/
On 11 September 2012 03:05, Jon Blake wrote:
> Thanks, Jani and Ian. I've used the ldconfig approach to fix this problem.
> Now ge
6 matches
Mail list logo