On Mon, 02 May 2005 16:44:37 -0700, John Hardin [EMAIL PROTECTED] said:
John trace: init_agent_snmp_session(): snmp_agent.c, 1244:
John snmp_agent: agent_sesion 0x80f18c0 created
John Segmentation fault
Can you run it in gdb and send us the results of a where call when
it crashes?
# gdb snmpd
Wes Hardaker wrote:
On Mon, 02 May 2005 16:44:37 -0700, John Hardin [EMAIL PROTECTED] said:
John trace: init_agent_snmp_session(): snmp_agent.c, 1244:
John snmp_agent: agent_sesion 0x80f18c0 created
John Segmentation fault
Can you run it in gdb and send us the results of a where call
John Hardin wrote:
I have a system where I set up Net-SNMP to proxy for Squid
(the caching software). Squid is running on the same machine
as Net-SNMP. Its agent is integrated into its cache daemon
and only understands SNMPv1, so I have Squid's agent
listening on 127.0.0.1:3401.
The snmpd.conf
On Mon, 02 May 2005 13:12:47 -0700, John Hardin [EMAIL PROTECTED] said:
John Apparently the BULK-GET received by snmpd is sent to Squid as
John a GET-NEXT with two OIDs. Ethereal reports this:
John Version: 1 (0)
John Community: public
John PDU type: GET-NEXT (1)
John Request Id: 0x60962325
On Mon, 02 May 2005 13:12:47 -0700, John Hardin [EMAIL PROTECTED] said:
John It looks like the agent then segfaults when the snmpbulkget retries.
This code should have been executed in that case. Did you see this
message in your log:
if (request || var) {
/*
*
Wes Hardaker wrote:
On Mon, 02 May 2005 13:12:47 -0700, John Hardin [EMAIL PROTECTED] said:
John Apparently the BULK-GET received by snmpd is sent to Squid as
John a GET-NEXT with two OIDs. Ethereal reports this:
John Version: 1 (0)
John Community: public
John PDU type: GET-NEXT (1)
Wes Hardaker wrote:
On Mon, 02 May 2005 13:12:47 -0700, John Hardin [EMAIL PROTECTED] said:
John It looks like the agent then segfaults when the snmpbulkget retries.
This code should have been executed in that case. Did you see this
message in your log:
if (request || var) {
John Hardin wrote:
Wes Hardaker wrote:
On Mon, 02 May 2005 13:12:47 -0700, John Hardin
[EMAIL PROTECTED] said:
John It looks like the agent then segfaults when the snmpbulkget
retries.
This code should have been executed in that case. Did you see this
message in your log:
if
I have a system where I set up Net-SNMP to proxy for Squid
(the caching software). Squid is running on the same machine
as Net-SNMP. Its agent is integrated into its cache daemon
and only understands SNMPv1, so I have Squid's agent
listening on 127.0.0.1:3401.
The snmpd.conf file I give to the