Software Distributor Administration Guide for HP-UX 11i
Troubleshooting
Common Problems
Appendix B 465
Cannot Contact Target Host’s Daemon or Agent
If you see the following error message:
ERROR: Could not contact host <hostname>. Make sure the
hostname is correct.
it means that the hostname you specified could not be found in the hosts
database. Make sure you have typed the hostname correctly (you can use
the nslookup command to verify hostnames). If the target hostname is
not in the hosts database, but you know its network address, you can use
it (in standard “dot” notation) in place of the hostname.
If you see this error message:
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