Operating System - HP-UX
1748182 Members
3438 Online
108759 Solutions
New Discussion юеВ

Upgrading HP-UX 11iv2 to 111iv3 fails on cmenu && smdcmd && TUIController

 
SOLVED
Go to solution
Mikko Niskanen_1
Frequent Advisor

Upgrading HP-UX 11iv2 to 111iv3 fails on cmenu && smdcmd && TUIController

Aye, for anyone interested in 11iv2 to 11iv3 upgrade, the Update-UX fails on following:

Facts:
- rx4640 system, root disks internal, LVM'd + mirrored
-source OS version: 11iv2 December 2008 patch bundle
- upgrade target OS version: 11iv3 September 2009 media, all 3 DVD's swcopied to a disk depot /data3/hpux

Symptoms:
- when running update-ux -i -s server:/data3/hpux, it stops with:

# update-ux -i -s server:/data3/hpux


======= Thu Dec 3 16:40:16 EET 2009 BEGIN update-ux


NOTE: Interactive mode has started (-i was specified)
The interactive UI will appear after update preparation steps are
complete. This may take several minutes.
NOTE: Software that is selected by default will automatically be marked,
however the interactive UI software selection screens should still be
analyzed to determine if changes to the selections need to be made.
NOTE: Output 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 the Update-UX product
Current update-ux version: 11.31.21
Source depot update-ux version: 11.31.21
* Installing the SW-GETTOOLS product
* Configuring the SW-GETTOOLS product
* Installing the SD filesets to be used for the update
* Installing the SWM filesets needed to perform OE update
NOTE: Running swm
NOTE: Output is logged to '/var/opt/swm/swm.log'
/opt/swm/transition/bin/swm oeupdate -s server:/data3/hpux -i
* Starting terminal user interface...

======= 12/03/09 16:43:39 EET BEGIN Operating Environment Update
(user=root) (jobid=000003)

/opt/swm/transition/TUI/OEoverview.init:13: command not found: smdcmd
zsh:1: command not found: cmenu
Terminal user interface failed, restart? ([y]/n): n
Terminal user interface failed, restart? ([y]/n): n
ERROR: SWM terminated with errors without rebooting the system. See
/var/opt/swm/swm.log for details.
NOTE: One or more errors encountered. Take appropriate corrective action
and re-run update-ux to complete the update.

======= Thu Dec 3 16:44:27 EET 2009 END update-ux

Okay, these are in /opt/swm/transition/lbin, add to /etc/PATH. Then next issue:

======= Thu Dec 3 16:47:44 EET 2009 BEGIN update-ux


NOTE: Interactive mode has started (-i was specified)
The interactive UI will appear after update preparation steps are
complete. This may take several minutes.
NOTE: Software that is selected by default will automatically be marked,
however the interactive UI software selection screens should still be
analyzed to determine if changes to the selections need to be made.
NOTE: Output 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 the Update-UX product
Current update-ux version: 11.31.21
Source depot update-ux version: 11.31.21
* Installing the SW-GETTOOLS product
* Configuring the SW-GETTOOLS product
* Installing the SD filesets to be used for the update
* Installing the SWM filesets needed to perform OE update
NOTE: Running swm
NOTE: Output is logged to '/var/opt/swm/swm.log'
/opt/swm/transition/bin/swm oeupdate -s server:/data3/hpux -i
* Starting terminal user interface...

======= 12/03/09 16:51:06 EET BEGIN Operating Environment Update
(user=root) (jobid=000004)

/opt/swm/transition/TUI/OEoverview.init:15: command not found: TUIController

Okay, add /opt/swm/transition/TUI to /etc/PATH.

After thesee manual mods, TUI finally started and update-ux proceeded as expected.


5 REPLIES 5
Rita C Workman
Honored Contributor
Solution

Re: Upgrading HP-UX 11iv2 to 111iv3 fails on cmenu && smdcmd && TUIController

Mikko,

Thanks for the info.

We're not updating all things to 11.31 just yet, but I will keep this in my 'future things' should I hit it when we do.

Regards,
Rita

Steven E. Protter
Exalted Contributor

Re: Upgrading HP-UX 11iv2 to 111iv3 fails on cmenu && smdcmd && TUIController

Shalom,

Yet another reason not to use update-ux.

It is not good at updating complex systems.

cold install followed by application re-installation is the way to go.

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
Mikko Niskanen_1
Frequent Advisor

Re: Upgrading HP-UX 11iv2 to 111iv3 fails on cmenu && smdcmd && TUIController

Aye, have heard that elsewhere as well.

However, I did upgrade another rx4640 little over year ago, that went relatively smoothly. These are not overly complex boxes, so I'm currently keeping fingers crossed.
Mikko Niskanen_1
Frequent Advisor

Re: Upgrading HP-UX 11iv2 to 111iv3 fails on cmenu && smdcmd && TUIController

Aye, update went quite nicely after these smallish issues. A few applications needed upgrade afterwards (HP-GCC etc) but on the whole it was successful.
Mikko Niskanen_1
Frequent Advisor

Re: Upgrading HP-UX 11iv2 to 111iv3 fails on cmenu && smdcmd && TUIController

Case closed