Segmentation fault for SNMP query

Kevin Bonner keb at pa.net
Thu Apr 12 16:32:18 CEST 2007


On Thursday 12 April 2007 04:40:47 Milan Holub wrote:
> - when trying to force reload using snmp:
> `snmpset -m /devel/freeradius/cvs/radiusd/mibs/RADIUS-AUTH-SERVER-MIB.txt
> -c verysecret localhost radiusAuthServConfigReset.0 i 2`
> then 1st reload is OK but after then when trying to either run the
> snmp-read query or the snmp-write query radius seems to ignore it.
> * there is no debug activity when running with -X flag and the result of
> the snmp-read query is empty and result of snmp-write query is
> following:
> `snmpset -m /devel/freeradius/cvs/radiusd/mibs/RADIUS-AUTH-SERVER-MIB.txt
> -c verysecret localhost radiusAuthServConfigReset.0 i 2`
> Error in packet.
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object:
> radiusMIB.radiusAuthentication.radiusAuthServMIB.radiusAuthServMIBObjects.r
>adiusAuthServ.radiusAuthServConfigReset.0
>
> Radius itself seems to react on radius packets; only snmp is ignored
> after the snmp-write query. Completely same behaviour is observed when
> doing reload via HUP signal(using my "memory leakage" patch for reload).
>
> Please advise.

Try http://bugs.freeradius.org/show_bug.cgi?id=150

I doubt that patch will still apply cleanly due to the many recent changes.  
I'll see if I can test the CVS head later today and submit a newer patch.

Kevin Bonner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070412/fe4b4d86/attachment.pgp>


More information about the Freeradius-Users mailing list