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 fileSee 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.