Python connection cx_Oracle connect uid pwd database Traceback most re

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Python:
>>> connection = cx_Oracle.connect("uid/pwd@database")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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 \"<stdin>\", line 1, in <mod"..., 38) = 38
open("<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/plat-linux2/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/lib-tk/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/lib-old/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/lib-dynload/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/dist-packages/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/dist-packages/PIL/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/dist-packages/gst-0.10/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/python-support/python2.6/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.6/dist-packages/gtk-2.0/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/python-support/python2.6/gtk-2.0/<stdin>", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/python2.6/dist-packages/<stdin>", 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 <unfinished ...>