Re: [cx-oracle-users] "Unable to acquire Oracle environment handle" with cx_Oracle 4.1.2 oracle 10g
Brought to you by:
atuining
From: Falko S. <Fal...@gm...> - 2006-01-16 19:10:21
|
On Mon, 16 Jan 2006 19:08:54 +0100 (CET) Oliver-Mark Cordes <oc...@as...> wrote: > Looking into the source code I found that "OCIEnvCreate" creates the error > message. ... ... > Any suggestions? I had the same problem (OCIEnvCreate failed) with a small OCI application. The reason was that oraInstaller set strange file and directory permissions in $ORACLE_HOME, e.g.: # ls -ld mesg drwxr-x--- 2 oracle10 users 144 Sep 14 18:47 mesg/ After fixing this ("chmod o+rx" for all directories, "chmod o+r" for all files in the $ORACLE_HOME subtree) all OCI applications are working as expected. HTH, Falko |