Python: >>> connection = cx_Oracle.connect("uid/pwd@database") Traceback (most recent call last): File "", line 1, in cx_Oracle.InterfaceError: Unable to acquire Oracle environment handle >>> Strace: Process 13846 attached - interrupt to quit select(1, [0], NULL, NULL, NULL) = 1 (in [0]) rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(0, "\r"..., 1) = 1 write(1, "\n"..., 1) = 1 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGWINCH, {SIG_DFL}, {0x7f27d82ab4c0, [], SA_RESTORER|SA_RESTART, 0x7f27d92f1080}, 8) = 0 open("/etc/default/apport", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=243, ...}) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=243, ...}) = 0 lseek(3, 0, SEEK_CUR) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=243, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f27d9718000 lseek(3, 0, SEEK_CUR) = 0 read(3, "# set this to 0 to disable apport"..., 4096) = 243 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0x7f27d9718000, 4096) = 0 write(2, "Traceback (most recent call last)"..., 35) = 35 write(2, " File \"\", line 1, in ", O_RDONLY) = -1 ENOENT (No such file or directory) open("", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/plat-linux2/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/lib-tk/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/lib-old/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/lib-dynload/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/dist-packages/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/dist-packages/PIL/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/dist-packages/gst-0.10/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/var/lib/python-support/python2.6/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.6/dist-packages/gtk-2.0/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/var/lib/python-support/python2.6/gtk-2.0/", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/python2.6/dist-packages/", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "cx_Oracle"..., 9) = 9 write(2, "."..., 1) = 1 write(2, "InterfaceError"..., 14) = 14 write(2, ": "..., 2) = 2 write(2, "Unable to acquire Oracle environm"..., 43) = 43 write(2, "\n"..., 1) = 1 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 ioctl(0, TIOCGWINSZ, {ws_row=55, ws_col=157, ws_xpixel=0, ws_ypixel=0}) = 0 ioctl(0, TIOCSWINSZ, {ws_row=55, ws_col=157, ws_xpixel=0, ws_ypixel=0}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGWINCH, {0x7f27d82ab4c0, [], SA_RESTORER|SA_RESTART, 0x7f27d92f1080}, {SIG_DFL}, 8) = 0 write(1, ">>> "..., 4) = 4 select(1, [0], NULL, NULL, NULL^C