Automate the stage of EBS 12.1.1.1 buildStage.bash and some other prerequisites to 12.1.1.1 install

Do all this as root unix user on a RHEL or clone Linux 6 install – probably works on others dialects / clones of RHEL too.
With EBS 12.2 Oracle has automated the build of a stage environment but,  EBS 12.1 versions don’t provide that function.  So, here’s one way to automate the stage build for EBS 12.1.1
Assuming you have “cd” into the directory where all you 12.1.1.1 zips are located – in my case it is a virtualbox share:

cd /media/sf_ebs-12.1.1-setup
ls -1 | awk ‘{print “unzip -o /media/sf_ebs-12.1.1-setup/” $1 ” -d /u01/StageR12″}’ > buildStage.bash
chmod 775 buildStage.bash
nohup ./buildStage.bash &
cat nohup.out

# show the size of the resulting directory structure – it’s going to get large – you probably need at least 600GB to complete the unzip and then the install to /u01

du -sh /u01/StageR12

# now that that is done – here’s a couple more issues you are likely to run into with EBS 12.1.1.1 install
there is a new version of rapidwiz – download patch

RAPID INSTALL STARTCD 12.1.1.13 (Patch)

unzip it to the stage dir same as the other zips
and you may get an error on unzip – to the affect:

RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported.

mv /usr/bin/unzip /usr/bin/unzip-ver6
put it back when you are done and if you haven’t already

# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
cd /u01/StageR12/startCD/Disk1/rapidwiz/
./rapidwiz

More Miscellaneous Stuff yes – 12.1.1.1 looks like a buggy little release – fortunately there are fixes:
# had to create an /etc/oraInst.loc file with oinstall group as follows to get the db install and file system check to succeed

[root@o66-ebs /]# vi /etc/oraInst.loc
[root@o66-ebs /]# chgrp oinstall /etc/oraInst.loc
[root@o66-ebs /]# cat /etc/oraInst.loc
inventory_loc=/u01/oracle/oraInventory
inst_group=oinstall

# added oracle_home, sid and path as follows to oracle unix user before starting rapidwiz

export ORACLE_HOME=/u01/oracle/VIS/db/tech_st/11.1.0
export ORACLE_SID=VIS
export PATH=$PATH:$ORACLE_HOME/bin

# privs where wrong on the following subs – causing an Oracle DB driver install stoppage during rapidwiz run

cd /u01/oracle/VIS/db/tech_st/11.1.0/appsutil
[root@o66-ebs appsutil]# chmod -R 775 out
[root@o66-ebs appsutil]# chmod -R 775 temp
[root@o66-ebs appsutil]# chmod -R 775 template
[root@o66-ebs appsutil]# pwd

# missing link stopped the http server from starting during the end of the install / check services – fix is shut it all down – create the link to the library that was missing and start it all up – retry the check – voila

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

 
 

Leave a Comment

Scroll to Top