Accesing a global variable

2006-07-06 Thread Sailaja Banda
Hi ,   I am using Net-SNMP version 5.2.1. I declared some global structure variable in the agent_trap.c and I want to access the same in the mibgroup/test.  In the agent_trap.c I am modifying the variable value. But the changes are not reflected in the mingroup/test module. Could any one suggest

RE: logmatch

2006-07-06 Thread Kevin Zhang
I really need some help with logmatch. Did anyone succeed to make it to work?   Kevin SZ   From: Kevin Zhang Sent: Monday, July 03, 2006 9:42 AM To: 'net-snmp-users@lists.sourceforge.net' Cc: Kevin Zhang Subject: logmatch   I need help with how to configure logmatch, could

RE: 5.3.1.rc2 released

2006-07-06 Thread holger.klaas
> holger wrote: > > Running configure on Linux 2.4.26 i686 gives me the following error: > > > > if-mib/ifXTable/ifXTable > > > ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable./agent/mibgroup/ip-fo > > rw > > ard-mib/inetCidrRouteTable/inetCidrRouteTable.h:225: > > inetCidrRouteTable_data_acces

Problem building net-snmp 5.3.1 rc2 on RHEL4 64bit

2006-07-06 Thread Matt Shields
I'm having a terrible time trying to compile net-snmp-5.3.1.rc2 on RHEL4 64 bit. Below is the last couple lines of the make. Can anyone shed light on this? I do know that /usr/lib/libpopt.so and /usr/lib64/libpopt.so do exist. /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../agent -

Re: Compilation failure of net-SNMP

2006-07-06 Thread Amit Gupta
Hi Thomas, Thanks for your help. I am able to make it run. Actually i have not added the /usr/local/lib in /etc/ld.so.conf and thats why not able to make the perl module even after running ldconfig. Thanx Amit Thomas Anders wrote: > Amit Gupta wrote: > >> [EMAIL PROTECTED] perl]# make test >>

Re: Compilation failure of net-SNMP

2006-07-06 Thread Amit Gupta
Hi Thomas, I have run the make install of netsnmp package. Do i need to do anything else also before make test of perl module. In your reply you said do (make install, ldconfig etc). What all comes in this extra. I have run ldconfig also after seeing this in your reply but still i am getting the

Re: Subagent and Agent Compatibility issues

2006-07-06 Thread Thomas Anders
Srivastava, Namburi (IE10) wrote: > I am trying to run a subagent compiled on 5.3.0.1 version of Net-SNMP on > machine which has Net-SNMP-5.1.4 [...] > I tried the other way around too, running 5.1.4. subagent on a machine > with Net-SNMP-5.3.0.1. Even in this case, I get following error [...] > A

Subagent and Agent Compatibility issues

2006-07-06 Thread Srivastava, Namburi (IE10)
Title: Subagent and Agent Compatibility issues Hi, I am trying to run a subagent compiled on 5.3.0.1 version of Net-SNMP on machine which has Net-SNMP-5.1.4 I get the following error [EMAIL PROTECTED] snmp]#/locadd & [2] 25893 ./locadd: error while loading shared libraries: libnetsnmpa

Re: Compilation failure of net-SNMP

2006-07-06 Thread Thomas Anders
Amit Gupta wrote: > [EMAIL PROTECTED] perl]# make test [...] > `/home/amit/netsnmp/net-snmp-5.1.4/perl/default_store' > PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl > 1..64 > Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' > for module NetSNMP::defa

Re: Compilation failure of net-SNMP

2006-07-06 Thread Amit Gupta
Hi Thomas, Thanks for the response. It works in a new directory without any spaces in it and then it also got installed properly. Now i am facing problem with the perl module. a) I run perl makefile.PL in perl directory and it work fine. b) make also work fine after this. c) now make test is

Re: Compilation failure of net-SNMP

2006-07-06 Thread Thomas Anders
Amit Gupta wrote: > I am newbie to the Net-SNMP. I have download the release 5.1.4 of netsnmp. > When i try to make the Net-SNMP source, it fails and gives the following > error: > > /bin/sh ../libtool --mode=link gcc -o snmpget snmpget.lo -L../snmplib > -L../agent -L../agent/helpers ../snmpli

Compilation failure of net-SNMP

2006-07-06 Thread Amit Gupta
Hi All, I am newbie to the Net-SNMP. I have download the release 5.1.4 of netsnmp. When i try to make the Net-SNMP source, it fails and gives the following error: /bin/sh ../libtool --mode=link gcc -o snmpget snmpget.lo -L../snmplib -L../agent -L../agent/helpers ../snmplib/libnetsnmp.la -lcr

Re: hi. question about snmpd

2006-07-06 Thread Thomas Anders
이정훈 wrote: > -bash-3.00# snmpd -r -f -L -C --rocommunity="private 127.0.0.1" udp:1161 > error on subcontainer '' insert (-1) [...] > error on subcontainer '' insert (-1) > Segmentation fault What net-snmp version are you running? On what platform? What's the output of "net-snmp-config --configure-

hi. question about snmpd

2006-07-06 Thread 이정훈
I don't know why  below error happen help..     -bash-3.00# snmpd -r -f -L -C --rocommunity="private 127.0.0.1" udp:1161error on subcontainer '' insert (-1)error on subcontainer '' insert (-1)error on subcontainer '' insert (-1)error on subcontainer '' insert (-1)error on subcontain

help.. snmpd didn't running !

2006-07-06 Thread 이정훈
  hi.. I am engineer to install net-snmp , I succeed to install  net-snmp , but  I didn't snmpd running   please help     -bash-3.00# snmpd-bash-3.00# ps -ef | grep snmpdroot  2444  1878  0 14:21 pts/1    00:00:00 grep snmpd-bash-3.00#     Does Anyone know  this reason ?