Re: [scli] scli does not appear to function (bug report?)
Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de writes:
Can you please try to use an IPv4 address in dotted notation rather than a host name?
Sure. Precisely the same behavior, I'm afraid:
scli version 0.2.5 (c) 2001 Juergen Schoenwaelder scli > set scli debugging .* scli > open 129.10.116.117 <readcommunitystring> session 10b420: new Trying SNMPv2c ... session 10b420: g_sync_getnext pdu 1037c0 session 10b420: g_sync_send failed to send PDU good! (129.10.116.117) scli > show system info session 10b420: g_sync_getnext pdu 1037c0 session 10b420: g_sync_send failed to send PDU session 10b420: g_sync_getnext pdu 1037c8 session 10b420: g_sync_send failed to send PDU session 10b420: g_sync_getnext pdu 1037d0 session 10b420: g_sync_send failed to send PDU session 10b420: g_sync_getnext pdu 1037d0 session 10b420: g_sync_send failed to send PDU session 10b420: g_sync_getnext pdu 1037d0 session 10b420: g_sync_send failed to send PDU session 107ee0: g_async_getnext pdu 1037e0
Respectfully, David N. Blank-Edelman Director of Technology College of Computer Science Northeastern University
-- !! This message is brought to you via the `scli' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to scli-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/scli/ for more information.
David N Blank-Edelman writes:
David> Sure. Precisely the same behavior, I'm afraid:
Interesting. The message comes from g_sync_send() in snmp/g_session.c and indicates an error return from g_async_send() in the same module. And the only way this can actually happen seems to be in a call of g_setup_address(), which basicaly does a name lookup.
Are you able to use a debugger or run strace/truss to see where it fails? (Obviously, the error reporting in the gsnmp engine can be improved. ;-)
/js -- !! This message is brought to you via the `scli' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to scli-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/scli/ for more information.
participants (2)
-
dnb@ccs.neu.edu
-
Juergen Schoenwaelder