On Mon, 2006-01-30 at 16:32 -0500, [EMAIL PROTECTED] wrote: > I have an application based on Net-SNMP v5.2 which I build for PPC and > Arm. On PPC it works fine. On Arm [it] gives > > GetSysValues: Too Long > > in the log. Can someone help me understand what that's about?
$ less snmplib/snmp_api.c : /* * Make sure we don't send something that is bigger than * the msgMaxSize specified in the received PDU. */ if (session->sndMsgMaxSize != 0 && length > session->sndMsgMaxSize) { DEBUGMSGTL(("sess_async_send", "length of packet (%lu) exceeds session maximum (% lu)\n", length, session->sndMsgMaxSize)); session->s_snmp_errno = SNMPERR_TOO_LONG; SNMP_FREE(pktbuf); return 0; } : $ less snmplib/snmpusm.c : /* * msgPrivacyParameters (warning: assumes DES salt). */ rc = asn_realloc_rbuild_string(....); DEBUGINDENTLESS(); if (rc == 0) { DEBUGMSGTL(("usm", "building privParams failed.\n")); usm_free_usmStateReference(secStateRef); return SNMPERR_TOO_LONG; } // and similar Try running with '-Dsess_async_send,usm" to pin down exactly what is throwing this particular error. Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users