Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Installing 10g using a shell script.....
Hi Everyone,
We are going to install 10g via batch mode on our servers. Basically we will have a shell script to install the 10g software and upgrade the database.
During our testing we noticed something, when the installer runs, the script does not wait for the installer to finish......it continues running???
I would think that it would wait for the command to complete.........
Below is a clip of the script.......can anyone offer any suggestions on how to make the script wait until the installer completes???
### This section will upgrade the database from 9i to 10g ###
cd $ORAEXP
cp /ora2/app/oracle/product/10g/rdbms/admin/utlu102i.sql .
### Run Pre-Upgrade Information Tool ###
printf "Running Pre-Upgrade Information Tool......"
sleep 5
sqlplus /nolog <<EOF
connect / as sysdba
SPOOL info.log
@utlu102i.sql
SPOOL OFF
SHUTDOWN IMMEDIATE
exit
EOF
Received on Thu Nov 09 2006 - 10:18:31 CST
![]() |
![]() |