
Hi. I am attempting to use the smiquery tool. I have dowloaded, and fully compiled libsmi-0.4.1. I am using Solaris 2.8 (sparc platform) and the compiler is gcc (version 2.95.2) I have experienced the folowing problems:
problem 1: no output for the following command: # smiquery node DS1-MIB_rfc2495.mib::1.3.6.1.2.1.10.18 (DS1-MIB_rfc2495.mib is the standard RFC2495. I have attached it).
problem 2: segmentation fault for the following input: # smiquery node HDSL2-SHDSL-LINE-MIB_rfc3276.mib::1.3.6.1.2.1.10.48 (HDSL2-SHDSL-LINE-MIB_rfc3276.mib is the standard RFC3276. I have attached it. I can also send the core if requested.).
Perhaps someone can advise. <<mibs.tar.gz>> Thanks in advance, Michael Katz Orckit Communications Ltd. E-mail: michaelkz@orckit.com

Hi!
Michael> I am attempting to use the smiquery tool. I have dowloaded, Michael> and fully compiled libsmi-0.4.1. I am using Solaris 2.8 Michael> (sparc platform) and the compiler is gcc (version 2.95.2) I Michael> have experienced the folowing problems:
Michael> problem 1: Michael> no output for the following command: Michael> # smiquery node DS1-MIB_rfc2495.mib::1.3.6.1.2.1.10.18 Michael> (DS1-MIB_rfc2495.mib is the standard RFC2495. I have attached it).
In the XX:yy form the first part (XX) should be a module name. A module name must not contain underscore or dot characters. When you have installed libsmi as usual (which comes with DS1-MIB) this works fine:
$ smiquery node DS1-MIB::1.3.6.1.2.1.10.18 MibNode: DS1-MIB::ds1 OID: 1.3.6.1.2.1.10.18 ParentNode: SNMPv2-SMI::transmission Declaration: MODULE-IDENTITY NodeKind: node Status: current
Michael> problem 2: Michael> segmentation fault for the following input: Michael> # smiquery node HDSL2-SHDSL-LINE-MIB_rfc3276.mib::1.3.6.1.2.1.10.48 Michael> (HDSL2-SHDSL-LINE-MIB_rfc3276.mib is the standard RFC3276. I Michael> have attached it. I can also send the core if requested.).
Also, this works fine:
$ smiquery node HDSL2-SHDSL-LINE-MIB::1.3.6.1.2.1.10.48 MibNode: HDSL2-SHDSL-LINE-MIB::hdsl2ShdslMIB OID: 1.3.6.1.2.1.10.48 ParentNode: SNMPv2-SMI::transmission Declaration: MODULE-IDENTITY NodeKind: node Status: current
I also cannot reproduce the problems with your exact smiquery calls on the MIB files you supplied in your attachment (with the current development version of libsmi). They work as well for me. It seems that you have to debug the problem at your site on your own. Maybe, there are problems with imported modules.
-frank
PS: Please subscribe to the mailinglist first, if you intend to send further email messages.
participants (2)
-
Frank Strauss
-
Michael Katz