Technical article 109228

SCOadmin SNMP Agent Manager fails with "Unexpected error: invalid command name 'WsDestroyDialog'."

OpenServer 5.0.4

Written · Last revised

Problem

Using SCOadmin to configure an SNMP community can result in a TCL error that prevents exiting the configuration window cleanly. After you've selected:

Scoadmin -> Networks -> SNMP Agent Manager -> Edit Community

and then select Cancel or OK, the following error is displayed:

Unexpected error: invalid command name "WsDestroyDialog"

If Modify is then selected for a community, this error message is displayed:

Unexpected error: invalid command name "WsSetFocus"

And again, if either Cancel or OK are selected at this point, the "WsDestroyDialog" error occurs.

The same behavior is also seen if "Traps" or "Peers" is selected from the "Edit" menu of the SCOadmin SNMP Agent Manager.

The only way to exit from this point is to kill the window (by double-clicking on the button in the top left corner) or use the kill(C) command on the scoadmin session.

This is also true if SCOadmin is run in the CHARM interface.

Solution

This issue has fixed in OpenServer 5.0.5.

As a workaround, the SNMP communities, traps, and peers can be configured via the "mkdev snmp" utility.

Alternatively, the snmp configuration files can be edited directly using your favorite editor.

/etc/snmpd.comm  -  SNMP communities file
/etc/snmpd.trap  -  SNMP trap communities file
/etc/snmpd.peers -  SNMP peers file

See the man pages for snmpd.comm(SFF), snmpd.trap(SFF) and snmpd.peers(SFF) for more details on configuring these files.

See also

Chapter 7, "Configuring the Simple Network Management Protocol" in the SCO OpenServer Networking Guide.

From the Xinuos technical article database, record 109228. Reproduced with permission. The original is at www.sco.com/ta/109228, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.