Operating System - HP-UX
1833867 Members
2420 Online
110063 Solutions
New Discussion

Re: failed to install patch

 
Rambo_1
Regular Advisor

failed to install patch

Hi all,
I want to install a patch( PHCO_29960) on my host. but after I run the ./create_depot_hp-ux_11 , I see the below "error " message:
DEPOT: /tmp/patch/hpux_800_11.11_PHCO_29960/depot
BUNDLE: BUNDLE
TITLE: Patch Bundle
UNSHAR: y
PSF: depot.psf
Expanding patch shar files...
x - PHCO_29960.text
x - PHCO_29960.depot [non-ascii]
list of SD installable patches = PHCO_29960
Copying PHCO_29960 into depot /tmp/patch/hpux_800_11.11_PHCO_29960/depot

======= 12/03/04 11:20:28 EAT BEGIN swcopy SESSION (non-interactive)
(jobid=msglnan-0028)

* Session started for user "root@msglnan".

* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 12/03/04
11:21:03 EAT
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for
"msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot". Make
sure the host is accessible from the network, and that its
daemon, swagentd, is running.
* Target connection failed for
"msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".
ERROR: More information may be found in the daemon logfile on this
target (default location is msglnan:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 12/03/04 11:21:03 EAT END swcopy SESSION (non-interactive)
(jobid=msglnan-0028)

ERROR: Could not swcopy PHCO_29960 into depot.


Thanks for your help
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: failed to install patch

If this is a command line install, I need to see the command line to properly assist.

/sbin/init.d/swagentd -r

restart the daemon for swagent.

Also look at this file:
/var/adm/sw/swagentd.log

After restarting swagentd daemon, please try the installation again.

Also if this is an swcopy command, it could by a syntax error. An itrc search for swcopy will yeild you hundreds of posts that can assist in this case.

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
Rambo_1
Regular Advisor

Re: failed to install patch


======= 12/03/04 12:26:49 EAT BEGIN swverify SESSION
(non-interactive) (jobid=msglnan-0044)

* Session started for user "root@msglnan".

* Beginning Selection
* Target connection succeeded for
"msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".
* Software selections:
BUNDLE,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP
PHCO_29960.C-MIN-32ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.C-MIN-64ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.CORE-64SLIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.CORE-SHLIBS,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.PAUX-ENG-A-MAN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swverify.last".
* "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": There
will be no attempt to mount filesystems that appear in the
filesystem table.
ERROR: "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": 1
software selection(s) are corrupt.
* The analysis phase failed for
"msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".
* Verification had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log msglnan-0044 @
msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".

======= 12/03/04 12:26:49 EAT END swverify SESSION (non-interactive)
(jobid=msglnan-0044)

ERROR: swverify of depot failed.
ERROR: Errors were found while building depot.
msglnan#[/tmp/patch/hpux_800_11.11_PHCO_29960]


thanks a lot...
Rambo_1
Regular Advisor

Re: failed to install patch

so sorry for the above mistake!

Hi Steven
I try again after I issued the command "/sbin/init.d/swagentd start " ,still has below ERROR messages:
msglnan#[/tmp/patch/hpux_800_11.11_PHCO_29960]./create_depot_hp-ux_11
DEPOT: /tmp/patch/hpux_800_11.11_PHCO_29960/depot
BUNDLE: BUNDLE
TITLE: Patch Bundle
UNSHAR: y
PSF: depot.psf
Expanding patch shar files...
x - PHCO_29960.text
x - PHCO_29960.depot [non-ascii]
list of SD installable patches = PHCO_29960
Copying PHCO_29960 into depot /tmp/patch/hpux_800_11.11_PHCO_29960/depot

======= 12/03/04 12:26:46 EAT BEGIN swcopy SESSION (non-interactive)
(jobid=msglnan-0043)

* Session started for user "root@msglnan".

* Beginning Selection
* "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": This
target does not exist and will be created.
* Source:
/tmp/patch/hpux_800_11.11_PHCO_29960/PHCO_29960.depot
* Targets:
msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot
* Software selections:
PHCO_29960.C-MIN-32ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.C-MIN-64ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.CORE-64SLIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.CORE-SHLIBS,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.PAUX-ENG-A-MAN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swcopy.last".
* "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": There
will be no attempt to mount filesystems that appear in the
filesystem table.
ERROR: "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": 1 files
had errors during this operation.
ERROR: "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": 1
filesets had errors.
* The execution phase failed for
"msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".
* Analysis and Execution had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log msglnan-0043 @
msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".

======= 12/03/04 12:26:48 EAT END swcopy SESSION (non-interactive)
(jobid=msglnan-0043)

ERROR: Could not swcopy PHCO_29960 into depot.
Bundling patches in depot

======= 12/03/04 12:26:48 EAT BEGIN swpackage SESSION

* Session started for user "root@msglnan".

* Source: msglnan:depot.psf
* Target:
msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot
* Software selections:
*


* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "depot.psf".
* Reading the bundle "BUNDLE" at line 13.

* Selection Phase succeeded.


* Beginning Analysis Phase.
* Analysis Phase succeeded.


* Beginning Package Phase.

* Packaging the bundle
"BUNDLE,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP".
* Package Phase succeeded.

======= 12/03/04 12:26:49 EAT END swpackage SESSION

Verifying the depot.

======= 12/03/04 12:26:49 EAT BEGIN swverify SESSION
(non-interactive) (jobid=msglnan-0044)

* Session started for user "root@msglnan".

* Beginning Selection
* Target connection succeeded for
"msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".
* Software selections:
BUNDLE,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP
PHCO_29960.C-MIN-32ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.C-MIN-64ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.CORE-64SLIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.CORE-SHLIBS,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHCO_29960.PAUX-ENG-A-MAN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swverify.last".
* "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": There
will be no attempt to mount filesystems that appear in the
filesystem table.
ERROR: "msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot": 1
software selection(s) are corrupt.
* The analysis phase failed for
"msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".
* Verification had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log msglnan-0044 @
msglnan:/tmp/patch/hpux_800_11.11_PHCO_29960/depot".

======= 12/03/04 12:26:49 EAT END swverify SESSION (non-interactive)
(jobid=msglnan-0044)

ERROR: swverify of depot failed.
ERROR: Errors were found while building depot.
msglnan#[/tmp/patch/hpux_800_11.11_PHCO_29960]


thanks a lot...
Rambo_1
Regular Advisor

Re: failed to install patch

Hi Steven
I resolved the problem now
1, # sh PHCO_29960
2, #swintall -s /tmp/PHCO_29960.depot
3, In the installation interactive interface, choose "change option"--> choose"all targets to resolve the source locally " ,and then 'install' .

thanks again for Steven