Operating System - HP-UX
1833385 Members
3531 Online
110052 Solutions
New Discussion

Patches will not load keep getting errors.

 
Sean Kuruvilla
Advisor

Patches will not load keep getting errors.

For some reason I am not able to load patches on my hp server. I keep getting errors in the swvarify.

Below I have pasted the error message:
ERROR: Could not access remote file "/sbin/pax" in software item
"PHCO_20388.PHCO_20388,r=B.10.00.00.AA,a=HP-UX_B.10.20_700/800,v=HP"
due to an internal error on the remote system.
ERROR: Failed copying fileset
"PHCO_20388.PHCO_20388,r=B.10.00.00.AA". Check the above
output for details.
* Retry number 1 of 1 for loading files for fileset
"PHCO_20388.PHCO_20388,r=B.10.00.00.AA".
* Copying fileset "PHCO_20388.PHCO_20388,r=B.10.00.00.AA" (1 of
1).
ERROR: Could not access remote file "/sbin/pax" in software item
"PHCO_20388.PHCO_20388,r=B.10.00.00.AA,a=HP-UX_B.10.20_700/800,v=HP"
due to an internal error on the remote system.
ERROR: Failed copying fileset
"PHCO_20388.PHCO_20388,r=B.10.00.00.AA". Check the above
output for details.

Does anyone know what the problem is?
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: Patches will not load keep getting errors.

Did you transfer the depot using ftp (possibly using a windows host)?

Looks like a corrupted source file.

Where did you get it?
You are still using 10.20?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Mel Burslan
Honored Contributor

Re: Patches will not load keep getting errors.

it would help to diagnose the problem if you have included how you are trying ot load these patches to your machine.

are you installing them from a depot on a remote host ?

are you using command line swinstall or are you using gui/tui interface ?

if the patches depot is residing on a remote host, is the depot registered properly over there ?
________________________________
UNIX because I majored in cryptology...
Sean Kuruvilla
Advisor

Re: Patches will not load keep getting errors.

I am sorry let me explaine this beter. I am trying to patch a HP-ux 11.0.b server. I have tried downloading the patch to a Windows box and then uploading the patches. That didn't work. Then I tried uploading the patches using the FTP option, where you download the script to automatically download, but then I got this error that is pasted below. WHat I need to know what other options or what steps I am I doing worng. How can I get my server up to date.

======= 08/14/06 15:39:16 EDT BEGIN copy AGENT SESSION ()

* Agent session started for user "root". ()

* Beginning Analysis Phase.
* Source: sfhpuxts:/viv/patches/PHSS_30477.depot
* Target: sfhpuxts:/viv/patches/depot
* Target logfile: sfhpuxts:/viv/patches/depot/swagent.log
* Reading source for product information.
NOTE: The filesystems in the filesystem table will not be checked
against those currently mounted because the
"mount_all_filesystems" option is set to "false".
* Reading source for file information.
NOTE: The used disk space on filesystem "/" is estimated to increase
by 288 Kbytes.
This will leave 101618 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Copy Execution Phase.
* Filesets: 1
* Files: 2
* Kbytes: 553
* Copying fileset "PHSS_30477.MKFONTDIR,r=1.0" (1 of 1).
ERROR: Could not access remote file "/usr/bin/X11/mkfontdir" in
software item
"PHSS_30477.MKFONTDIR,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.00_32/64"
due to an internal error on the remote system.
ERROR: Failed copying fileset "PHSS_30477.MKFONTDIR,r=1.0". Check
the above output for details.
* Retry number 1 of 1 for loading files for fileset
"PHSS_30477.MKFONTDIR,r=1.0".
* Copying fileset "PHSS_30477.MKFONTDIR,r=1.0" (1 of 1).
ERROR: Could not access remote file "/usr/bin/X11/mkfontdir" in
software item
"PHSS_30477.MKFONTDIR,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.00_32/64"
due to an internal error on the remote system.
ERROR: Failed copying fileset "PHSS_30477.MKFONTDIR,r=1.0". Check
the above output for details.
NOTE: The Copy Phase has suspended. Check the above output for
reasons.


Steven E. Protter
Exalted Contributor

Re: Patches will not load keep getting errors.

Shalom,

You probably trashed the patch set by using an ascii ftp upload to put it on your HP-9000 server.

You must download the patch set again.

Options:
1) ftp script run on the hp-9000 server, avoids issues with stupid ftp clients.
2) Use and sftp client(openssh) to transfer files from windows to HP-9000 server.

There are other options but these will do.

I'm giving a detailed lecture on this very exciting topic at HP Technology World in Houston. If you come, have questions.

One other thing. The original error message looks like you are trying to patch a 11.00 machine with 10.20 patches. I don't think thats going to work either.

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
Mel Burslan
Honored Contributor

Re: Patches will not load keep getting errors.

could you please post the output of

nslookup sfhpuxts

and please make sure you include the whole output, not just the ip address line.

also make sure in your /etc/hosts file, 127.0.0.1 has the word "localhost" next to it not the actual server name. I have seen this mistake before, throwing system into a unnown state when it comes to self address resolution.

It sounds like your depot server and server to be patched are the same server and there is a remote access problem, which reminds me an address resolution issue.
________________________________
UNIX because I majored in cryptology...
Torsten.
Acclaimed Contributor

Re: Patches will not load keep getting errors.

OK, we moved from a 10.20 pax patch to a 11.00 X11 Font Library Patch now.

Anyway, be aware windows identifies files by the extension and doesn't know something like "*.depot". The ftp transfer is using ascii mode and this will corrupt the source file. This is the reason for the error.
Make sure to set the transfer mode to "bin".

I'm still not sure what you are going to do...


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Prashanth.D.S
Honored Contributor

Re: Patches will not load keep getting errors.

Hi Sean,

The problem may be due to the corrupt /var/adm/sw/products/INDEX

Can be solved by:

1. Login as root.

2. cd /var/adm/sw/products

3. mv /var/admin/sw/products/INDEX /tmp/INDEX

4. vi void.psf

5. Add the following lines to void.psf

product
tag void
fileset
tag void

6. swpackage -s ./void.psf

7. swinstall void

8. swremove void ; rm void.psf ; swremove -d void

Best Regards,
Prashanth

Sean Kuruvilla
Advisor

Re: Patches will not load keep getting errors.

Thank you all, very much for all your help. I have found out that our box is having space issues right now and needs that addressed first before I can apply the last patch.