Re: snmpd seg faults on AIX

Fulko Hew <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, Jan 11, 2010 at 10:40 AM, Dave Shield <[email protected]>wrote:

> 2010/1/11 Fulko Hew <[email protected]>:
> > and I'm browsing it using:
> >
> > # ./snmpwalk -cpublic -v1 -M /net-snm-5.5/mibs -mALL localhost:2000 .iso
> >
> > It doesn't get very far down the tree.
> > I see it trying to get ipFragsCreate, and then it faults.
>
>
> > Any clues as to what to try next?
>
>
> Does it return ipFragsCreate.0 or not?
>

Yes it did, it fails on getNext(ipFragsCreate.0)

If not, what happens when you try a GET request on this object?
> If it does, what happens when you try a GET request on the next object?
> (ipAdEntAddr.127.0.0.1)
>

It returns 'noSuch'


> What happens if you start walking shortly after this point?
> Say ipRouteTable?  or ipAdEntTable?
>

It faults on getnext ipRouteTable

I also tried querying the AIX supplied daemon for getnext(ipRouteTable)
to see what entry I should expect to see...
and it returned an entry, so I explictly queried netsnmp for _that_ entry...
get(ipRouteDest.10.40.16.0) and it too segfaults with exactly the same
message.


> Try to pinpoint exactly which object(s) are failing,
> and what does work OK
>

Moving forwards and backwards trying to isolate the bad spot, we see:

snmpwalk   ipFragCreates     -> returns data
snmpwalk   ipAddrTable)      -> fails
snmpwalk   ipRouteTable)     -> fails

snmpwalk   ipNetToMediaTable -> doesn't segfault, the daemon returned a
packet,
                                but 'walk' didn't output anything (sorry, I
have
                                no sniffer available to examine the response
in
                                more detail.)

snmpwalk   ipforward)        -> returns data
snmpwalk   icmp              -> returns data


FYI, when I invoke the daemon it complains about:
nlist err: neither proc nor _proc found.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.