When the NIM Master is configured, two port numbers are selected to be used by the nimesis daemon for client communications. The default port numbers are 1058 and 1059. If either port is taken by another application, the nimesis daemon will not run and nimclient commands will fail with an error similar to the following:
0042-006 nimclient: (To master) rcmd connection refused
If the nimesis daemon cannot be started, it may be necessary to stop the other applicants on the system to free the port.
Rebooting the system will usually eliminate the problem, because when a machine is booted, the nimesis daemon is started very early by init and the likelihood that the ports are taken will be very small.