Operating System - HP-UX
1837523 Members
3961 Online
110117 Solutions
New Discussion

Re: Patches, patches, patches

 
SOLVED
Go to solution
Support_33
New Member

Patches, patches, patches

Hi there,
a relative novice to the whole HP-UX scene here who has the pleasant task of updating HP-UX 11 on an L class server. I have downloaded the HWE patch on to my PC and now I need to get it on to the server. They are not connected to the same network and somehow I don't think Nero CDROM burning software is going to help me much! Any ideas....please!!!
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: Patches, patches, patches

If the HP machine has Internet access and X install mozilla 1.4 http://www.software.hp.com/ and download the hwe directly to the HP box.

Even if they are on different networks, you can try ftp ascii. If the networks are routed, you might have it work.

If you have access to a common server in your organiztion that both machines can reach ftp to that server ascii and then download it from there to the hp box.

You could on a tape backup create a common tar file using winzip and that might be readable by a tape drive of the same format on the other machine.

Best bet is my first suggestion though. Thats how i do it.

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
Juergen Tappe
Valued Contributor

Re: Patches, patches, patches

Hi,

3 Ideas:

1. If your Unix Server has Internet Access you can try to ftp the HWE Bundle directly to it.

2. Even if your PC and the Server are on different subnets a network connection is normally prossible.
Try tracert on your PC.
If this is a success you should be able to ftp the file. (Dont forget to set up the "bin" command)

3. It works with Nero - you have to play a bit with the ISO and Joliet Options and try to mount the CD(s) to the unix server.
Sorry but I cannot remember the exact option you need.
Possible you have to burn several CDs until you found the correct option within Nero.

hopy this helps
Juergen
Working together
sinhass
Regular Advisor

Re: Patches, patches, patches

from pc side c:\>tracert server
if alright then ftp the file to the server. or u can use several free ftp client software in the internet, u can use those also from ur pc.

-sinhass
Bill Hassell
Honored Contributor
Solution

Re: Patches, patches, patches

Since the HWE patch set is a single file, just rename the downloaded file to something like hwe.tar (actually, the extension doesn't really matter--unlike Windows, HP-UX doesn't care about suffixes. Then use Nero to drag and drop the one file onto your CD. All the defaults will work just fine since there is only one file and the name is within the 8.3 portability limits. Close the CD (don't leave it open for appending) and take it to the HP. Mount it and you'll probably see a name like: HWE.TAR;1 so copy the file to the L-class with:

cp /cdrom/HWE.TAR\;1 /var/tmp/hwe.tar

or whatever target name you'd like to use. Then you can gunzip or un-tar the file (depending on how the HWE package was created) and install away. Issues with PC's and HP-UX CDROMs involve long file names and MiXeDcAsE filenames so this shortname, single file should work fine.


Bill Hassell, sysadmin
Support_33
New Member

Re: Patches, patches, patches

What can I say but thanks! The Unix server is not connected to any network and does not have Internet access (unfortunately) so I'll try Nero again once I have renamed the file. Thanks again to everyone that replied......it's nice to know I am not alone!!

James
Senthil Kumar .A_1
Honored Contributor

Re: Patches, patches, patches

hello support,

how ironic that i sould give support to support.

First i do not know how u preconcieved that the server will not read from the CD written with nero.

write the CD with nero normally.It will write the CD in high sierra format.that is it will write in 8.3;1 format.

then mount the CD on the CD tray of the server.then issue the following commands.
ioscan -funC disk (find the device file to access cdrom)
mkdir /cdrom
mount -o cdcase /dev/dsk/cxdxtx /cdrom

I will bet 100%, it will work.
please acknowledge the if indeed the solved your problem with suitable points....

regards,
Senthil
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Support_33
New Member

Re: Patches, patches, patches

Well I have at least got the compressed HWE patch on to the machine, but it will not expand it. tar returns an error of 'directory checksum error' and gunzip returns with 'unkown suffix'. So it's 1 step forwards followed by a lot of nothing. I beginning to think I should just but the latest revision and be done with it!
Pete Randall
Outstanding Contributor

Re: Patches, patches, patches

Try renaming the file and run gunzip again. I'm guessing you named it HWE.tar - rename it HWE.gz and try the gunzip.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Patches, patches, patches

Actually, I think it should have downloaded as a ".depot". Rename it HWE.depot and run swinstall directly against it:

swinstall -s /full_path_to/HWE.depot



Pete

Pete
Bill Hassell
Honored Contributor

Re: Patches, patches, patches

Problems with downloaded software is fairly common with PCs in the middle. If you used ftp to get the HWE file, the default may be ASCII transfers which will corrupt the tar archive. Make sure that the downloaded file is correct on the PC. You can get a copy of tar for your PC by downloading the Unix utilities package from Microsoft: http://www.microsoft.com/windows/sfu/default.asp

Then run tar to show the table of contents. If it works OK then your file is ready to write to the CD. Unlike Windows, the suffix you use for the file is only for documentation. You'll need to rememeber which format you used to download the HWE package.

Just a note about Nero and Roxio and other CD authoring tools: it is quite easy to create a CD that will cause problems on HP-UX. It is correct that a simple 8.3 name will be OK for files and directories, but long filenames and MiXeDcAsE names will be a problem depending on the rev level of HP-UX and whether you have applied some recent patches. RockRidge, ECMA 168 and POSIX standards have been very commonly supported in Windows but HP-UX has not kept pace until recently.


Bill Hassell, sysadmin
Support_33
New Member

Re: Patches, patches, patches

I am a happy man this morning....IT WORKED! I realised I had downloaded the .zip format, which of course gunzip doesn't support, so I downloaded the .gzip version, ran gunzip, then used tar -xvf and lo and behold all was well. The create_depot did it's thing and swinstall happily verified and installed all the relevant patches. The reboot was successful and the SCSI card that was not recognised is now a claimed device.
Thank you all again, you are wonderful people and have helped to put a smile on my face, which is a good start to a Friday! Have a good weekend everyone....I know I will!!!