1753507 Members
5188 Online
108795 Solutions
New Discussion юеВ

HP-UX Upgrade issue

 
SOLVED
Go to solution
Mangesh Panche
Occasional Contributor

HP-UX Upgrade issue

While upgrading from HP-UX 11.11 to 11.23 from the DVD using update-ux command, I am getting following error. Can someone help me with this issue.

---------------------------------------------
# update-ux -s /SD_CDROM HPUX11i-OE
======= Mon Dec 20 19:34:33 IST 2004 BEGIN update-ux
NOTE: All output that scrolls by on the screen is logged to
'/var/adm/sw/update-ux.log'

NOTE: Progress of the software installation can be monitored more closely
by opening another window and entering the command:

'tail -f /var/adm/sw/swagent.log'
* Obtaining some information from the source depot.
* Copying an SD agent from the source depot
ERROR: 'cp -f /var/adm/sw/tmp/update-ux/SWDIST.depot/SW-DIST/SD-AGENT/usr/lbin/swagent
/var/adm/sw/tmp/update-ux' failed, output follows:
cp: cannot access /var/adm/sw/tmp/update-ux/SWDIST.depot/SW-DIST/SD-AGENT/usr/lbin/swagent: No such file or directory

NOTE: One or more errors encountered. Take appropriate corrective action
and re-run update-ux to complete the update.

======= Mon Dec 20 19:34:53 IST 2004 END update-ux

#
--------------------------------------------

 

P.S. This thread has been moved from HP-UX Technical Documentation to HP-UX > sysadmin. -HP Forum Moderator

6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: HP-UX Upgrade issue

Hi,

Could you check if there is more information in the /var/adm/sw/swagent.log file ?

Regards,
Robert-Jan
Mangesh Panche
Occasional Contributor

Re: HP-UX Upgrade issue

The swagent.log file has only one message
* Agent session started for user.
Cheryl Griffin
Honored Contributor
Solution

Re: HP-UX Upgrade issue

Did you install update-ux from the dvd to the system with:
# swinstall -s /SD_CDROM Update-UX

then
# /usr/sbin/update-ux -s /SD_CDROM HPUX11i-OE
"Downtime is a Crime."
Mangesh Panche
Occasional Contributor

Re: HP-UX Upgrade issue

Hi Cherryl,

After installing update-ux from the dvd the earlier error disappeared, but I am getting following error.

Thanks,
Mangesh

# /usr/sbin/update-ux -s /SD_CDROM HPUX11i-OE

======= Tue Dec 21 18:30:09 IST 2004 BEGIN update-ux

NOTE: Progress of the software installation can be monitored more closely
by opening another window and entering the command:
'tail -f /var/adm/sw/swagent.log'
NOTE: All output that scrolls by on the screen is logged to
'/var/adm/sw/update-ux.log'
* Obtaining some information from the source depot.
* Copying an SD agent from the source depot
* Installing update-ux from the source depot
Current update-ux version: 11.11.86
Source depot update-ux version: 11.11.86
* Installing and running Pre-Update scripts
Executing pre-update script update_ok.001
ERROR: Updating from a higher-level OE to lower-level OE is not support.
ERROR: Pre-Update script update_ok.001 failed.
NOTE: One or more errors encountered. Take appropriate corrective action
and re-run update-ux to complete the update.

======= Tue Dec 21 18:34:32 IST 2004 END update-ux
Cheryl Griffin
Honored Contributor

Re: HP-UX Upgrade issue

Check what OE you have installed. The fail message states "ERROR: Updating from a higher-level OE to lower-level OE is not support."
# swlist |grep -i hpux11i-oe

Are you specifying the right environment? You may need to correct this command:
# /usr/sbin/update-ux -s /SD_CDROM {specify correct OE here}
"Downtime is a Crime."
Mangesh Panche
Occasional Contributor

Re: HP-UX Upgrade issue

Thanks Cheryl. This has solved my problem and I am able to upgrade the OS.