Thanks- Problem creating SNMP++ session

UNGUREANU, WALTER walter.ungureanu____bell.ca
Fri Jun 16 22:06:43 CEST 2000


Changing the port number seemed to do the trick.

Majdi Abuelbassal wrote:

> - Check if the port 161 is already used by another process (netstat -an |
> grep 161)
> - Or if you are trying to run it as a regular user you need to specify a
> port number > 1024.
>
> majdi
>
> -----Original Message-----
> From: UNGUREANU, WALTER [mailto:walter.ungureanu____bell.ca]
> Sent: Wednesday, June 14, 2000 4:48 PM
> To: Agent++
> Subject: Problem creating SNMP++ session
>
> Hi,
>
> I'm using Agent++v3.4d with SNMP++ v2.8a on a SOLARIS 2.6 platform.
>
> When I execute my agent I get the following run-time error:
> "SNMP++: Transport operation failed"
>
> Using a debugger I tracked the error to the line of code that creates the
> SNMP++ session:
>
> Snmpx snmp(status, port);
>
> The port value is 161 and  status != SNMP_CLASS_SUCCESS.
>
> I'd appreciate any feeddback.
>
> --
> Walter Ungureanu
> Progressive Solutions
> Bell Canada - Technology
> Phone: (416) 215-3186
> mailto:Walter.Ungureanu at bell.ca

--
Walter Ungureanu
Progressive Solutions
Bell Canada - Technology
Phone: (416) 215-3186
mailto:Walter.Ungureanu____bell.ca





More information about the AGENTPP mailing list