<tt><font size=2>zope-db-bounces@zope.org wrote on 08/17/2009 02:06:59
PM:<br><br>&gt; From:</font></tt><br><tt><font size=2>&gt; <br>&gt; &quot;Charlie Clark&quot; &lt;charlie@egenix.com&gt;</font></tt><br><tt><font size=2>&gt; <br>&gt; To:</font></tt><br><tt><font size=2>&gt; <br>&gt; zope-db@zope.org</font></tt><br><tt><font size=2>&gt; <br>&gt; Date:</font></tt><br><tt><font size=2>&gt; <br>&gt; 08/17/2009 02:04 PM</font></tt><br><tt><font size=2>&gt; <br>&gt; Subject:</font></tt><br><tt><font size=2>&gt; <br>&gt; Re: [Zope-DB] ZcxOracleDA configuration assistance</font></tt><br><tt><font size=2>&gt; <br>&gt; Sent by:</font></tt><br><tt><font size=2>&gt; <br>&gt; zope-db-bounces@zope.org</font></tt><br><tt><font size=2>&gt; <br>&gt; Am 17.08.2009, 15:05 Uhr, schrieb &lt;DMurphy@kalsec.com&gt;:<br>&gt; <br>&gt; &gt; ImportError: libclntsh.so.10.1: cannot open shared object file:
No such &nbsp;<br>&gt; &gt; file or directory<br>&gt; &gt; ------<br>&gt; &gt;<br>&gt; &gt; $ORACLE_HOME and $LD_LIBRARY_PATH are being exported from ~/.profile
as &nbsp;<br>&gt; &gt; recommended in the cx_Oracle build document. They are:<br>&gt; &gt;<br>&gt; &gt; ------<br>&gt; &gt; kmiweb01:~ # echo $ORACLE_HOME<br>&gt; &gt; /usr/lib/oracle/10.2.0.4/client64/lib<br>&gt; &gt; kmiweb01:~ # echo $LD_LIBRARY_PATH<br>&gt; &gt; :/usr/lib/oracle/10.2.0.4/client64/lib<br>&gt; &gt; kmiweb01:~ # ls -la $ORACLE_HOME<br>&gt; &gt; total 98648<br>&gt; &gt; drwxr-xr-x 4 root root &nbsp; &nbsp; 4096 Aug 13 09:24 .<br>&gt; &gt; drwxr-xr-x 4 root root &nbsp; &nbsp; 4096 Jul 31 11:17 ..<br>&gt; &gt; lrwxrwxrwx 1 root root &nbsp; &nbsp; &nbsp; 17 Jul 31 14:11 libclntsh.so
-&gt; &nbsp;<br>&gt; &gt; libclntsh.so.10.1<br>&gt; &gt; -rw-r--r-- 1 root root 21038613 Mar 12 &nbsp;2008 libclntsh.so.10.1<br>&gt; &gt; -rw-r--r-- 1 root root &nbsp;3796601 Mar 12 &nbsp;2008 libnnz10.so<br>&gt; &gt; lrwxrwxrwx 1 root root &nbsp; &nbsp; &nbsp; 15 Jul 31 14:11 libocci.so
-&gt; &nbsp;<br>&gt; &gt; libocci.so.10.1<br>&gt; &gt; -rw-r--r-- 1 root root &nbsp;1664116 Mar 12 &nbsp;2008 libocci.so.10.1<br>&gt; &gt; -rw-r--r-- 1 root root 72674185 Mar 12 &nbsp;2008 libociei.so<br>&gt; &gt; -rw-r--r-- 1 root root &nbsp; 138033 Mar 12 &nbsp;2008 libocijdbc10.so<br>&gt; &gt; drwxr-xr-x 3 root root &nbsp; &nbsp; 4096 Aug 13 09:24 network<br>&gt; &gt; -rw-r--r-- 1 root root &nbsp;1555682 Mar 12 &nbsp;2008 ojdbc14.jar<br>&gt; &gt; drwxrwxr-x 4 root root &nbsp; &nbsp; 4096 Mar 12 &nbsp;2008 sdk<br>&gt; &gt; kmiweb01:~ #<br>&gt; &gt; ------<br>&gt; &gt;<br>&gt; &gt; At this point, we're fairly mystified. The file that ZcxOracleDA's
&nbsp;<br>&gt; &gt; install ultimately complains about is indeed in $ORACLE_HOME,
where I &nbsp;<br>&gt; &gt; would expect it to be looking. We're still able to manually start
&nbsp;<br>&gt; &gt; Plone's Python and import cx_Oracle just fine. Does anyone have
any &nbsp;<br>&gt; &gt; suggestions?<br>&gt; <br>&gt; Given that it works when you run Python manually but not when you
start &nbsp;<br>&gt; the cluster the problem is likely to be that your Zope user doesn't
have &nbsp;<br>&gt; the right permissions to access the library.<br></font></tt><br><tt><font size=2>Thanks for the response. Plone's documentation says
that for the type of install we did, Zope should run as the user &quot;plone&quot;
(I verified this with ps). Unfortunately, even if I chown everything in
$ORACLE_HOME to user plone and restart the cluster again, the error remains
the same.</font></tt><br><br><tt><font size=2>-David Murphy</font></tt><br><BR>