Operating System - HP-UX
1832805 Members
3077 Online
110045 Solutions
New Discussion

Re: Hi, I have encountered this problem while patch UX HP502. Please advice

 
cheong
New Member

Hi, I have encountered this problem while patch UX HP502. Please advice

Updare: ERROR: Cannot open source "/dev/update.src": No such device or address (errno=6). Cannot verify the specified source. Change the source specified, or ensure the media is loaded and ready to read.
Review the log fille, /tmp/update.log, by:
1)type "more /tmp/update.log";
2) finding the correct and time heading;
3)Looking for any messages that begin with ERROR or WARNING
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Hi, I have encountered this problem while patch UX HP502. Please advice

You certainly don't give us much to go on.

What patch are you trying to install? What command did you use? What version of HP-UX?

Did you look at the log file? What did it say? If you were using swinstall to install a patch, you can also try looking at /var/adm/sw/swagentd.log or /var/adm/sw/swinstall.log and see if there are any warnings.
cheong
New Member

Re: Hi, I have encountered this problem while patch UX HP502. Please advice

Hi i am installing PHCO_13095 in HP-UX 905 system.

I followed the instructions in the .txt file as below:

1.Copy the patch to your /tmp directory and unshar it:

cd /tmp
cp patch_source/PHSS_9795 .
sh PHSS_9795

2. Become root and run update:

/etc/update [-r [kernel_gen_file]] -s \
/tmp/PHCO_13095.updt PHCO_13095.

however, the above message appears.

Do you need any more infomation at my side?
Dennis Handly
Acclaimed Contributor

Re: Hi, I have encountered this problem while patch UX HP502. Please advice

>2. Become root and run update:

I'm not sure this is it but you didn't by mistake include that "." after the patch name PHCO_13095?

>Patrick: Did you look at the log file?

Good suggestion. Even if this isn't SD.
cheong
New Member

Re: Hi, I have encountered this problem while patch UX HP502. Please advice

Hi,

I didnt take the log back from my customer site, but I had a look at it, it was somehow similar to "Cannot open source "/dev/update.src" ". The log file is important? I can only get it after mid of next week.
Think I did not place the extra "." as u meantioned.
cheong
New Member

Re: Hi, I have encountered this problem while patch UX HP502. Please advice

Hi, after reviewing the log file in /tmp/update.log, I got the following message:

On system "PC1" @(#) Patch-9.X:hpux-rel.0 $Revision:69.215 $
$ Date 95/04/04 16:19:22 $ PHCO_5274

Update: ERROR: Cannot open source "/dev/update.src": No such device or address (errno=6). Cannot verify the specified source. Change the source specified, or ensure the media is loaded and ready to read.
Review the log fille, /tmp/update.log, by:
1)type "more /tmp/update.log";
2) finding the correct and time heading;
3)Looking for any messages that begin with ERROR or WARNING

Anyone can advise me ask to how I can solve the case? Appreaciate alot.
Dennis Handly
Acclaimed Contributor

Re: Hi, I have encountered this problem while patch UX HP502. Please advice

I'm not sure if I ever used update back on 9.x??
I don't know why it thinks it wants /dev/update.src. Does "man update" help with the -s option?

I can't find any web page with a description, only an entry that says it is replaced by swinstall and another that has a stale entry for update(1m) in a index but the page has swinstall.

Of course you can always give up and install the libc patch manually. (long detailed process handwaved away.)

Anyway, I assume you did the following for step 3:
# /etc/update -s /tmp/PHCO_13095.updt PHCO_13095

To check to see if the patch hasn't been corrupted, can you do:
$ cksum PHCO_13095.updt

I get:
2197794334 2918400 PHCO_13095.updt