This problem occurs when you have to reallocate disk space. The upgrade_log displays a syntax error in upgrade_script.
Workaround: Perform the following steps:
Find the line that contains "syntax error" in the upgrade script:
/tmp/root/var/sadm/system/logs/upgrade_log |
For example:
syntax error is located at line 3519: `fi' unexpected |
Edit the following file by using vi(1). (Using the vi text editor is recommended because of the size of the file).
/a/var/sadm/system/admin/upgrade_script |
Go to the line containing the syntax error by using the vi(1) command 3519 G.
Look above this line for a fi that is on a line by itself above the line that has the syntax error. This should be located below a log progress statement. For example:
if [ $? = 0 ] ; then chgrp 1 $base/export/root/petrel/etc/rmmount.conf; fi logprogress 4073 none fi <------ This is the extra fi in upgrade_script if [ 4074 -gt $resumecnt ] ; then rm -f ${base}///var/sadm/install_data/CLUSTER rm -f ${base}///var/sadm/system/admin/CLUSTER echo CLUSTER=SUNWCall > ${base}///var/sadm/system/admin/CLUSTER logprogress 4074 none fi |
Remove fi by typing x twice in the vi editor.
Save the following script:
/tmp/root/var/sadm/system/logs/upgrade_log upgrade |
Halt the system by typing:
# halt 0 |
Restart the installation by typing one of the following commands:
OK> boot net |
or
OK> boot cdrom |
Select Upgrade again.
The installation should now complete.