This is a discussion on Re: Net-SNMP 5.3.0.1 on aix 5.2 5.3 and possibly 5.1 - SNMP ; Johannes, I've been in contact with Thomas about the bug. I've got several aix machines to test code on so we've been testing the nlist problems on those machines. I didn't notice any nlist errors on the 32 bit kernels. ...
Johannes,
I've been in contact with Thomas about the bug. I've got several aix
machines to test code on so we've been testing the nlist problems on those
machines. I didn't notice any nlist errors on the 32 bit kernels.
Everything appears fine on the 32 bit kernel.
Jayson
>From: Johannes Schmidt-Fischer
>To: Jayson Robinson
>CC: net-snmp-coders@lists.sourceforge.net
>Subject: Re: Net-SNMP 5.3.0.1 on aix 5.2 5.3 and possibly 5.1
>Date: Thu, 11 May 2006 12:09:53 +0200
>
>Jayson,
>
>I presume that walking the iptable was not a problem when you built and
>run the net-snmp daemon under 32-bit AIX - at least you didn't mention
>that in your posting. Did you by chance check that there were no nlist
>errors under 32-bit AIX?
>
>Probably you've seen that Thomas Anders who is assigned responsible for
>your bug posting added a followup to your posting (since you posted it
>anonymously you cannot add a followup to it I think but after logging in
>to sourceforge.net you can at least monitor that bug). Thomas asks
>whether you're able and willing to help fixing the net-snmp problems,
>moreover he asked for your name and mail address...
>
>Johannes
>
>Jayson Robinson schrieb:
> > I have since compiled on a 64 bit kernel and run under a 64 bit kernel.
> > We get the same problem with the nlist I/O error. I modified the
> > auto_nlist.c yesterday on that machine to include a definition for aix5
> > so that it would try and use knlist but encountered a different problem
> > for which I posted a bug. I was able to get the snmp daemon to run and
> > respond to requests (and surprisingly enough some of the iftable came
> > back - however when walking the iptable the daemon goes into an endless
> > loop. It's trying to read from a non-existent device and it just
> > continues on forever and ever and takes 100% of the cpu.
> >
> > I did include truss output with the bug as well as all the symptoms.
> > It's bug #1484814
> >
> > Thanks for the information on the previous thread. I'll go take a look
> > at it.
> >
> >
> > Jayson
> >
> >
> >> From: Johannes Schmidt-Fischer
> >> To: Jayson Robinson
> >> CC:
> >>
>net-snmp-coders@lists.sourceforge.net,net-snmp-users@lists.sourceforge.net
> >>
> >> Subject: Re: Net-SNMP 5.3.0.1 on aix 5.2 5.3 and possibly 5.1
> >> Date: Mon, 08 May 2006 18:38:32 +0200
> >>
> >> Jayson,
> >>
> >> there has been a discussion about 32-bit and 64-bit kernels about 3
> >> months ago in the net-snmp-coders list (even if it didn't concern AIX
> >> but instead IRIX I think the same problem applies here too). The
> >> thread's topic was "rfc: handle platform specifics at runtime vs.
> >> compile time?".
> >>
> >> You compiled the net-snmp agent at a machine running a 32-bit kernel I
> >> think - at least you tested it there. With 64-bit AIX that apparently
> >> don't work (there is an error message concerning nlist() in the truss
> >> file you posted).
> >>
> >> I cannot say whether the current net-snmp code is AIX 64-bit aware such
> >> that compiling it under a 64-bit kernel will do the trick. In general
> >> all calls to nlist() are to be mapped to an equivalent function
> >> (probably nlist64()) for the 64-bit kernel. Note that the decision what
> >> function will be used for inspecting kernel structures is made during
> >> configure and compilation and not when starting the net-snmp agent.
> >>
> >> Johannes
> >>
> >> Jayson Robinson schrieb:
> >> > All,
> >> >
> >> > Okay our infrastructure has tried running this on a 32 bit aix kernel
> >> > and our package works fine with that. We have not been able to get
> >> > net-snmp 5.3 which is compiled on a 32 bit aix kernel to work on the
> >> aix
> >> > 64 bit kernel.
> >> >
> >> > Jayson
> >> >
> >> >
> >> >> From: "Jayson Robinson"
> >> >> To:
> >> >>
> >>
>net-snmp-coders@lists.sourceforge.net,net-snmp-users@lists.sourceforge.net
> >>
> >> >>
> >> >> Subject: Net-SNMP 5.3.0.1 on aix 5.2 5.3 and possibly 5.1
> >> >> Date: Thu, 04 May 2006 10:24:22 -0400
> >> >>
> >> >> Okay all,
> >> >>
> >> >> Another weird one, perhaps someone has seen this. I have compiled
> >> >> Net-SNMP 5.3.0.1 on aix 5.1/5.2 and 5.3 on our test boxes it works
> >> >> just fine. We have it under srcmaster control and am using the
> >> >> following flags: -f udp:16161. When we take it to our packaging
>teams
> >> >> systems, we're getting nlist errors on at least the aix 5.2 and 5.3
> >> >> boxes. The interesting thing is that if we add the -r flag to the
> >> >> snmpd command line options then everything works fine (except the
> >> >> ifmib) . It's running as root in all cases. I have included both
>the
> >> >> trace and the truss output for you to take a look at.
> >> >>
> >> >> The command line options to configure:
> >> >> ./configure --with-mib-modules="host disman/event-mib smux
> >> >> ucd-snmp/diskio" --prefix="/opt/net-snmp"
> >> >> --with-persistent-directory="/var/net-snmp"
> >> >> --with-default-snmp-version="2"
> >> >> --with-logfile="/var/net-snmp/snmpd.log"
>--with-openssl=/usr/local
> >> >> --disable-shared
> >> >>
> >> >> Please let me know if anyone has seen this.
> >> >>
> >> >> Thanks,
> >> >> Jayson
> >> >>
> >> >> __________________________________________________ _______________
> >> >> Express yourself instantly with MSN Messenger! Download today - it's
> >> >> FREE!
>http://messenger.msn.click-url.com/g...ave/direct/01/
> >> >
> >> >
> >> >
> >> >> << snmp_trace.out.txt >>
> >> >
> >> >
> >> >
> >> >> << truss_net-snmp52.out.txt >>
> >> >
> >> >
> >> > __________________________________________________ _______________
> >> > On the road to retirement? Check out MSN Life Events for advice on
>how
> >> > to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
> >> >
> >> >
> >> >
> >> > -------------------------------------------------------
> >> > Using Tomcat but need to do more? Need to support web services,
> >> security?
> >> > Get stuff done quickly with pre-integrated technology to make your
>job
> >> > easier
> >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >> Geronimo
> >> >
> >>
>http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
> >> > _______________________________________________
> >> > Net-snmp-coders mailing list
> >> > Net-snmp-coders@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/...et-snmp-coders
> >>
> >> --
> >> Johannes Schmidt-Fischer
> >>
> >> InterFace AG phone +49 (0)89 / 610 49 - 207
> >> Leipziger Str. 16 fax +49 (0)89 / 610 49 - 85
> >> D-82008 Unterhaching mobile +49 (0)171/ 787 76 01
> >> http://www.InterFace-AG.com mailto:jsf@InterFace-AG.de
> >>
> >>
> >> -------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support web services,
>security?
> >> Get stuff done quickly with pre-integrated technology to make your job
> >> easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >> Geronimo
> >>
>http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
> >> _______________________________________________
> >> Net-snmp-coders mailing list
> >> Net-snmp-coders@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/...et-snmp-coders
> >
> >
> > __________________________________________________ _______________
> > Express yourself instantly with MSN Messenger! Download today - it's
> > FREE! http://messenger.msn.click-url.com/g...ave/direct/01/
> >
> >
> >
> > -------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
>security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
> > _______________________________________________
> > Net-snmp-coders mailing list
> > Net-snmp-coders@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/...et-snmp-coders
>
>--
>Johannes Schmidt-Fischer
>
>InterFace AG phone +49 (0)89 / 610 49 - 207
>Leipziger Str. 16 fax +49 (0)89 / 610 49 - 85
>D-82008 Unterhaching mobile +49 (0)171/ 787 76 01
>http://www.InterFace-AG.com mailto:jsf@InterFace-AG.de
>
>
>-------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
>_______________________________________________
>Net-snmp-coders mailing list
>Net-snmp-coders@lists.sourceforge.net
>https://lists.sourceforge.net/lists/...et-snmp-coders
__________________________________________________ _______________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/o...ave/direct/01/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders