This is a discussion on Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again) within the SNMP Coders forums, part of the Networking and Network Related category; --===============1713046918== Content-Type: multipart/alternative; boundary="----=_Part_16772_8037256.1207645071033" ------=_Part_16772_8037256.1207645071033 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1713046918==
Content-Type: multipart/alternative; boundary="----=_Part_16772_8037256.1207645071033" ------=_Part_16772_8037256.1207645071033 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Dave What i meant by both patches is that I applied them one by one. Both have some changes to be made for 5.3.1 code which I made and Applied them. After Patching..I did a make uninstall and recompiled the code again after running ./configure. However the error still persists.The container error on SIGHUP that is. Then I checked out the 5.2.4 tarball which seems to support Localized Keys. It is not breaking on SIGHUP also.I tested the build on an x86 machine also. I reckon this build should be fine for me. However I faced another issue while compilation.I do not see any .so files when I compiled and linked them inside .libs directory. Are there any changes I should make on the build for the so files to appear.Kindly let me know. As far as the earlier problem is concerned these are the details Step by Step: 1.First the build tried was 5.3.2. Here I applied the net-snmp-5.3-shared-ip-4.patch and it was successfully applied. However when I did a SIGHUP i found the problem of subcontainer still exists. 2.Then I tried the alternate solution of container-atomic-insert.patch and when I applied the same it also succesfully applied. However when I tried starting SNMP daemon it threw me an error in the /var/log/snmpd.log saying undeclared silent flag.There is mention of the same in the Patch thread also which says this needs to be provided by another patch. 3.Then I tried both of these things(one-by-one) on 5.3.1. This succeeded without any errors(However I had to change the code manually due to some line locations being here and there in the patches. Then on run time I Still found the container Errors on SIGHUP. I did a make uninstall and repeated configure and make Steps in all the combinations. 4.Then i tried doing the same steps with 5.2.4.Everything is working fine here except that I dont see the Sos being created. *Architechture: 2.6.10-1.771_FC2 #1 Mon Mar 28 00:50:14 EST 2005 i686 i686 i386 GNU/Linux* Thanks for all the help Dave/Thomas..i will be trying out with the nightly Tar Balls also. Thanks again On Tue, Apr 8, 2008 at 1:56 PM, Dave Shield <D.T.Shield@liverpool.ac.uk> wrote: > On 08/04/2008, anand <anand.huawei@gmail.com> wrote: > > I have applied the container-atomic-insert.patch as well as > > net-snmp-5.3-shared-ip-4.patch on the release Net-SNMP 5.3.1. > > I'm not sure whether it's sensible to apply *both* patches. > According to the comments in that tracker item, the container > patch is meant as an *alternative* to the original shared-ip patch. > I have no idea whether the two work together cleanly or not. > > > I'm inclined to second Thomas' suggestion. Forget about patching > the code yourself. Grab a copy of the net-snmp-svn-V5-3-patches.... > tarball from http://www.net-snmp.org/nightly/tarballs/ > At least that way we know you're working with a clean code base. > > Remove any existing Net-SNMP installations, > configure, compile and install this, and then try your tests again. > If they still don't work, please tell us *exactly* what requests you > attempted, how the agent was configured, what you expected to > see and what actually happened. > Looking back through your earlier queries, they tend to be a > bit light on detail, which makes it difficult for us to assist you. > > Dave > ------=_Part_16772_8037256.1207645071033 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Dave<br>What i meant by both patches is that I applied them one by one.<br>Both have some changes to be made for 5.3.1 code which I made and Applied them.<br>After Patching..I did a make uninstall and recompiled the code again after running ./configure.<br> However the error still persists.The container error on SIGHUP that is.<br><br>Then I checked out the 5.2.4 tarball which seems to support Localized Keys.<br>It is not breaking on SIGHUP also.I tested the build on an x86 machine also.<br> I reckon this build should be fine for me.<br><br>However I faced another issue while compilation.I do not see any .so files when I compiled and linked them inside .libs directory.<br>Are there any changes I should make on the build for the so files to appear.Kindly let me know.<br> <br>As far as the earlier problem is concerned these are the details Step by Step:<br><br>1.First the build tried was <a href="http://5.3.2.">5.3.2.</a><br>Here I applied the net-snmp-5.3-shared-ip-4.patch and it was successfully applied.<br> However when I did a SIGHUP i found the problem of subcontainer still exists.<br><br>2.Then I tried the alternate solution of container-atomic-insert.patch and when I applied the same it also succesfully applied.<br>However when I tried starting SNMP daemon it threw me an error in the /var/log/snmpd.log saying undeclared silent flag.There is mention of the same in the Patch thread also which says this needs to be provided by another patch.<br> <br>3.Then I tried both of these things(one-by-one) on <a href="http://5.3.1.">5.3.1.</a><br>This succeeded without any errors(However I had to change the code manually due to some line locations being here and there in the patches.<br> Then on run time I Still found the container Errors on SIGHUP.<br><br>I did a make uninstall and repeated configure and make Steps in all the combinations.<br><br>4.Then i tried doing the same steps with 5.2.4.Everything is working fine here except that I dont see the Sos being created.<br> <br><b>Architechture:<br>2.6.10-1.771_FC2 #1 Mon Mar 28 00:50:14 EST 2005 i686 i686 i386 GNU/Linux</b><br><br>Thanks for all the help Dave/Thomas..i will be trying out with the nightly Tar Balls also.<br><br>Thanks again<br> <br><div class="gmail_quote">On Tue, Apr 8, 2008 at 1:56 PM, Dave Shield <<a href="mailto:D.T.Shield@liverpool.ac.uk">D.T.Shiel d@liverpool.ac.uk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">On 08/04/2008, anand <<a href="mailto:anand.huawei@gmail.com">anand.huawei@ gmail.com</a>> wrote:<br> > I have applied the container-atomic-insert.patch as well as<br> > net-snmp-5.3-shared-ip-4.patch on the release Net-SNMP <a href="http://5.3.1." target="_blank">5.3.1.</a><br> <br> </div>I'm not sure whether it's sensible to apply *both* patches.<br> According to the comments in that tracker item, the container<br> patch is meant as an *alternative* to the original shared-ip patch.<br> I have no idea whether the two work together cleanly or not.<br> <br> <br> I'm inclined to second Thomas' suggestion. Forget about patching<br> the code yourself. Grab a copy of the net-snmp-svn-V5-3-patches....<br> tarball from <a href="http://www.net-snmp.org/nightly/tarballs/" target="_blank">http://www.net-snmp.org/nightly/tarballs/</a><br> At least that way we know you're working with a clean code base.<br> <br> Remove any existing Net-SNMP installations,<br> configure, compile and install this, and then try your tests again.<br> If they still don't work, please tell us *exactly* what requests you<br> attempted, how the agent was configured, what you expected to<br> see and what actually happened.<br> Looking back through your earlier queries, they tend to be a<br> bit light on detail, which makes it difficult for us to assist you.<br> <font color="#888888"><br> Dave<br> </font></blockquote></div><br> ------=_Part_16772_8037256.1207645071033-- --===============1713046918== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757...un.com/javaone --===============1713046918== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============1713046918==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|