Re: net-snmp compilation including perl module

2010-07-09 Thread Bart Van Assche
On Fri, Jan 29, 2010 at 1:39 AM, Group wrote: > Hi, > > I 'm getting compilation issues, i couldnot proceed from here. > Here are the steps which i ran: > > $ ./configure --with-perl-modules --with-openssl="/usr" > $ make > [Getting errors related to openssl package] > > ->Added -lcrypto to LDLO

Re: Net-SNMP Trap Agent start error

2010-07-14 Thread Bart Van Assche
On Tue, Jul 13, 2010 at 12:23 PM, Markus Hofer wrote: > I got a problem with starting the Net-SNMP Trap Agent under windows xp > I use the Net-SNMP version 5.4.2.1 > > I have the following configurations in C:\usr\etc\snmp\snmptrapd.conf > > createUser -e 0x81020304 snmpv3_MD5_trap_log_

Re: Subagent example code timeout on Win32

2010-07-19 Thread Bart Van Assche
On Mon, Jul 19, 2010 at 5:16 PM, Van Dyke, Evan (ES) wrote: > My apologies if this has been discussed before, but I couldn’t find it in > a quick search of the archives. > > I am trying to build the sub-agent example on the NetSNMP Wiki on a Win32 > system. I am currently using the NetSNMP v5.5

Re: Subagent example code timeout on Win32

2010-07-19 Thread Bart Van Assche
On Mon, Jul 19, 2010 at 5:16 PM, Van Dyke, Evan (ES) wrote: > My apologies if this has been discussed before, but I couldn’t find it in > a quick search of the archives. > > I am trying to build the sub-agent example on the NetSNMP Wiki on a Win32 > system. I am currently using the NetSNMP v5.5

Re: EXTERNAL:Re: Subagent example code timeout on Win32

2010-07-20 Thread Bart Van Assche
On Mon, Jul 19, 2010 at 8:33 PM, Van Dyke, Evan (ES) wrote: > Bingo. It looks like the call to f_send in _*snmp_async_send() in > snmp*_api.c > is failing. I added a debug message in the if(result < 0) check (see > below), and f_send is returning -1. The callback looks like it is only > queu

Re: SORRY! I found net-snmp 5.5 didn't provide default implementation to retrieve HOST-RESOURCES-MIB::hrProcessorLoad value, is that so?

2010-08-11 Thread Bart Van Assche
On Thu, Aug 12, 2010 at 5:09 AM, orientropy i wrote: > on XP platform, i can't use net-snmp 5.5 to get cpu load information. > > i have configured the snmpd.conf as following: > > *com2sec u_public default public > group g_public v1 u_public > group g_public v2c u_public > view v_public includ

Re: net-snmp 5.4.3 - error when executing snmpget.exe

2010-08-19 Thread Bart Van Assche
On Thu, Aug 19, 2010 at 3:17 PM, Ravi Chandran wrote: > *[ ... ] > > R6034* > > ** > > *An application has made an attempt to load the C runtime library > incorrectly.* > > *Please contact the application's support team for more information.* > This error message means that neither a manifest has

Re: Net-SNMP installation under XP Cygwin

2010-08-24 Thread Bart Van Assche
On Tue, Aug 24, 2010 at 12:11 AM, Leo Lin wrote: > I downloaded the net-snmp-5.6.rc1 version and try to install it on my PC > under Cygwin. > > after decompressing it, I used ./configure > > it went through a check-list and an extensive setup. > > Then, I tried to issue the command $ make, and t

Re: Net-SNMP installation under XP Cygwin

2010-08-26 Thread Bart Van Assche
On Thu, Aug 26, 2010 at 3:27 AM, Leo Lin wrote: > I found out that the tarball I downloaded was corrupted. I downloaded > the net-snmp-5.5, and during the ./configure and ./make install, Gygwin did > not allow the install to copy several files > > the message posted: accessed_denied > > I finis

Re: Net-SNMP installation under XP Cygwin

2010-08-27 Thread Bart Van Assche
On Fri, Aug 27, 2010 at 6:17 AM, Leo Lin wrote: > I redownload the net-snmp-5.5 tarball from sourceforge.net, and checked > the signature keys. This time, the ./configure process was a little > different. > > I try to log any errors that occurred during ./configure, and there's no > errors. T

Re: Building net-snmp on windows

2010-09-02 Thread Bart Van Assche
On Thu, Sep 2, 2010 at 4:04 PM, Vinod Nanjaiah wrote: > Hi! > > I am trying to build net-snmp-5.5 on Windows-7 and am stuck at the point > where "netsnmpmibssdk" is to be built. > > > > Build instructions that I followed are from > > http://net-snmp.sourceforge.net/docs/README.win32.html --> "5.

Re: Cross-compiling Net-SNMP

2010-09-04 Thread Bart Van Assche
On Thu, Sep 2, 2010 at 4:32 PM, Leo Lin wrote: > I have Net-SNMP installed in my PC / Cygwin. I would like to implement the > agent portion and deployed to an ARM9 CPU. > > I figured, in order to cross-compile it, I simply need to change the --CC > options on the ./configure() script when build

Re: Installing Perl SNMP support on Windows

2010-09-06 Thread Bart Van Assche
On Mon, Sep 6, 2010 at 12:50 PM, Vinod Nanjaiah wrote: > As per the Perl README file ( > http://www.net-snmp.org/docs/perl-SNMP-README.html), I am trying > > to install perl support for snmp. > > But, on running win32\nmakeperl.bat, it is exiting with the following > error. > > > > Make the Perl

Re: Installing Perl SNMP support on Windows

2010-09-06 Thread Bart Van Assche
On Mon, Sep 6, 2010 at 12:55 PM, Vinod Nanjaiah wrote: > Just to add to this, I am running net-snmp-5.4.3 as suggested by Bart Van > Assche > [ ... ] > As far as I know version 5.4.3 builds fine, so there might be a problem with the setup of the PC you are using for building Net

Re: Installing Perl SNMP support on Windows

2010-09-06 Thread Bart Van Assche
On Mon, Sep 6, 2010 at 1:04 PM, Vinod Nanjaiah wrote: > > > On Mon, Sep 6, 2010 at 12:55 PM, Vinod Nanjaiah < > vinod_nanja...@mindtree.com> wrote: > > Just to add to this, I am running net-snmp-5.4.3 as suggested by Bart Van > Assche > [ ... ] > > > As

Re: Net-snmp leaks memory after 5 hours

2010-09-07 Thread Bart Van Assche
On Tue, Sep 7, 2010 at 11:55 PM, kavita raghunathan wrote: > Hello, After 5 hours, I notice that the memory usage of net-snmp has > jumped. It does not seem to depend on the application code I have written - > any ideas where to look ? > What do you mean with "memory usage" ? Are you referring he

Re: Installing Perl SNMP support on Windows

2010-09-09 Thread Bart Van Assche
On Thu, Sep 9, 2010 at 8:37 AM, Vinod Nanjaiah wrote: > Hi, > > I was not able to proceed further with building the perl snmp modules. I > tried installing it on another system also, but got stuck at the same point. > > One deviation I did from the README file is to install regex from a > differe

Re: Compilation issues of netsnmp lib with MinGW

2010-09-12 Thread Bart Van Assche
On Sun, Sep 12, 2010 at 10:58 AM, Abraham Varricatt < abraham.varricatt+s...@googlemail.com > wrote: > Hello Sukhdeep, > > I've never tried compiling net-snmp on Windows, but from the wiki, > > http://www.net-snmp.org/wiki/index.php/Build_System/Windows > > You can see that there are issues with

Re: Compilation issues of netsnmp lib with MinGW

2010-09-12 Thread Bart Van Assche
On Thu, Sep 9, 2010 at 6:58 AM, Sukhdeep Singh < sukhdeep.si...@info-spectrum.co.in> wrote: > > I’m trying to compile net-snmp with with Min-GW on windows and > I’m getting following errors: > > > > These functions already defined in their corresponding file then why are > these failin

Re: about snmp_alarm_register

2010-09-12 Thread Bart Van Assche
On Mon, Sep 13, 2010 at 3:10 AM, Leo Lin wrote: > Hi, > > I use the snmp_alarm_register() along with the notification.c example to > generate a trap every 30 sec. > > I also created a function that generates the same trap everytime an OID > value is changed by snmpset. > > When testing it, the tr

Re: about snmp_alarm_register

2010-09-19 Thread Bart Van Assche
mplements > the snmp_alarm_register()?? > > > --- On *Sun, 9/12/10, Bart Van Assche * wrote: > > > From: Bart Van Assche > Subject: Re: about snmp_alarm_register > To: "Leo Lin" > Cc: "Net-snmp-users" > Date: Sunday, September 12, 2010, 11:05 PM > >

Re: a patch for memory leak

2010-09-20 Thread Bart Van Assche
On Mon, Sep 20, 2010 at 5:53 PM, Wei Zheng wrote: > When CONTAINER_INSERT fails in ipaddress_linux.c and systemstats_linux.c, > there will be memory leak. Under certain system configuration, this memory > leak can cause system reset. Here is a patch to prevent memory leak. (The > patch is fo

Re: ./configure conftest.c permission denied

2010-09-21 Thread Bart Van Assche
On Tue, Sep 21, 2010 at 10:06 AM, Leo Lin wrote: > master.o: In function `real_init_master`: > > master.c: 55: undefined reference to ___stack_chk_guard > I have never seen such an error message myself during any of the many times I built Net-SNMP on Cygwin. Have you already tried to run "make

Re: support lifecycle

2010-09-24 Thread Bart Van Assche
On Fri, Sep 24, 2010 at 8:15 AM, sebastian2...@gmx.de wrote: > > as long as 5.5 is supported ^^: Is there any known issue that the > netsnmp_select_info-function is crashing? Is that maybe fixed with 5.6? > > I already asked that in another thread, but nobody answered right now. > > Maybe I am doi

Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-09-24 Thread Bart Van Assche
On Thu, Sep 23, 2010 at 8:00 PM, Leo Lin wrote: > Someone know which libraries needs pthread? > Hello Leo, You can get rid of the libpthread dependency as follows: * Apply the patch attached to https://sourceforge.net/tracker/?func=detail&atid=312694&aid=2959811&group_id=12694 . * Remove the fo

Re: Memory leak in 5.5

2010-09-27 Thread Bart Van Assche
On Mon, Sep 27, 2010 at 4:49 PM, kavita raghunathan wrote: > Hello, I'm using net-snmp-5.5 over centos Linux and notice that the snmpd > process gradually eats up memory over time. Please note that no gets or sets > are going on. I have posted before with no response. Please help. Is this a > know

Re: Apply Patch

2010-09-27 Thread Bart Van Assche
On Mon, Sep 27, 2010 at 4:57 PM, Leo Lin wrote: > Hi, > > Someone knows how to apply a patch? I googled it, and found that it must > use the script `patch` like so, > > patch -p0 < /path/to/patch.file> > > the problem is that I cannot find the `patch` script, > > > All you have to do is to inst

Re: Memory leak in 5.5

2010-09-27 Thread Bart Van Assche
On Mon, Sep 27, 2010 at 5:45 PM, kavita raghunathan wrote: > Valgrind found no leaks. I left it over night. But top still reports that > snmpd is leaking memory. I did do what he suggested. What I'm trying to say > is, is there any known memory leaks with net-snmp 5.5 ? Has anyone else > reported

Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-09-29 Thread Bart Van Assche
On Tue, Sep 28, 2010 at 6:34 PM, Leo Lin wrote: > I tried to revert to previous net-snmp-5.6.rc1 setup, by performing > > make uninstall > > also, decompress the downloaded .tar.gz again, > > and ran `autoreconf -i` > > I have to run `configure` `make` `make install` several times so it > instal

Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-09-30 Thread Bart Van Assche
On Wed, Sep 29, 2010 at 10:47 PM, Leo Lin wrote: > > And copied the snmpd binary to my target gives me the`libpthread.so.0` > error when ran. So, I'm back to square one. > > I've seen the net-snmp-5.6.rc3 on sourceforge, do you know if it contains > the patch for pthread? > The first you should

Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-10-01 Thread Bart Van Assche
On Thu, Sep 30, 2010 at 10:44 PM, Leo Lin wrote: > [ ... ] > $grep LIBS config.log > [ ... ] > LMIBLIBS='-ldl -lpthread ' > [ ... ] The above means that either the line NETSNMP_SEARCH_LIBS(pthread_create, pthread LMIBLIBS) has not been removed from configure.d/config_os_libs or that the con

Re: endian problems in Net-SNMP

2010-10-03 Thread Bart Van Assche
On Sun, Oct 3, 2010 at 6:26 PM, Naama Bar Menachem < naama.barmenac...@novelsat.com> wrote: > I have endian issues in net-snmp. > when requesting for a value, instead of presenting 1 I get 16777216 (which > is 1000...) > I tried adding the flag "--with-endianness" in configure with both big

Re: problems combining net-SNMP, Windows 2008 and 'windows extension DLL' support

2010-10-13 Thread Bart Van Assche
On Tue, Oct 12, 2010 at 4:47 PM, Fulko Hew wrote: > [ ... ] > > P.S. It would be nice if Net-SNMP provided the standard IP and > HostResources > related info on MS Windows without needed the MS DLL support. > Hello Fulko, I'm afraid that it will be hard to find someone interested in implem

Re: unregistering handlers

2010-10-17 Thread Bart Van Assche
On Sun, Oct 17, 2010 at 4:52 PM, Leo Cacciari wrote: > [ ... ] > > Calling netsnmp_handler_registration_free from > netsnmp_unregister_handler can be, as I stated, either a bug or a > feature, but in any case I think it should be advertised in the > documentation. Anyhow, this answer my own questi

Re: netsnmp_large_fd_set_resize

2010-11-04 Thread Bart Van Assche
On Wed, Nov 3, 2010 at 9:31 PM, Joan Landry < joan.lan...@overturenetworks.com> wrote: > In profiling the net-snmp code it was discovered that the function > netsnmp_large_fd_set_resize is consuming a lot of cpu time. > > Does anyone know the ramifications of not doing the following set of > code:

Re: net-snmp on windows 2003 crash

2010-11-04 Thread Bart Van Assche
On Tue, Nov 2, 2010 at 5:49 PM, David Dumortier wrote: > I try to install net-snmp 5.5 on windows 2003 and the service die in > few seconds with the errors : > init_winExtDLL: could not load SNMP extension DLL > C:\WINDOWS\system32\inetsrv\httpmib.dll. > duplicate registration (mibII/snmp,C:\WIND

Re: net-snmp on windows 2003 crash

2010-11-07 Thread Bart Van Assche
On Fri, Nov 5, 2010 at 8:41 AM, David Dumortier wrote: > Le Thu Nov 04 2010 à 07:36:42PM +0100, Bart Van Assche dit : > > On Tue, Nov 2, 2010 at 5:49 PM, David Dumortier > wrote: > > > > > I try to install net-snmp 5.5 on windows 2003 and the service die in > &

Re: Successfully imported certificates fail with "error finding client identity keys"

2010-11-08 Thread Bart Van Assche
On Sat, Nov 6, 2010 at 2:07 AM, James Martin < james.mar...@securecommconsulting.com> wrote: > I am testing a DTLS snmp server using net-snmp version 5.6 on windows > under cygwin as the client. > > > > I have several certificates that I have imported successfully using > net-snmp-cert –t > >

Re: net-snmp compilation problem in MinGW

2010-11-24 Thread Bart Van Assche
On Wed, Nov 24, 2010 at 10:40 AM, Ramesh Kumar wrote: > I am net to net snmp. > I tried to run./configure on net snmp 5.5 library in Windows XP through > MinGW compiler. But I get following error > Have you already tried the same with Net-SNMP 5.6 instead of version 5.5 ? Bart. -

Re: Info regarding sending a patch.

2010-12-17 Thread Bart Van Assche
On Fri, Dec 17, 2010 at 12:35 PM, Benix Samuel Vincent Theogaraj < benixsam...@gmail.com> wrote: > I just figured an error in net-snmp src. Can some one provide me the > information regarding submitting a patch? > Patches are welcome on the Net-SNMP patch tracker: http://sourceforge.net/tracker/?

Re: Net-SNMP 5.6.rc1 available for testing

2010-12-21 Thread Bart Van Assche
Hi Kishore, Net-SNMP 5.6.rc1 is single-threaded, so how could there be a threading issue ? Bart. On Tue, Dec 21, 2010 at 5:50 PM, Borra, Kishore Babu < kishorebabu.bo...@te.com> wrote: > Hi Wes, > > I want to know if the multithreading issue in 5.5 got resolved in the > latest version(5.6.rc1).

Re: Net-SNMP 5.6.rc1 available for testing

2010-12-21 Thread Bart Van Assche
Hi Kishore, The issue you describe is most likely completely independent of Net-SNMP. Bart. On Tue, Dec 21, 2010 at 6:13 PM, Borra, Kishore Babu < kishorebabu.bo...@te.com> wrote: > Hi Bart, > > > > I was trying to spawn the TCP server thread from one of the mib extension > file of the SNMP age

Re: Net-SNMP 5.6.rc1 available for testing

2010-12-22 Thread Bart Van Assche
On Wed, Dec 22, 2010 at 4:53 AM, Mishustin Kirill wrote: > 21.12.2010 23:16, Bart Van Assche wrote: > >> Hi Kishore, >> >> The issue you describe is most likely completely independent of Net-SNMP. >> > > It looks like it's dependent. Code, that was

Re: Net-SNMP 5.6.rc1 available for testing

2010-12-22 Thread Bart Van Assche
On Wed, Dec 22, 2010 at 10:22 AM, Mishustin Kirill wrote: > 22.12.2010 15:02, Bart Van Assche wrote: > >> Hi Kirill, >> >> Sorry, but that still doesn't prove that the cause is in the Net-SNMP >> source code. As an example, adding threads without using prope

Re: v5.6.1 binaries for MS Windows?

2011-01-05 Thread Bart Van Assche
On Wed, Jan 5, 2011 at 2:46 PM, Fulko Hew wrote: > Now that v 5.6.1 has been officially released (and some binaries are > available), > I was wondering what the process is (wait time) before there are binaries > for MS Windows OSs available for download? > > Also, while reading the release annou

Re: vc9 (vs2008 SP1) nmake (through win32/build.bat) build error

2011-02-08 Thread Bart Van Assche
On Tue, Feb 8, 2011 at 10:48 AM, Nicolai G. wrote: > Hi everybody > > I'm trying to build net-snmp 5.5 (or 5.6 - the same problem) with > win32/build.bat using vc9 (vs2008 SP1) nmake and facing build error > that I don't know how to fix. > > Running build bat says: > Net-SNMP build and install

Re: vc9 (vs2008 SP1) nmake (through win32/build.bat) build error

2011-02-08 Thread Bart Van Assche
On Tue, Feb 8, 2011 at 12:21 PM, Nicolai G. wrote: > On Tue, Feb 8, 2011 at 1:04 PM, Bart Van Assche > wrote: > > On Tue, Feb 8, 2011 at 10:48 AM, Nicolai G. > wrote: > >> [ ... ] > >> NMAKE : fatal error U1077: '"C:\Microsoft Visual Studio > &g

Re: vc9 (vs2008 SP1) nmake (through win32/build.bat) build error

2011-02-08 Thread Bart Van Assche
On Tue, Feb 8, 2011 at 1:32 PM, Nicolai G. wrote: > [ ... ] > > Well I set environment step by step and found weired thing: > First of all I actually start Microsoft Visual Studio > 9.0\VC\vcvarsall.bat which calls vcvars32.bat if not other specified > (so that makes me sure vcvars32.bat was call

Re: Windows binaries and v3

2011-02-14 Thread Bart Van Assche
On Mon, Feb 14, 2011 at 4:42 PM, Joseph L. Casale < jcas...@activenetwerx.com> wrote: > I am trying to install the windows binaries and enable v3 so I installed > openssl > as directed, then setup snmpd.conf to proxy through to the existing ms snmp > server moved to a different port (as I have do

Re: Windows binaries and v3

2011-02-14 Thread Bart Van Assche
On Mon, Feb 14, 2011 at 6:16 PM, Joseph L. Casale wrote: > >It just crashes and exits w/o any error. I should have tested other > binaries, none of them > >run w/o simply exiting. I have the runtime files installed afaik (I don't > even recall ever > >needing to before anyway). > > Turned out to

Re: Need the source to create my own SNMP Master Agent

2011-02-24 Thread Bart Van Assche
On Thu, Feb 24, 2011 at 12:59 AM, wrote: > Looking for source code that can satisfy the following requirement: > > Create and configure a Master SNMP Agent for use with IBM Lotus Domino > Enterprise Server 64-bit application on a 64-bit SUSE Linux Enterprise > Server 11.0 s390x (Linux for System

Re: C compiler cannot create executables

2011-03-07 Thread Bart Van Assche
On Mon, Mar 7, 2011 at 12:03 PM, venkat easwar wrote: > Sorry, If I am posting a problem which got solved already; but my google > searches did not help me to get the issue solved :( > > I am trying to compile net-snmp-5.4.3 in recent version of cygwin. I got > gcc version of 4.5.0. I am gettin

Re: C compiler cannot create executables

2011-03-07 Thread Bart Van Assche
On Mon, Mar 7, 2011 at 1:32 PM, venkat easwar wrote: > My eyes missed the load error. I installed ssl libraries and it started > working. Yes, Dave's Idea also should work. > I was surprised to see both* --with-libs="-lws2_32 -lssl"* and *--without-openssl *in the same configure command ? Bart.

Re: Net-SNMP Error on Win08 r2

2011-03-15 Thread Bart Van Assche
On Tue, Mar 15, 2011 at 5:09 AM, Eric Orate wrote: > I would like to seek help in making the net-snmp work to my win08r2 system. > I am not sure if I am really getting the correct download file for Windows > server 2008 r2 environment as I am always receiving an "appcrash" error when > I'm regist

Re: Error with Win32OpenSSL-1_0_0d and net-snmp-5.5.0-1.x86 on Windows.

2011-03-18 Thread Bart Van Assche
On Fri, Mar 18, 2011 at 5:55 PM, Samuel Mutel wrote: > I have installed Win32OpenSSL-1_0_0d and net-snmp-5.5.0-1.x86 on a Windows > server. > When I launch Net-SNMP, it stop immediately and I have this message on > event log : > > Faulting application snmpd.exe, version 0.0.0.0, faulting module un

Re: Compiling NetSNMP for x64 Windows

2011-04-18 Thread Bart Van Assche
On Mon, Apr 4, 2011 at 3:37 PM, Markus Gaugusch wrote: > I downloaded NetSNMP 5.6.1 and were successful to compile it for 32 bit > platforms. WinExtDLL works also fine. Now I'd like to go for x64 > Windows. I've seen packages for older NetSNMP 5.5, so someone must > already have done the effort of

Re: Compiling NetSNMP for x64 Windows

2011-04-19 Thread Bart Van Assche
On Mon, Apr 18, 2011 at 12:46 PM, Markus Gaugusch wrote: > On Apr 18, Bart Van Assche wrote: > > On Mon, Apr 4, 2011 at 3:37 PM, Markus Gaugusch >> wrote: >> >>> I downloaded NetSNMP 5.6.1 and were successful to compile it for 32 bit >>> platforms. WinExt

Re: Compiling NetSNMP for x64 Windows

2011-04-19 Thread Bart Van Assche
On Mon, Apr 18, 2011 at 10:40 PM, Xiang Li wrote: > Hi, > We have recently successfully built net-snmp5.6.1 and netsnmp 5.5.1 > on windows x64 systems when working on our SNMP API products. > > No special things need to be done. You just need to build net-snmp > in a x64 build environment. For ex

Re: simple windows C app build

2011-04-20 Thread Bart Van Assche
On Tue, Apr 19, 2011 at 9:59 PM, Thomas Andrews wrote: > I'm trying to build a trivial C proggie in windows xp. The code builds > fine in debian. It is based on this example: > http://www.cuddletech.com/articles/snmp/node26.html > > When I do this: > gcc -Wall -I c:\usr\include snmp_test.c -o

Re: Net-snmp in Windows: SNMPV3 Encryption Support Not Enabled

2011-04-25 Thread Bart Van Assche
2011/4/25 chengkeke > I met a issue with net-snmp in windows. It is a little urgency. Could > anybody help me with this issue? > > OS version: Windows XP Professional 2002 SP3 > > Install steps: > 1. Install VC++2008. > 2. Install OpenSSL. > Refer to http://www.slproweb.com/products/Win32OpenSSL.

Re: Re: Net-snmp in Windows: SNMPV3 Encryption Support Not Enabled

2011-05-03 Thread Bart Van Assche
2011/5/3 chengkeke > At 2011-04-26 00:25:02,"Bart Van Assche" wrote: > > 2011/4/25 chengkeke > >> I met a issue with net-snmp in windows. It is a little urgency. Could >> anybody help me with this issue? >> >> OS version: Windows XP Professional

Re: dlopen failed: /*.so undefined symbol: pthread_create

2011-05-15 Thread Bart Van Assche
On Sun, May 15, 2011 at 10:26 AM, William wrote: >I develop my project using the net-snmp 5.4.2.1,with cross-tools > arm-linux-gcc. >After I configure ,make ,and make install. > >It works well when I snmpget/snmpset the sysUpTime etc.. >When I start the snmpd service: >#snmpd

Re: Windows 7 and net-snmp configuration

2011-06-07 Thread Bart Van Assche
2011/6/6 "Oliver Schaumüller" > I have downloaded ucd-snmp-4.2.3-win32 and unpacked it. I found in the > subdirectory ucd-snmp-4.2.3-win32\usr\bin the *.exe files and in > ucd-snmp-4.2.3-win32\usr\mibs the mib files. > > What I can't find are the snmpd.conf, the snmp.conf and the > snmp.local.con

Re: Windows 7 and net-snmp configuration

2011-06-08 Thread Bart Van Assche
On Wed, Jun 8, 2011 at 2:16 PM, wrote: > Original-Nachricht > > Datum: Tue, 7 Jun 2011 12:05:16 +0200 > > Von: Bart Van Assche > > An: "Oliver Schaumüller" > > CC: net-snmp-users@lists.sourceforge.net > > Betreff: Re: Windows

Re: vista/cygwin netsnmp 5.7 install fails using --with-out-mib-modules=examples

2011-07-06 Thread Bart Van Assche
On Mon, Jul 4, 2011 at 5:38 PM, Lee wrote: > Install of netsnmp 5.7 on Windows Vista using Cygwin fails with > ... > making install in /source/net-snmp-5.7/man > make[1]: Entering directory `/source/net-snmp-5.7/man' > make[1]: *** No rule to make target `../sedscript', needed by > `snmpbulkget.

Re: 5.7 "Cannot find module" (SNMPv2-SMI), etc.

2011-07-08 Thread Bart Van Assche
On Thu, Jul 7, 2011 at 12:06 PM, Stuart Henderson wrote: > I'm updating the OpenBSD port of Net-SNMP to 5.7 and seeing some errors > relating to problems loading mibs that weren't happening in 5.6.1.1. > Can anyone give me suggestions as to where to look next please? Thanks. > Have you checked th

Re: Seems that I found bugs related to stash_cashe in 5.7...

2011-07-25 Thread Bart Van Assche
On Thu, Jul 21, 2011 at 11:23 AM, Ivo Faldini < ivo.fald...@teledata-networks.com> wrote: > ** > > > I'll be very brief. I'm a newbie in NET-SNMP, so I'm informing > you about problematic issues I found in the package that it may be bugs):* > *** > > *injectHandler stash_cache TABLE ta

Re: Seems that I found bugs related to stash_cashe in 5.7...

2011-07-26 Thread Bart Van Assche
On Tue, Jul 26, 2011 at 11:08 AM, Ivo Faldini < ivo.fald...@teledata-networks.com> wrote: > ** > The first and immediate fix is to: > > #define NETSNMP_FEATURE_HAS_STASH_CACHE > > In a place that all_helpers.c will see it > That's wrong because that would break the configure option --enable-m

Re: coredump on redhat 64-bit

2011-07-27 Thread Bart Van Assche
On Wed, Jul 27, 2011 at 2:13 PM, Erwin De Guzman wrote: > It actually fails at malloc(sizeof(netsnmp_variable_list)), did anyone > experienced this kind of problem in 64-bit platform ? What can I do resolve > this issue ? > The first step is to find the cause of this issue, which is most likely m

Re: Seems that I found bugs related to stash_cashe in 5.7...

2011-07-27 Thread Bart Van Assche
On Wed, Jul 27, 2011 at 4:02 PM, Joan Landry < joan.lan...@overturenetworks.com> wrote: > I was installing the patch listed in the email below and wanted to verify > the following: > > It possibly looks like the following line should be ifndef instead of > ifdef? > > ** ** > > +++ b/agent/mib

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 12:05 AM, wrote: > While I am able to buidl and exeucte net-snmp, but I have the following > issues/observations: > > 1. I am trying to use the exact same working AgentX code under Windows > that tests and works under Linux, but connecting to the agent fails. There must

Re: rare crash with

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 11:01 AM, Rudy Gevaert wrote: > I'm using Debian squeeze 64bit with snmpd 5.4.3~dfsg-2. > > On this system I'm running several Cyrus IMAP server instances. Every > cyrus instances is started to connect to a snmp agentx: > > snmp 7292 0.0 0.0 51596 4096 ?S

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 12:05 AM, wrote: > 3. While I have Active Perl installed, the build.bat process when > specifying Perl install fails. > With which ActivePerl version and which Visual Studio version did this happen ? Also, what is the first error message reported in win32/perlmake.out ? I

Re: rare crash with

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 2:53 PM, Rudy Gevaert wrote: > On 08/01/2011 12:45 PM, Bart Van Assche wrote: > >> Has this issue already been analyzed with Valgrind ? >> > > I only ran gdb attached to the cyrus master daemon to get a backtrace. > I haven't got any experi

Re: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 2:55 PM, wrote: > NetSNMP.def : error LNK2001: unresolved external symbol > boot_Bundle__NetSNMP > Does removing perl/NetSNMP.xs before you start build.bat help ? Bart. -- Got Input? Slashdot Ne

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 4:15 PM, wrote: > Thanks for the quick response. It looks like it has built now. What was the > perl/NetSNMP.xs file doing that caused it not to build? > I'm not sure what that file should be doing. But you won't miss it, as you can see in that file: $ cat perl/NetSNMP.xs

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 6:26 PM, Bob ONeil wrote: > All applications indicate at load several MIBs that it can't loaded > (attached screenshots). > There is a regression in Net-SNMP with regard to MIB loading in version 5.7 compared to 5.6 - please use the source code from git:// net-snmp.git.sou

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-02 Thread Bart Van Assche
On Tue, Aug 2, 2011 at 10:05 AM, wrote: > Can you repost the link to * > net-snmp.git.sourceforge.net/gitroot/net-snmp/V5-7-patches*as > it seems to be broken. > What I meant is that you have to clone the repo *git:// net-snmp.g

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-02 Thread Bart Van Assche
On Tue, Aug 2, 2011 at 3:32 PM, wrote: > Thanks again.I've installed git and Tortoise git on my pc and attempted to > clone the repository. Howeve I always get this error: > > git.exe clone --progress -v "git:// > net-snmp.git.sourceforge.net/gitroot/net-snmp/net-snmp" > "C:\cloned_net_snmp" >

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-03 Thread Bart Van Assche
On Wed, Aug 3, 2011 at 2:48 PM, wrote: > I also tried building an earlier version (5.5.1) but again when I try to > build with embedded perl the perl tests cause the build process to crash > resulting in no installation occurring. I could however build OK without > embedded Perl, and execute with

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-04 Thread Bart Van Assche
On Thu, Aug 4, 2011 at 10:44 AM, wrote: > R:\cots\net-snmp\net-snmp-5.7\include\net-snmp/library/snmp_transport.h(74) > : error C2079: 'sin6' uses undefined struct 'sockaddr_in6' > That' because the Perl headers are included first in the Net-SNMP Perl modules and because in these headers _WIN32

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-04 Thread Bart Van Assche
On Thu, Aug 4, 2011 at 3:50 PM, wrote: > I've applied the patch manually but it doesn't seem to make any difference. > I've still got the same errors. > The Perl modules on the 5.7 branch build fine here with IPv6 support enabled. And I know only one cause for the "error C2079: 'sin6' uses undef

Re: Running snmp agent as a thread

2011-08-05 Thread Bart Van Assche
On Fri, Aug 5, 2011 at 9:14 AM, jatinder goswami wrote: > I have a requirement to run SNMP Agent as a thread in my application (The > application in running on Linux based embedded system). > > Following are the changes I have done for same: > 1. Modified main() function in agent/snmpd.c to snmp

Re: building 64-bit Windows executables for Net-SNMP

2011-08-08 Thread Bart Van Assche
On Sun, Aug 7, 2011 at 8:15 AM, premini francis wrote: > Am new to the usage of netsnmp. so i need to download 64 bit netsnmp. I > tried downloading net-snmp 5.7 zip from > http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.7-binaries/ > . > but I couldn't find any .exe file. H

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 6:05 PM, wrote: > Free to wrong pool 2377e8 not fdfdfdfd at ..\blib\lib/NetSNMP/OID.pm line > 31. > The patch below should fix the above issue: diff --git a/include/net-snmp/library/tools.h b/include/net-snmp/library/tools.h index 39e661c..24a18b0 100644 --- a/include/net

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Bart Van Assche
Bart Van Assche. On Mon, Aug 8, 2011 at 5:30 PM, wrote: > Applying the patch causes the following compilation failure: > > [ ... ] > ..\..\agent\agent_handler.c(120) : error C3872: '0xa0': this character is > not allowed in an identifier > Apparently my e-mail clien

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Bart Van Assche
On Mon, Aug 8, 2011 at 5:02 PM, wrote: > I then try to run snmpd.exe -V with the disablePerl true option set in the > snmpd.conf file. This gives a warning suggesting that embedded perl is not > enabled. How do I know if embedded perl has been enabled and what embedded > perl modules should be in

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 11:23 AM, wrote: > My understanding is that "embedding Perl in Net-SNMP" are the Perk SNMP > Extension modules from the CPAN website. Ideally I would have liked to have > used these, I hadn't realised they had not been ported to Windows. > The Perl SNMP Extension modules f

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 9:55 AM, wrote: > # Failed test 1 in t/async.t at line 19 > # t/async.t line 19 is: for (my $i=1;$i <= 20; $i++) { > # Failed test 2 in t/async.t at line 19 fail #2 > # Failed test 3 in t/async.t at line 19 fail #3 > # Failed test 4 in t/async.t at line 19 fail #4 > t/as

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 12:51 PM, wrote: > What exactly is "embedding Perl in Net-SNMP" if it's not the Perl Extension > files from CPAN? > Adding Perl statements in snmpd.conf such that the Perl code is run from inside the snmpd agent process. For more information, see also http://www.net-snmp.o

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 3:02 PM, wrote: > Looks like my understanding was wrong. > > Is it possible to use Perl to implement my agent on windows (using the CPAN > Perl modules), without porting "embedding Perl in Net-SNMP" ? > I'm not sure that's possible. I'm not an expert with regard to the Per

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-11 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 4:07 PM, wrote: > I downloaded and built with the latest 5.7.1 pre release. > > During the Perl tests it no longer crashed the snmpd.exe, however it still > locks up at the same point: The patch below fixes that lockup on my setup: diff --git a/perl/SNMP/SNMP.pm b/perl/SN

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-11 Thread Bart Van Assche
On Thu, Aug 11, 2011 at 3:36 PM, wrote: > Thanks for that. That patch stops the script locking up and completes the > installation. > Thanks for the feedback. A more general patch (that does not assume that the value of a constant is equal to or above -1) has been committed on the v5.7 branch: h

Re: win32 snmptrapd installation and name resolving

2011-08-17 Thread Bart Van Assche
On Tue, Aug 16, 2011 at 11:41 AM, Roland Klein Overmeer [GISS] < roland.klein.overm...@giss.nl> wrote: > I just installed version 5.7 of net-snmp and activated the snmptrapd as a > service. Traps are received and nicely logged to the event log. Only problem > is that the sending ip isn't resolved

Re: win32 snmptrapd installation and name resolving

2011-08-17 Thread Bart Van Assche
On Wed, Aug 17, 2011 at 1:03 PM, Roland Klein Overmeer [GISS] < roland.klein.overm...@giss.nl> wrote: > Thanks for the patch file, but I have no idea on how to apply it. Can you > give me a hint? > The 5.7.1-pre1 source code can be found here: http://sourceforge.net/projects/net-snmp/files/net-sn

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Bart Van Assche
On Thu, Aug 18, 2011 at 11:09 AM, wrote: > I am getting a strange error when running my perl script. > > I am attempting to initialise a Perl CORBA: Orb in order to access the > data to be managed by SNMP (which I can do succesfully using a standalone > perl script) > > Adding the Corba Orb ini

Re: win32 snmptrapd installation and name resolving

2011-08-18 Thread Bart Van Assche
On Thu, Aug 18, 2011 at 1:09 PM, Roland Klein Overmeer [GISS] < roland.klein.overm...@giss.nl> wrote: > After installing GetGnuWin32 I can launch the 'patch' statement, but What > should I put after the patch command? Sorry for this but I am a newbie to > compiling C++ on win32 platform.. > That

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Bart Van Assche
On Thu, Aug 18, 2011 at 1:05 PM, wrote: > I'm trying to understand the release strategy of Net-SNMP. Once 5.7 has > been released, I understand there will be a 5.7.1 release that includes > patches. Looking at the diff file that you have sent these seem to be 5.6 > patches to be merged into 5-7

Re: win32 snmptrapd installation and name resolving

2011-08-19 Thread Bart Van Assche
On Fri, Aug 19, 2011 at 9:43 AM, Roland Klein Overmeer [GISS] < roland.klein.overm...@giss.nl> wrote: > Thank you for that, it seems to do something, but I get this output: > > D:\install\net-snmp-5.7.1.pre1\net-snmp-5.7.1.pre1>patch -p1 < > 0001-CHANGES-Windows-snmptrapd-Make-the-IP-address-to-ho

Re: Net-Snmp Perl modules on Windows

2011-08-19 Thread Bart Van Assche
On Fri, Aug 19, 2011 at 12:11 PM, wrote: > Thanks. The patch seems to have fixed this problem. > Thanks for the feedback. By the way, Wes was so kind to make 5.7.1-pre2 available that includes that Perl patch. See also http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.1-pre-releases/.

<    1   2   3   4   >