RE: MAC address not retrieved by Win32 client
Hi, are you sure that it is the correct OID ? Try a tool that is able to perform an SNMP walk. You can also use Net-SNMP on Windows. See README.win32 file. I tried the OID you gave on my Windows workstation and Net-snmp is able to retrieve MAC address of the machine, as you can see: C:\snmpget -c public localhost .1.3.6.1.2.1.2.2.1.6.2 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: RFC1213-MIB::ifPhysAddress.2 C:\snmpwalk -c public localhost RFC1213-MIB::ifPhysAddress RFC1213-MIB::ifPhysAddress.1 = RFC1213-MIB::ifPhysAddress.16777219 = Hex-STRING: 00 01 03 11 F8 D6 Ethernet adaptador Conexión de área local: Descripción . . . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible) Dirección física. . . . . . . . . . . : 00-01-03-11-F8-D6 -Original Message- From: Vic Berdin Sent: Monday, June 21, 2004 8:51 AM To: [EMAIL PROTECTED] Subject: MAC address not retrieved by Win32 client Hi, I've setup net-snmp (v5.1.1) on an RH7.3 machine. I tried to retrieve information from it via a Win32 client using the tool snmputilg.exe. It's nice to see that common values such as sysUPTime, sysContact, sysName, sysLocation, etc were retrieved successfully. However, I noticed that MAC (physical) addresses (OID .1.3.6.1.2.1.2.2.1.6.2, etc) were NOT retrieved by the tool. I'm not sure if this is a problem with net-snmp or the Win32 tool (snmputilg.exe) I'm using. Can anyone: 1. ...explain why MAC addresses can't by retrieved from net-snmp (if it's net-snmp's fault) 2. ...or point to me to a more complete/stable (yet FREE) Win32 snmp test suit that can prove that net-snmp can provide MAC address queries. TIA and Best regards, Vic --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.672 / Virus Database: 434 - Release Date: 4/28/2004 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users --- Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem in Installing net-snmp-5.1.1 under RH9
in the /usr/lib there are two files begin with libelf, their name are [EMAIL PROTECTED] root]# cd /usr/lib [EMAIL PROTECTED] lib]# ls libelf* libelf-0.76.so libelf.so.1 Try 'ls -l libelf*' You'll see that libelf.so.1 is actually a symbolic link to libelf.so As Robert said, what's missing is a link from 'libelf.so' to 'libelf-0.76.so'. Try: ln -s libelf-0.76.so n/usr/lib/libelf.so Dave --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem with installing the Perl5 extension module
I wanted to use mib2c and saw that installing of perl module is necessary . I am using ucd-snmp-4.2.2 ( though wanted to use ucd-snmp-4.2.1 could not find it for download ) . Both of these releases are fairly old now. The most recent version of the 4.2.x line is 4.2.6 If you're not in a position to switch to the net-snmp v5 releases, then we'd strongly recommend that you try using 4.2.6. There's been a significant amount of work done since 4.2.2, including addressing the POD problem. Things ought to work better with 4.2.6 Dave PS: Please - no HTML mail. Thanks --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: MAC address not retrieved by Win32 client
However, I noticed that MAC (physical) addresses (OID .1.3.6.1.2.1.2.2.1.6.2, etc) were NOT retrieved by the tool. It would be a lot easier to advise you as to the cause of this problem if you'd included some indication as to what you'd actually tried. It might be that you're asking for the wrong OIDs (as David suggests). Or it may be a problem with the agent configuration. Have you read the FAQ? In particular, see the entry: I can see the system group, but nothing else. Why? Dave --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Problem in make
Title: Problem in make Hi All I'm trying to do make of one product along with net-SNMP-5.1. It is giving me errors. I think it's related to kerberos package. But I don't know how and where to add that lib. Kindly reply Thanks in advance... It's giving me following error: makedepend: warning: ./snmpksm.c, line 48: cannot find include file krb5.h not in ../include/krb5.h not in ../include/krb5.h not in ./krb5.h not in ../krb5.h not in ./krb5.h not in ./../krb5.h not in /usr/local/lib/gcc-include/krb5.h not in /usr/include/krb5.h not in /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/krb5.h makedepend: warning: ./snmpksm.c, line 50: cannot find include file com_err.h not in ../include/com_err.h not in ../include/com_err.h not in ./com_err.h not in ../com_err.h not in ./com_err.h not in ./../com_err.h not in /usr/local/lib/gcc-include/com_err.h not in /usr/include/com_err.h not in /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/com_err.h makedepend: warning: ./winservice.c, line 8: cannot find include file windows.h not in ../include/windows.h not in ../include/windows.h not in ./windows.h not in ../windows.h not in ./windows.h not in ./../windows.h not in /usr/local/lib/gcc-include/windows.h not in /usr/include/windows.h not in /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/windows.h makedepend: warning: ./winservice.c, line 9: cannot find include file tchar.h not in ../include/tchar.h not in ../include/tchar.h not in ./tchar.h not in ../tchar.h not in ./tchar.h not in ./../tchar.h not in /usr/local/lib/gcc-include/tchar.h not in /usr/include/tchar.h not in /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/tchar.h makedepend: warning: ./winservice.c, line 12: cannot find include file process.h not in ../include/process.h not in ../include/process.h not in ./process.h not in ../process.h not in ./process.h not in ./../process.h not in /usr/local/lib/gcc-include/process.h not in /usr/include/process.h not in /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/process.h Still mane more files which are giving errors Regards Asawari
Re: Problem with running make on net-snmp
Thanks. I have located the ar utility path and it worked. Chee Kean Chang. Robert Story (Users) [EMAIL PROTECTED] 06/17/2004 08:36 AM Please respond to net-snmp-users To:Chee K Chang/IT/CORP/[EMAIL PROTECTED] cc:[EMAIL PROTECTED] Subject:Re: Problem with running make on net-snmp On Wed, 16 Jun 2004 12:47:28 -0400 [EMAIL PROTECTED] wrote: CC configure: WARNING: netinet/tcpip.h: present but cannot be compiled These configure warning are from autoconf. Ignore them. CC ../libtool: ar: command not found This is the real error. Is ar in a directory in your path? -- Robert Story; NET-SNMP Junkie http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different.
RE: MAC address not retrieved by Win32 client
Hi David, everyone, -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 4:52 PM To: Vic Berdin Cc: [EMAIL PROTECTED] Subject: Re: MAC address not retrieved by Win32 client However, I noticed that MAC (physical) addresses (OID .1.3.6.1.2.1.2.2.1.6.2, etc) were NOT retrieved by the tool. It would be a lot easier to advise you as to the cause of this problem if you'd included some indication as to what you'd actually tried. It might be that you're asking for the wrong OIDs (as David suggests). Or it may be a problem with the agent configuration. Have you read the FAQ? Yep I did, prior to posting. In particular, see the entry: I can see the system group, but nothing else. Why? Here are more details: If I will run `snmpwalk` from my Linux machine, I can definitely see the line: RFC1213-MIB::ifPhysAddress.2 = Hex-STRING: 00 90 73 00 02 F5 as one of the results to my snmpwalk command. Then if I will use `snmptranslate -On RFC1213-MIB::ifPhysAddress.2`, the output is indeed: .1.3.6.1.2.1.2.2.1.6.2. The same OID that comes out NULL from snmputilg.exe tool, but the value is NULL. It's also highly possible that snmputilg does not support physical addresses (*shrugs*). Btw, what other FREE Win32 client tools that you guys use, in order to get/set information to your net-snmp servers? Also, here's my test conf, please feel free to send flames: #- # sec.name source community com2sec local 172.0.0.1 public com2sec mynetwork 0.0.0.0/0 public # Second, map the security names into group names: # sec.model sec.name group MyRWGroup v1 local group MyRWGroup v2clocal group MyRWGroup usmlocal group MyROGroup v1 mynetwork group MyROGroup v2cmynetwork group MyROGroup usmmynetwork # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view allincluded .1 80 # Finally, grant the 2 groups access to the 1 view with different # write permissions: #context sec.model sec.level match read write notif access MyROGroup any noauthexact allnone none access MyRWGroup any noauthexact allallnone ### # System contact information # syslocation In My Place syscontact zxiv1001 [EMAIL PROTECTED] sysdescr My Machine sysname Machine Sys ### # Define trap destinations # # trapsink: A SNMPv1 trap receiver # arguments: host [community] [portnum] trapsink 127.0.0.1 # trap2sink: A SNMPv2c trap receiver # arguments: host [community] [portnum] trap2sink 127.0.0.1 # informsink: A SNMPv2c inform (acknowledged trap) receiver # arguments: host [community] [portnum] informsink 127.0.0.1 # trapsess: A generic trap receiver defined using snmpcmd style arguments. # Read the snmpcmd manual page for further information. # arguments: [snmpcmdargs] host #trapsess 127.0.0.1 #-- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.672 / Virus Database: 434 - Release Date: 4/28/2004 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: MAC address not retrieved by Win32 client
Here are more details: If I will run `snmpwalk` from my Linux machine, I can definitely see the line: RFC1213-MIB::ifPhysAddress.2 = Hex-STRING: 00 90 73 00 02 F5 Is that the same box as the agent is running on, or a different one? It's worth checking you can see things from a remote system, as well as the local one. It's also highly possible that snmputilg does not support physical addresses (*shrugs*). Seems unlikely, to be honest. Such tools typically work with raw OIDs, and don't care about what the values actually mean. Btw, what other FREE Win32 client tools that you guys use, in order to get/set information to your net-snmp servers? Well personally, I tend to use the Net-SNMP client applications on all systems, including windows boxes. (Not that I use windows kit much). But I'd be fairly surprised if this made a difference. It's much more likely to be an access control problem. Also, here's my test conf, please feel free to send flames: #- # sec.name source community com2sec local 172.0.0.1 public com2sec mynetwork 0.0.0.0/0 public Is that a typo for 127.0.0.1 ? Otherwise the access control stuff looks OK. (I'd have used default rather than 0.0.0.0/0 but it probably works the same). You don't need all three of the following: trapsink 127.0.0.1 trap2sink 127.0.0.1 informsink 127.0.0.1 since that will generate *three* copies of every trap you send, but that's not relevant to this problem. Another thought - are you *sure* that this is the snmpd.conf file that's being read. If you're running a pre-installed version of the agent, then that will typically be looking in somewhere like /etc/snmp/snmpd.conf rather than /usr/local/etc/snmp/snmpd.conf Try deliberately putting an invalid token into the config file and restarting the agent. It should log an error. Or stop the agent, and restart it using snmpd -f -Le -Dread_config and check that it's reading things in correctly. Dave --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: MAC address not retrieved by Win32 client
Vic Berdin wrote: Hi David, everyone, Btw, what other FREE Win32 client tools that you guys use, in order to get/set information to your net-snmp servers? Have you tried Net-SNMP under Windows? A Windows binary is available for 5.1.2pre2 on the Net-SNMP download page. Alex --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem in Installing net-snmp-5.1.1 under RH9
I have done what the FAQ told me which is same as that Robert said. but make action doest work yet. From: Dave Shield [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: problem in Installing net-snmp-5.1.1 under RH9 Date: Mon, 21 Jun 2004 09:42:46 +0100 in the /usr/lib there are two files begin with libelf, their name are [EMAIL PROTECTED] root]# cd /usr/lib [EMAIL PROTECTED] lib]# ls libelf* libelf-0.76.so libelf.so.1 Try 'ls -l libelf*' You'll see that libelf.so.1 is actually a symbolic link to libelf.so As Robert said, what's missing is a link from 'libelf.so' to 'libelf-0.76.so'. Try: ln -s libelf-0.76.so n/usr/lib/libelf.so Dave --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users _ MSN Hotmail http://www.hotmail.com --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem in Installing net-snmp-5.1.1 under RH9
I have done what the FAQ told me which is same as that Robert said. but make action doest work yet. OK - what does ls -l /usr/lib/libelf* show? Dave --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem in Installing net-snmp-5.1.1 under RH9
I am back home now, I dont have net-snmp installed in my home pc. But I still remember the ls libelf* shows --- libelf.so libelf-.0.76.so libelf.so.1---libelf.so It looks like the above, I will check tomorrow. thank u anyway From: Dave Shield [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: problem in Installing net-snmp-5.1.1 under RH9 Date: Mon, 21 Jun 2004 14:29:38 +0100 I have done what the FAQ told me which is same as that Robert said. but make action doest work yet. OK - what does ls -l /usr/lib/libelf* show? Dave --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users _ MSN Hotmail http://www.hotmail.com --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem with snmp getnext in table
On Mon, 21 Jun 2004 12:19:56 +0530 Mukherjee, wrote: MA I could not find the patch attached. Could it be attached - and posted MA again, please, Oops... here ya go.. -- Robert Story; NET-SNMP Junkie http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. table-column.pat Description: Binary data
RE: MAC address not retrieved by Win32 client
Hi Dave, Alex, everyone, -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 7:00 PM To: Vic Berdin Cc: [EMAIL PROTECTED] Subject: Re: MAC address not retrieved by Win32 client Here are more details: If I will run `snmpwalk` from my Linux machine, I can definitely see the line: RFC1213-MIB::ifPhysAddress.2 = Hex-STRING: 00 90 73 00 02 F5 Is that the same box as the agent is running on, or a different one? It's worth checking you can see things from a remote system, as well as the local one. VIC: It's the same box. I've just tried your suggestion, and my other Linux machine (vmware actually) was able to get the physical address. And incidentally, after reading another response from Alex, I tried the Win32 based net-snmp, and yep, snmpwalk from this net-snmp flavor can also retrieve physical address values. It's also highly possible that snmputilg does not support physical addresses (*shrugs*). Seems unlikely, to be honest. Such tools typically work with raw OIDs, and don't care about what the values actually mean. Btw, what other FREE Win32 client tools that you guys use, in order to get/set information to your net-snmp servers? Well personally, I tend to use the Net-SNMP client applications on all systems, including windows boxes. (Not that I use windows kit much). But I'd be fairly surprised if this made a difference. It's much more likely to be an access control problem. Also, here's my test conf, please feel free to send flames: #- # sec.name source community com2sec local 172.0.0.1 public com2sec mynetwork 0.0.0.0/0 public Is that a typo for 127.0.0.1 ? Otherwise the access control stuff looks OK. VIC: It is a typo on my actual config. I already changed it, but the problem remains (I'd have used default rather than 0.0.0.0/0 but it probably works the same). You don't need all three of the following: trapsink 127.0.0.1 trap2sink 127.0.0.1 informsink 127.0.0.1 since that will generate *three* copies of every trap you send, but that's not relevant to this problem. VIC: So that's what it means! I've made a script just to see if my trap daemon can indeed detect coldStart. The script simply echoes to a file. And to my amazement, three entries are always gets created. Thanks for this one! BTW, how do you actually test warmStart, linkUp, and linkDown? Another thought - are you *sure* that this is the snmpd.conf file that's being read. If you're running a pre-installed version of the agent, then that will typically be looking in somewhere like /etc/snmp/snmpd.conf rather than /usr/local/etc/snmp/snmpd.conf VIC: This is indeed the active config. I have this on my rc start-up script: -c /usr/local/share/snmp/snmp.conf ...and this as my trapd option: -f -Le -c /usr/local/share/snmp/snmptrapd.conf Try deliberately putting an invalid token into the config file and restarting the agent. It should log an error. VIC: No need. I've had obvious errors on this config before. And the error does get logged in /var/log/messages. At present, my messages log is free from snmpd errors. VIC: I really have no more ideas at this point on how to resolve this. Since another Linux machine and the Win32 net-snmp can retrieve the MAC values from the server, I'm bent on believing that snmputilg.exe has problems... However: I also would like to inform the list that SilverCreek spurs out a lot of TimeOut errors from this server and config. Out of 79 tests for v2c, I get: - 52 passed tests, 23 failures, 3 warnings, and 1 uninnitiated test due to dependencies on previous failed tests. - For v1, almost half of the test failed (22 failures 3 warings out of 51 tests). - I haven't started testing v3 yet. Can this be interpreted that net-snmp has its own means of getting things done? Or isn't really/fully RFC compliant? :o( To those who may be interested, I can give you a zipped copy of the errors I'm getting. But for starters, here's a snip of one of my saved logs: I really wonder what does this error on Index value mean. I'm getting lines and lines of these errors/warnings, along with write problems eventhough `snmpset` works fine from a Linux client. --- [WARNING] Remarks: Possible problems in set-request operation Agent returned out of range error-index value The error-index value in a Reponse-PDU with an error-status of notWritable must be between 1 and the number of varbinds in the request. Instead, an error-index of 0 was received, which does not correspond to any of the 2
Re: net-snmp-includes.h and programs' config.h
On Fri, 18 Jun 2004 17:10:21 +0200 Flameeyes wrote: F Why oh why I need to include before the config.h.in-generated file? At the moment, the problem is that use of some of the defines from net-snmp-config.h have crept into some of the other headers, thus creating a dependency. The work-around is documented here: http://www.net-snmp.org/tutorial-5/toolkit/autoconf/index.html To fix it, we have two options: 1) have configure generate two header files - a private one which defines the conflicting symbols (PACKAGE_BUGREPORT, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_VERSION), and a public one which has everything else. This still won't help if a second package has a config.h that tests for some of the same headers/libraries/functions. 2) eliminate the dependency by fixing all installed headers which reference symbols from net-snmp-config.h. The current list of symbols and the headers they appear in can be found here: http://www.net-snmp.org/faqs/rstory/headers-which-ref-config.txt -- Robert Story; NET-SNMP Junkie http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem in Installing net-snmp-5.1.1 under RH9
it shows the following infos: [EMAIL PROTECTED] root]# ls -l /usr/lib/libelf* -rwxr-xr-x1 root root62272 Feb 24 2003 /usr/lib/libelf-0.76.so lrwxrwxrwx1 root root 11 Jun 21 19:43 /usr/lib/libelf.o - lib elf.so.1 lrwxrwxrwx1 root root 14 Jun 7 15:03 /usr/lib/libelf.so.1 - libelf-0.76.so From: Dave Shield [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: problem in Installing net-snmp-5.1.1 under RH9 Date: Mon, 21 Jun 2004 09:42:46 +0100 in the /usr/lib there are two files begin with libelf, their name are [EMAIL PROTECTED] root]# cd /usr/lib [EMAIL PROTECTED] lib]# ls libelf* libelf-0.76.so libelf.so.1 Try 'ls -l libelf*' You'll see that libelf.so.1 is actually a symbolic link to libelf.so As Robert said, what's missing is a link from 'libelf.so' to 'libelf-0.76.so'. Try: ln -s libelf-0.76.so n/usr/lib/libelf.so Dave _ MSN Hotmail http://www.hotmail.com --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem in Installing net-snmp-5.1.1 under RH9
it shows the following infos: [EMAIL PROTECTED] root]# ls -l /usr/lib/libelf* -rwxr-xr-x1 root root62272 Feb 24 2003 /usr/lib/libelf-0.76.so lrwxrwxrwx1 root root 11 Jun 21 19:43 /usr/lib/libelf.o - lib elf.so.1 lrwxrwxrwx1 root root 14 Jun 7 15:03 /usr/lib/libelf.so.1 - libelf-0.76.so From: Dave Shield [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: problem in Installing net-snmp-5.1.1 under RH9 Date: Mon, 21 Jun 2004 09:42:46 +0100 in the /usr/lib there are two files begin with libelf, their name are [EMAIL PROTECTED] root]# cd /usr/lib [EMAIL PROTECTED] lib]# ls libelf* libelf-0.76.so libelf.so.1 Try 'ls -l libelf*' You'll see that libelf.so.1 is actually a symbolic link to libelf.so As Robert said, what's missing is a link from 'libelf.so' to 'libelf-0.76.so'. Try: ln -s libelf-0.76.so n/usr/lib/libelf.so Dave _ MSN Hotmail http://www.hotmail.com --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Build configuration for Redhat 9
I am trying to rebuild Net-SNMP 5.1.1 from the sources under RH9 but don't get the same result to what is contained the in the RH9 Net-SNMP 5.1.1 install RPM. Does someone know what is the exact ./configure command to be used to get the same results as are contained in the installation RPM? The differences I observe are: 1. The libnetsnmp... files I build are significantly bigger than the corresponding files from the RPM installation 2. When I link my agent against my build and ty to start it I get the error: relocation error: /usr/lib/libnetsnmpagent.so.5: undefined symbol: boot_DynaLoader When linked against the libs from the RPM I don't get that error. tks --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users