Re: Problem on 64 bit machine

2006-08-23 Thread Dave Shield
On 22/08/06, Sachin Mishra [EMAIL PROTECTED] wrote: Its difficult at this point to upgrade. I will like to know where exactly this value(val_len) is filled. If someone can point to the location in the code, that will be helpful. Which module (and which object) are you talking about? 'val_len'

Re: Problem on 64 bit machine

2006-08-23 Thread Dave Shield
On 23/08/06, Sachin Mishra [EMAIL PROTECTED] wrote: When I am trying to set the value of the object on a 64 bit machine, the requests variable passed in the table_handler function has requests-requestvb-val_len assigned as 8. I want to know why this value is 8 and not 4.

Re: Problem on 64 bit machine

2006-08-23 Thread Sachin Mishra
Thanks Dave. Size of long is 8. Was just curious if I can get the portion of the code where the value is assigned. -Sachin On Wed, 2006-08-23 at 15:19, Dave Shield wrote: On 23/08/06, Sachin Mishra [EMAIL PROTECTED] wrote: When I am trying to set the value of the object on a

Re: Problem on 64 bit machine

2006-08-23 Thread Dave Shield
On 23/08/06, Sachin Mishra [EMAIL PROTECTED] wrote: Thanks Dave. Size of long is 8. Was just curious if I can get the portion of the code where the value is assigned. Ummm... Probably as follows: snmplib/snmp_api.c:snmp_pdu_parse(): lines 4429ff: switch ((short) vp-type) {

Problem on 64 bit machine

2006-08-22 Thread Sachin Mishra
I am running net-snmp 5.3.0.1 on a 64 bit machine. When I try to set any attribute defined as Integer32 data-type in the MIB, the requests var in the handler return the value val_len as 8. Shouldn't this value be 4 (=sizeof(int))? Also, I want to know where does the value of val_len gets set

Re: Problem on 64 bit machine

2006-08-22 Thread Thomas Anders
Sachin Mishra wrote: I am running net-snmp 5.3.0.1 on a 64 bit machine. When I try to set any attribute defined as Integer32 data-type in the MIB, the requests var in the handler return the value val_len as 8. Shouldn't this value be 4 (=sizeof(int))? Also, I want to know where does the

RE: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-29 Thread LIAO, GUANGDENG
:[EMAIL PROTECTED] (BSent: 2005$BG/(J4$B7n(J26$BF|(J 0:45 (BTo: LIAO, GUANGDENG (BCc: net-snmp-users@lists.sourceforge.net (BSubject: Re: Problem on 64 bit machine: Timeout: No response from localhost (B (BOn Fri, 22 Apr 2005 14:17:46 +0800 LIAO, wrote: (BLG The OS environment: RHEL

RE: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-27 Thread LIAO, GUANGDENG
template PDU (B (BWhat happens? (BAny help? (B (B (BThanks (BDanny (B-Original Message- (BFrom: Robert Story [mailto:[EMAIL PROTECTED] (BSent: 2005$BG/(J4$B7n(J26$BF|(J 0:45 (BTo: LIAO, GUANGDENG (BCc: net-snmp-users@lists.sourceforge.net (BSubject: Re: Problem on 64 bit

RE: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-25 Thread LIAO, GUANGDENG
on 64 bit machine: Timeout: No response from localhost (B (BOn Wed, 20 Apr 2005 10:28:00 +0800 LIAO, wrote: (BLG Sorry to forget the environment:( (BLG (BLG NET-SNMP version 5.1.2. (B (BWhat OS? (B (B-- (BNOTE: messages sent directly to me, instead of the lists, will be deleted (B

Re: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-21 Thread Radek Vokál
Latest version of Fedora net-snmp has the following patch which fixes this issue ... Radek On Wed, 2005-04-20 at 10:26 +0800, LIAO, GUANGDENG wrote: Hi all, When I run the command line : snmptable -v1 -c test localhost ip.ipAddrTableon 64bit machine, the result is :Timeout: No response from

Re: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-21 Thread Robert Story
On Thu, 21 Apr 2005 12:59:42 +0200 Radek wrote: RV On Wed, 2005-04-20 at 10:26 +0800, LIAO, GUANGDENG wrote: RV Hi all, RV When I run the command line : snmptable -v1 -c test localhost RV ip.ipAddrTableon 64bit machine, the result is :Timeout: No response from RV localhost. The snmpd is

Re: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-21 Thread Robert Story
Eek, made a cut-n-paste error in my last msg.. On Thu, 21 Apr 2005 13:32:23 -0400 Robert wrote: RS The real problem is that the old api uses snmp_set_var_value, not RS snmp_set_var_value (which is where Radek's patch is), and ^^ should be snmp_varlist_add_variable. It looks

Problem on 64 bit machine: Timeout: No response from localhost

2005-04-20 Thread LIAO, GUANGDENG
Hi all, When I run the command line : snmptable -v1 -c test localhost ip.ipAddrTableon 64bit machine, the result is :Timeout: No response from localhost. The snmpd is running and configuration file is ok. When I try to dig out it, I find the problem is caused in asn_build_int which build the 32

RE: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-20 Thread LIAO, GUANGDENG
Sorry to forget the environment:( (B (BNET-SNMP version 5.1.2. (B (BThanks (BDanny (B (B-Original Message- (BFrom: LIAO, GUANGDENG (BSent: 2005$BG/(J4$B7n(J20$BF|(J 10:26 (BTo: net-snmp-users@lists.sourceforge.net (BCc: LIAO, GUANGDENG (BSubject: Problem on 64 bit