BLOG     |     FORUM
Welcome, Guest
Username: Password: Remember me
All your questions answered real quick by Unleash Networks Engineers.
  • Page:
  • 1
  • 2

TOPIC: Error when running iax2ana.rb

Error when running iax2ana.rb 17 years 7 months ago #57

Hello Unleash,

I am having trouble running your iax2ana script, it is reporting the following error when I execute it with a captured trace from the unsniff application:

U:/phone trace/iax2ana.rb:385:in `method_missing': OpenForRead (WIN32OLERuntimeError)
OLE error code:80004005 in Unsniff.Database.1
Open Database: Invalid Database File
HRESULT error code:0x80020009
Exception occurred. from U:/phone trace/iax2ana.rb:385:in `extract_calls'
from U:/phone trace/iax2ana.rb:1544

Any help to get this working would be appreciated.

For reference my ruby version is ruby 1.8.4 (2006-04-14) [i386-mswin32].

Thanks.

Ian Hailey.
The administrator has disabled public write access.

Re:Error when running iax2ana.rb 17 years 7 months ago #58

OK I found another post (with a non obvious title) that fixes my problem. I have replaced all occurances of OpenForRead in iax2ana.rb for Open. You must shut down unsiff before this has any effect.<br><br>Post edited by: ihailey, at: 2006/09/07 11:28
The administrator has disabled public write access.

Re:Error when running iax2ana.rb 17 years 7 months ago #59

  • netscript
  • netscript's Avatar
Ian,


OpenForRead(..) opens the capture file in read only mode. When you substitute OpenForRead() with Open(..), it will fail if Unsniff already has the same capture file open in the GUI.


Let us know if you have any more problems or suggestions via this forum.

Best Regards,
Vivek Rajan
Unleash Networks
The administrator has disabled public write access.

Re:Error when running iax2ana.rb 16 years 10 months ago #135

  • adrianmarsh
  • adrianmarsh's Avatar
Hi,

I'm having the same problem as Ian:

G:\Software\voip&gt;iax2ana.rb Untitled1.usnf
G:0:Warning: require_gem is obsolete. Use gem instead.
G:/Software/voip/iax2ana.rb:385:in `method_missing': OpenForRead (WIN32OLERunti
meError)
OLE error code:80004005 in Unsniff.Database.1
Open Database: Invalid Database File
HRESULT error code:0x80020009
Exception occurred. from G:/Software/voip/iax2ana.rb:385:in `extrac
t_calls'
from G:/Software/voip/iax2ana.rb:1544


Unsniff isn't running.
The administrator has disabled public write access.

Re:Error when running iax2ana.rb 16 years 10 months ago #136

  • netscript
  • netscript's Avatar
Hi Adrian,

Does the file \&quot;Untitled1.usnf\&quot; load in Unsniff ? Eg, double click the file in explorer or load in via \&quot;File-&gt;Open\&quot;.

Is the file in the same directory, can you try using the full path name ?

If it still does not work, please let me know via this forum. We will try to investigate asap.

Best Regards,
Vivek Rajan
Unleash Networks
The administrator has disabled public write access.

Re:Error when running iax2ana.rb 16 years 10 months ago #137

  • adrianmarsh
  • adrianmarsh's Avatar
The data was originally from tcpdump, imported into unsniff, then tried to run the script.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: vivek [unleash]
Time to create page: 0.032 seconds