Operating System - HP-UX
1834481 Members
2822 Online
110067 Solutions
New Discussion

i could not install patch to a system

 
王曦_1
Occasional Advisor

i could not install patch to a system

hi expert,
i download patch from itrc,but when i execute the shell "create_depot_hp-ux_11"
, i get the reply as follow,
ERROR: RPC exception: "Communications failure (dce / rpc)" 05/08/03
09:42:05 MDT
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "host01:/tmp/p/depot". Make
sure the host is accessible from the network, and that its
daemon, swagentd, is running.
* Target connection failed for "host01:/tmp/p/depot".
ERROR: More information may be found in the daemon logfile on this
target (default location is
host01:/var/adm/sw/swagentd.log).
* Selection had errors.


what's the message means, i how can i do,

thanks
2 REPLIES 2
Michael Tully
Honored Contributor

Re: i could not install patch to a system

What the message basically means is that it could not communicate with the remote system. This could be that swagentd daemon has a problem, or remote services are not allowed. Try loading the patch on the local system if possible and re-running the procedure. You could also try to restart the swagent daemon on the remote host.

# /usr/sbin/swagentd -r
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: i could not install patch to a system

Correct syntax is

create_depot_hp-ux_11 -d /depot_name

If you look at the script, it runs swcopy, which requires swagent is running.

ps -ef | grep swagent

If you don't get a hit, follow Mr. Tully's instructions. This command should be run on the target system of the command. I can't see in this scenario how it could not be local.

Also, look at the log, for further direction:

/var/adm/sw/swagentd.log

The prior post however does cover the cause of 90% of these problems.

For swagent to run properly the system must have a valild /etc/nsswitch.conf file(HP-UX 11.11(11i)).

If it does not exist..
ll /etc/nssswitch.*

look at them, pick the one that best suits your networking environment, and ...

cp /etc/nsswitch.whichever_is_best /etc/nsswitch.conf

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com