[swagentd] ERROR:Remote Procedure Call to a daemon has failed Could not start a management session for...

sábado, 14 de janeiro de 2012

If you see this error message when you are tring remove/install a depot:

ERROR:Remote Procedure Call to a daemon has failed.  Could not start a management session for <target>.   Make sure the host is accessible from the network,  and that its daemon, swagentd, is running. If the daemon is running see the daemon logfile on this target for more information.

it means SD-UX could not contact the daemon program on a specific target system. Note that this may occur even if you haven’t specified any targets, for example, if the daemon on your local host is not running.

Resolution

If the SD-UX daemon/agent is not installed on a given target system, you must install it before you can use SD-UX.
If you’ve verified that the daemon/agent component has been installed on a target system and you still have trouble contacting it, check to see that the daemon is running:
  1. On the target system, type:
    ps -e | grep swagentd
  2. If the daemon does not appear to be running, you can start it by typing (as root on the target system):
    /usr/sbin/swagentd
  3. If you attempt to start a daemon when one is already running, you will see a message about the other daemon; this is harmless.
    You can also kill and restart a currently running daemon by typing:
    /usr/sbin/swagentd -r