Microsoft KB Archive/170326: Difference between revisions
m (Text replacement - "<" to "<") |
m (Text replacement - """ to """) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
<div id="TitleRow"> | <div id="TitleRow"> | ||
= <span id="KB170326"></span>SNMPUTIL Fails with | = <span id="KB170326"></span>SNMPUTIL Fails with "invalid oid <oid name> specified" Error Msg = | ||
Line 45: | Line 45: | ||
== SYMPTOMS == | == SYMPTOMS == | ||
When you are using the Windows NT Server 4.0 Resource Kit utility SNMPUTIL or another simple network management protocol (SNMP) utility, the command fails with an | When you are using the Windows NT Server 4.0 Resource Kit utility SNMPUTIL or another simple network management protocol (SNMP) utility, the command fails with an "invalid oid <oid name> specified" error message.<br /> | ||
<br /> | <br /> | ||
For example, when you attempt to perform the following | For example, when you attempt to perform the following "get" command, an error occurs: | ||
<div class="errormessage"> | <div class="errormessage"> | ||
C:\PROGRA~1\reskit | C:\PROGRA~1\reskit>snmputil get testmachine public system.sysDescr.0<br /> | ||
Error: Invalid oid, system.sysDescr.0, specified. | Error: Invalid oid, system.sysDescr.0, specified. | ||
Line 73: | Line 73: | ||
After this is completed, the SNMP query will work successfully, as follows:<br /> | After this is completed, the SNMP query will work successfully, as follows:<br /> | ||
<pre class="fixed_text"> C:\PROGRA~1\reskit | <pre class="fixed_text"> C:\PROGRA~1\reskit>snmputil get testmachine public system.sysDescr.0 | ||
Variable = system.sysDescr.0 | Variable = system.sysDescr.0 | ||
Value = OCTET STRING - Hardware: x86 Family 6 Model 1 Stepping 7 | Value = OCTET STRING - Hardware: x86 Family 6 Model 1 Stepping 7 |
Latest revision as of 11:05, 21 July 2020
Article ID: 170326
Article Last Modified on 10/31/2006
APPLIES TO
- Microsoft Windows NT Workstation 4.0 Developer Edition
- Microsoft Windows NT Server 4.0 Standard Edition
This article was previously published under Q170326
SYMPTOMS
When you are using the Windows NT Server 4.0 Resource Kit utility SNMPUTIL or another simple network management protocol (SNMP) utility, the command fails with an "invalid oid <oid name> specified" error message.
For example, when you attempt to perform the following "get" command, an error occurs:
CAUSE
This is caused by an invalid Mib.bin file in the path.
In the case of the above example, the SNMPUTIL utility uses the Mib.bin file in its current folder (which is the Mib.bin file that ships with the Windows NT Server Resource Kit), instead of the Mib.bin file in the %Systemroot%\System32 folder.
RESOLUTION
Rename all Mib.bin files in the path except the one in the %Systemroot%\system32 directory.
After this is completed, the SNMP query will work successfully, as follows:
C:\PROGRA~1\reskit>snmputil get testmachine public system.sysDescr.0 Variable = system.sysDescr.0 Value = OCTET STRING - Hardware: x86 Family 6 Model 1 Stepping 7 AT/AT COMPATIBLE - Software: Windows NT Version 4.0 (Build Number: 1381 Uniprocessor Free)
This behavior is by design.
Keywords: kbnetwork KB170326