Not full data recieved in response of TNS command.
For example, when sid command is executed inguma didn't get all necessary data from Oracle server
Bug is in modules/gather/CTnsCmd.py.
Watch patch below for details:
--- ./CTnsCmd.py.old 2009-05-22 18:27:45.000000000 +0400
+++ ./CTnsCmd.py 2009-05-22 17:55:54.000000000 +0400
@@ -163,8 +163,11 @@
for i in range(1, times+1):
s.send(data)
- res = s.recv(1024)
-
+ while True:
+ buf = s.recv(1024)
+ if not buf:
+ break
+ res += buf
if res.find("ERROR_STACK=") > 0:
self.showTnsError(res)
return res
@@ -284,6 +287,7 @@
print "*** Internal Error!", sys.exc_info()[1]
return
+
pos = res.find("DESCRIPTION=")
data = res[pos-1:]
This bug was reported by me =)