Hi all,
I have a problem running Net-SNMP 5.7.3 using winextDLL. I want to run Net-SNMP using SNMPv3 by using the windows SNMP DLLs.
However, I always get the following errors:
· init_winExtDLL: initialization of DLL C:\WINDOWS\System32\wow64mib.dll failed.
· duplicate registration: MIB modules mibII/snmp and C:\WINDOWS\System32\snmpmib.dll (oid .1.3.6.1.2.1.11).
· handler registration failed.
Walking the SNMP agent results in an incomplete OID tree.
I already checked the Readme.win32 document. I also tried older binaries (x64) of Net-SNMP provided on SourceForge with the same result.
Can someone please assist me with this problem or confirm, that winextDLL is working on x64 Windows systems?
System: Windows 7 x64
Net-SNMP: 5.7.3 x64 compiled binaries with winextDll
Debug log:
C:\Program Files\Net-SNMP\bin>snmpd.exe -Lo -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable -DwinExtDLL
registered debug token winExtDLL, 1init_winExtDLL started.
winExtDLL: read_extension_dlls_from_registry called
registry key SOFTWARE\Microsoft\Wow64ProxyAgent\CurrentVersion: DLL C:\WINDOWS\System32\wow64mib.dll.
registry key SOFTWARE\Microsoft\SNMP_EVENTS\CurrentVersion: DLL C:\WINDOWS\System32\evntagnt.dll.
registry key SOFTWARE\Microsoft\SNMPMIB\CurrentVersion: DLL C:\WINDOWS\System32\snmpmib.dll.
registry key SOFTWARE\Microsoft\RFC1156Agent\CurrentVersion: DLL C:\WINDOWS\System32\inetmib1.dll.
registry key SOFTWARE\Microsoft\HostMIB\CurrentVersion: DLL C:\WINDOWS\System32\hostmib.dll.
registry key SOFTWARE\Microsoft\LANManagerMIB2Agent\CurrentVersion: DLL C:\WINDOWS\System32\lmmib2.dll.
init_winExtDLL: found 6 extension DLLs in the registry.
loading DLL C:\WINDOWS\System32\wow64mib.dll.
init_winExtDLL: initialization of DLL C:\WINDOWS\System32\wow64mib.dll failed.
init_winExtDLL: DLL C:\WINDOWS\System32\wow64mib.dll did not register an OID range.
loading DLL C:\WINDOWS\System32\evntagnt.dll.
loading DLL C:\WINDOWS\System32\snmpmib.dll.
loading DLL C:\WINDOWS\System32\inetmib1.dll.
init_winExtDLL: skipping system section of DLL C:\WINDOWS\System32\inetmib1.dll.
loading DLL C:\WINDOWS\System32\hostmib.dll.
loading DLL C:\WINDOWS\System32\lmmib2.dll.
init_winExtDLL: skipped DLL C:\WINDOWS\System32\lmmib2.dll.
registering handler for DLL C:\WINDOWS\System32\evntagnt.dll and OID prefix joint-iso-ccitt.0 (.2.0).
duplicate registration: MIB modules mibII/snmp and C:\WINDOWS\System32\snmpmib.dll (oid .1.3.6.1.2.1.11).
handler registration failed.
registering handler for DLL C:\WINDOWS\System32\hostmib.dll and OID prefix iso.3.6.1.2.1.25 (.1.3.6.1.2.1.25).
init_winExtDLL: registered 3 OID ranges.
init_winExtDLL finished.
NET-SNMP version 5.7.3
Thanks in advance,
Robin