Re: ZcxOracleDA configuration assistance
[email protected] Mon, 17 Aug 2009 14:26:45 -0400
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <OFC10E9E17.3783B539-ON85257615.0064AD20-85257615.00658474@LocalDomain> |
--===============2650239996464754109== Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <tt><font size=3D2>[email protected] wrote on 08/17/2009 02:06:59 PM:<br><br>> From:</font></tt><br><tt><font size=3D2>> <br>> "= ;Charlie Clark" <[email protected]></font></tt><br><tt><font si= ze=3D2>> <br>> To:</font></tt><br><tt><font size=3D2>> <br>> zo= [email protected]</font></tt><br><tt><font size=3D2>> <br>> Date:</font>= </tt><br><tt><font size=3D2>> <br>> 08/17/2009 02:04 PM</font></tt><b= r><tt><font size=3D2>> <br>> Subject:</font></tt><br><tt><font size= =3D2>> <br>> Re: [Zope-DB] ZcxOracleDA configuration assistance</font= ></tt><br><tt><font size=3D2>> <br>> Sent by:</font></tt><br><tt><fon= t size=3D2>> <br>> [email protected]</font></tt><br><tt><font = size=3D2>> <br>> Am 17.08.2009, 15:05 Uhr, schrieb <DMurphy@kalsec= .com>:<br>> <br>> > ImportError: libclntsh.so.10.1: cannot open= shared object file: No such <br>> > file or directory<br>> > ------<br>> &= gt;<br>> > $ORACLE=5FHOME and $LD=5FLIBRARY=5FPATH are being exported= from ~/.profile as <br>> > recommended in the cx=5FOracle build document. They = are:<br>> ><br>> > ------<br>> > kmiweb01:~ # echo $ORACL= E=5FHOME<br>> > /usr/lib/oracle/10.2.0.4/client64/lib<br>> > km= iweb01:~ # echo $LD=5FLIBRARY=5FPATH<br>> > :/usr/lib/oracle/10.2.0.4= /client64/lib<br>> > kmiweb01:~ # ls -la $ORACLE=5FHOME<br>> > = total 98648<br>> > drwxr-xr-x 4 root root 4096 Aug 13 0= 9:24 .<br>> > drwxr-xr-x 4 root root 4096 Jul 31 11:17 = ..<br>> > lrwxrwxrwx 1 root root 17 Jul 31 14:11= libclntsh.so -> <br>> > libclntsh.so.10.1<br>> > -rw-r--r-- 1 root = root 21038613 Mar 12 2008 libclntsh.so.10.1<br>> > -rw-r--r-- 1= root root 3796601 Mar 12 2008 libnnz10.so<br>> > lrwxrwx= rwx 1 root root 15 Jul 31 14:11 libocci.so -> <br>> > libocci.so.10.1<br>> > -rw-r--r-- 1 root ro= ot 1664116 Mar 12 2008 libocci.so.10.1<br>> > -rw-r--r-- = 1 root root 72674185 Mar 12 2008 libociei.so<br>> > -rw-r--r-- = 1 root root 138033 Mar 12 2008 libocijdbc10.so<br>> > dr= wxr-xr-x 3 root root 4096 Aug 13 09:24 network<br>> > -= rw-r--r-- 1 root root 1555682 Mar 12 2008 ojdbc14.jar<br>> &= gt; drwxrwxr-x 4 root root 4096 Mar 12 2008 sdk<br>>= > kmiweb01:~ #<br>> > ------<br>> ><br>> > At this po= int, we're fairly mystified. The file that ZcxOracleDA's <br>> > install ultimately complains about is indeed in $ORACLE= =5FHOME, where I <br>> > would expect it to be looking. We're still able= to manually start <br>> > Plone's Python and import cx=5FOracle just fine. Does a= nyone have any <br>> > suggestions?<br>> <br>> Given that it works w= hen you run Python manually but not when you start <br>> the cluster the problem is likely to be that your Zope= user doesn't have <br>> the right permissions to access the library.<br></font>= </tt><br><tt><font size=3D2>Thanks for the response. Plone's documentation = says that for the type of install we did, Zope should run as the user "plon= e" (I verified this with ps). Unfortunately, even if I chown everything in $ORACLE=5FHOME to user plone and restart the cluster again, the error remai= ns the same.</font></tt><br><br><tt><font size=3D2>-David Murphy</font></tt><b= r><BR> --===============2650239996464754109== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Zope-DB mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope-db --===============2650239996464754109==--