HP 5187-2725 ユーザーズマニュアル
Updating to HP-UX 11i v2
Updating Tips
Chapter 6
97
Updating Tips
During an update process, here are some tips and recommendations:
Monitoring the Update Process
If you wish to view the update process in detail, open another terminal
window (drag it aside so you can also watch for any messages on the
window running
window (drag it aside so you can also watch for any messages on the
window running
update-ux
) and use the
tail
command to view
swinstall
messages being logged:
tail -f /var/adm/sw/swagent.log
You may also wish to log all messages directed to the console by using
the
the
script
command. For example, to log all messages into a file named:
/tmp/updateOS
, enter:
script -a /tmp/updateOS
To halt the
script
log process, enter:
exit
Running Other Commands
You can run other commands during an update, such as viewing files and
tail
. However, do not run other Software Distributor commands during
an update; doing so may cause the commands to function improperly.
In Case of Trouble
If you encounter a problem during the update process, review
Appendix B, “Known Problems and Troubleshooting,” on page 145 for
possible solutions.
Appendix B, “Known Problems and Troubleshooting,” on page 145 for
possible solutions.
The
update-ux
command returns an error value when it is not
successful:
1 - Error during execution; update aborted.
2 - Update aborted via user action (-n or keyboard press)
Messages are recorded in
/var/adm/sw/swagent.log
,
/var/adm/sw/swinstall.log
, and
/var/adm/sw/update-ux.log
.
When updating Ignite-UX, also look at its log in
/var/adm/sw/
.