Re: agent crash when proxying for Squid

2005-05-03 Thread Wes Hardaker
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

Re: agent crash when proxying for Squid

2005-05-03 Thread John Hardin
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

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
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

Re: agent crash when proxying for Squid

2005-05-02 Thread Wes Hardaker
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

Re: agent crash when proxying for Squid

2005-05-02 Thread Wes Hardaker
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) { /* *

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
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)

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
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) {

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
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

agent crash when proxying for Squid

2005-04-29 Thread John Hardin
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