This is a discussion on Failed smux connection within the SNMP Users forums, part of the Networking and Network Related category; Hi, I am trying to connect Net-SNMP agent using SMUX. Installed net-snmp agent on windows using windows sockets. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I am trying to connect Net-SNMP agent using SMUX. Installed net-snmp agent on windows using windows sockets. Updated the configuration file, =20 snmpd.conf smuxpeer .1.3.6.1.4.1.34 test =20 From the source code, calling the connection as, sp =3D getservbyname ("smux", "tcp"); =20 The returned value is null, the last error is 11004(WSANO_DATA). The connection failed with error 10061(WSAECONNREFUSED). Brief summary on errors below. =20 Do I need to build net-snmp on windows with SMUX enabled? or The binaries downloaded from the net-snmp works as is. =20 Appreciate your help. Thanks, Srini=20 =20 =20 =20 WSANO_DATA 11004=20 Valid name, no data record of requested type.=20 The requested name is valid and was found in the database,=20 but it does not have the correct associated data being resolved for.=20 The usual example for this is a host name-to-address translation attempt = (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS = (Domain Name Server).=20 An MX record is returned but no A record -- indicating the host itself = exists,=20 but is not directly reachable. =20 =20 WSAECONNREFUSED 10061 Connection refused.=20 No connection could be made because the target computer actively refused = it.=20 This usually results from trying to connect to a service that is = inactive on the=20 foreign host -- that is, one with no server application running.=20 =20 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|