Well I’m skipping over the Linux Install part (for another blog)… and going straight for the Orace EBS stuff.


Note: I ran this install twice – once with a bunch of errors due not having all the pre-reqs in – and a second time after I figured out how to modify the yum.repos.d to find – the oracle package that installs all the pre-reqs in one step…”yum install oracle-ebs-server-R12-preinstall” read on.

One pre-req that is optional and not done by oracle-ebs-server-R12-preinstall:
Pre-req - and this not required - if you have a lot of memory setup huge page files...
Configuration of HugePages for Oracle database on Oracle Linux 6.4
— and lots of other websites out there

Here is my hosts networking stuff

/etc/hosts vision1.localdomain  vision1

Optional prerequisite but a major time saver - yum install oracle-ebs-server-R12-preinstall – this is a minor pain to get this RPM installed but well worth it as it eliminates manual package and other configuration updates

Here is the pain: you can't just do a “yum install oracle-ebs-server-R12-preinstall”.  Yum will come back and say nothing to install.

So before you do this:

yum install oracle-ebs-server-R12-preinstall

Make the following changes to yum.repos.d :

The following are steps needed to install the rpm using public-yum, with sample output from an Oracle Linux 6 installation:

1. As an authorized user (such as root), retrieve the file that configures repository locations:
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo
For Oracle Linux 5, users should replace ‘public-yum-ol6.repo’ with ‘public-yum-el5.repo’ above.

2. Using a text editor, change the field ‘enabled=0’ to ‘enabled=1’ for the repositories corresponding to the machine’s operating system while also enabling the ‘addons’ channel. Here’s an example of a repo file’s entries:

name=Oracle Linux $releasever Latest ($basearch)






name=Oracle Linux $releasever Add ons ($basearch)






name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)





3. Install the rpm for Oracle E-Business Suite by running yum:
# yum install oracle-ebs-server-R12-preinstall
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package oracle-ebs-server-R12-preinstall.x86_64 0:1.0-3.el6 will be installed
–> Processing Dependency: libstdc++-devel for package: oracle-ebs-server-R12-preinstall-1.0-3.el6.x86_64
–> Processing Dependency: libXp(x86-32) for package: oracle-ebs-server-R12-preinstall-1.0-3.el6.x86_64

Transaction Summary
Install 176 Package(s)
Upgrade 11 Package(s)
Total download size: 168 M
Is this ok [y/N]: y
Downloading Packages:

Dependency Updated:
db4.x86_64 0:4.7.25-18.el6_4
db4-utils.x86_64 0:4.7.25-18.el6_4
glib2.x86_64 0:2.26.1-3.el6
glibc.x86_64 0:2.12-1.132.el6
glibc-common.x86_64 0:2.12-1.132.el6
libblkid.x86_64 0:2.17.2-12.14.el6
libgcc.x86_64 0:4.4.7-4.el6
libstdc++.x86_64 0:4.4.7-4.el6
libuuid.x86_64 0:2.17.2-12.14.el6
nss-softokn-freebl.x86_64 0:3.14.3-9.el6
util-linux-ng.x86_64 0:2.17.2-12.14.el6

Detailed log and backup files are available under /var/log/oracle-ebs-server-R12-preinstall.

And then here are some other prerequisites you should consider:

4. While the above installation of the pre-install rpm includes all required packages and sets kernel parameters and other system values, it is still necessary to perform a few additional steps prior to using this environment for an E-Business Suite installation:
4a. Ensure that swap space meets the requirements as documented in the ‘Swap Space’ section.
4b. Ensure that the hostname settings meet the requirements as documented in the ‘ Verifying Host Names’ section.
4c. Create link correctly for Motif library as documented in the ‘Link to Motif library in Oracle Application Server 10.1.2’ section.
4d. Check threading model as documented in the ‘Threading Model in Linux must be NPTL’ section.
4e. Check for OPMN port conflict.
4f. Check /etc/services for size as documented below .

Users can now install the E-Business Suite using the Rapid Install by using the rapidwiz utility after correctly downloading and staging the E-Business Suite media as documented in the ‘Oracle E-Business Suite Installation Guide: Using Rapid Install’ available from Oracle Documentation:
$ cd /u01/StageR122/startCD/Disk1/rapidwiz/bin
$ buildStage.sh
$ cd ..

# yes you are running all this as root
$ ./rapidwiz

And then:

Make sure oracle and applmgr linux users can read and write to your stage

usermod -aG dba applmgr

chgrp -R dba /u01/StageR122

sometimes I’ll use a stage that is a virtualbox share – instead of the path above – in that case where the stage is not local:

usermod -aG vboxsf oracle

usermod -aG vboxsf applmgr

if the unix users oracle and applmgr don’t have access to the build stage – you will get “database pre-install checks failed” – grant permission and restart rapidwiz

And then:

Link to Motif library in Oracle Application Server 10.1.2 (on Oracle Linux 5, 6, 7 and RHEL 5, 6, 7 only)
Perform the following command (as root on your system) to update a required link to a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:
# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

For rapidwiz restarts you can do one of two things:

1.) start over
I did this once by removing everything below the /u01/oracle and /u01/apps directory (containing my DB and applmgr / middle tier stack as follows:
rm -Rf /u01/oracle/SID
rm -Rf /u01/apps/SID
SID in this case was VIS

2.) Or
Restart Installation (if required)
If the installation process terminates abnormally before completion, you can restart it and carry on, after correcting any problems.
1. Re-run the Rapid Install wizard, adding the -restart option to the rapidwiz command.
When the initial Rapid Install screen appears, select the same operation you chose originally, then click Next.
Rapid Install has stored the configuration in the Oracle E-Business Suite database (or conf_.txt file), so choose “Load the following saved configuration”. This avoids having to complete the wizard screens a second time. After accepting or specifying the configuration details, click Next.
Configuration Choice – Load Saved Configuration

My install pre-account and directory provisioning
600GB total across both directories
/u01/oracle – oracle base
/u01/apps – applmgr base

/ – root / pw
/home/oracle – oracle.dba / pw
/home/applmgr – applmgr.dba / pw


First time I ran rapidwiz I got the error below cuz I didn’t do all the pre-reqs the first time – in other words if I would have done a “yum install oracle-ebs-server-R12-preinstall” as documented above… this would not have reared it’s ugly head but hey, “that’s why they call it work”.


error starting rapidwiz fixed by suggestion on:
sudo yum install glibc.i686 libXext.i686 libXtst-devel.i686

12.1.1 rapidwiz – libmwat.so libXext.so.6 libXtst.so.6 not found on OEL6U3

vnc was setup for root
ftp was setup for root – I know not very secure – it’s behind my firewall and only a demo install

wls admin user weblogic username/pw weblogic/PwXX#

Configuration file written to: /u01/apps/VIS/fs1/inst/apps/VIS_vision1/conf_VIS.txt

Configuration file written to: /u01/apps/VIS/fs2/inst/apps/VIS_vision1/conf_VIS.txt


Ok so now wait, maybe a while...
And about 30 minutes later running against a couple of 500GB Samsung 850 Evos... it's still not close


cd /u01/apps/VIS/fs2/inst/apps/VIS_vision1/logs
[root@vision1 logs]# ls
08011457.log ora
[root@vision1 logs]# view 08011457.log

Executing command: /u01/ebs-Downloads/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /u01/apps/VIS/fs2/inst/apps/VIS_vision1/temp/ASInstallHome/fnd/../j11067592_fnd.zip:/u01/apps/VIS/fs2/inst/apps/VIS_vision1/temp/ASInstallHome/fnd/java/3rdparty/stdalone/xmlparserv2.zip -Doracle.apps.fnd.txk.env_home=/u01/apps/VIS/fs2/EBSapps/appl/admin/VIS_vision1/ -Doracle.apps.fnd.txk.runtime.config=/u01/apps/VIS/fs2/inst/apps/VIS_vision1/temp/xmldocs/instToolPatches.xml oracle.apps.fnd.txk.config.InstallService

— got the error below cuz again… I didn’t do all the pre-reqs the first time – in other words if I would have done a “yum install oracle-ebs-server-R12-preinstall” as documented above…


Fatal Error: TXK Install Service

oracle.apps.fnd.txk.config.ProcessStateException: FileSys OS COMMAND Failed : Exit=2 See log for details. CMD= make -f ins_forms.mk sharedlib install ## Node=NodeId=1103 Type=24 TypeName=filesys_patch_action Name= RefId=457 State=init ConfigDoc=APPS_C_HOME ParentDoc=null Topology=R12 Action=os_cmd

at oracle.apps.fnd.txk.config.FileSysPatchActionNode.doFileSysOSCmd(FileSysPatchActionNode.java:169)

at oracle.apps.fnd.txk.config.FileSysPatchActionNode.processState(FileSysPatchActionNode.java:101)

at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)

at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)

at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)

at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)

at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)

at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)

at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)

at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)

Cannot patch 10.1.2 Tools.

RW-50010: Error: – script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running APPL_TOP Install Driver for VIS instance

A note on google says:
This is because of missing packages. Please make sure you have the 32-bit of the following RPMs installed as mentioned in (Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID 1330701.1)).

Pre-reqs... probably stated somewhere... I should have checked before running rapidwiz.

# this rpm -qa is just an example of how to check
rpm -qa –qf “%{n}-%{v}-%{r}.%{arch}\n” | grep libgcc

Oracle Linux 6*
Red Hat Enterprise Linux 6* GA (6.1) or higher of Oracle Linux 6 is required
GA (6.1) or higher of Red Hat Enterprise Linux (RHEL) 6 is required
Note: Oracle has released an E-Business Suite Pre-Install RPM (available on ULN and public yum) that includes all required rpms for both the application and database tiers of an R12 installation – please see the ‘E-Business Suite Pre-Install RPM’ section below for more details.

If not using the pre-install rpm, the following packages (or versions of packages) which are not part of the OS distribution media must be downloaded separately (from http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/) for both Oracle Linux 6 and RHEL 6 and installed manually on the application tier:
• openmotif21-2.1.30-11.EL6.i686 (32-bit)1
• xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386 (32-bit)
Additionally, the following rpm needs to be installed from the Oracle Linux 6 or RHEL 6 distribution media on the application tier:
• libXrender-0.9.5-1.el6.i686
If not using the pre-install rpm, the following packages must be installed from the Oracle Linux 6 or RHEL 6 distribution media on both the application and database tiers:
• binutils-
• compat-libstdc++-296-2.96-144.el6.i686
• compat-libstdc++-33-3.2.3-69.el6.i686
• gcc-4.4.5-6.el6.x86_64
• gcc-c++-4.4.5-6.el6.x86_64
• glibc-2.12-1.7.el6.i686 (32-bit)
• glibc-2.12-1.7.el6.x86_64
• glibc-common-2.12-1.7.el6.x86_64
• glibc-devel-2.12-1.7.el6.i686 (32-bit)
• glibc-devel-2.12-1.7.el6.x86_64
• libgcc-4.4.4-13.el6.i686
• libgcc-4.4.4-13.el6.x86_64
• libstdc++-devel-4.4.4-13.el6.i686
• libstdc++-devel-4.4.4-13.el6.x86_64
• libstdc++-4.4.4-13.el6.i686
• libstdc++-4.4.4-13.el6.x86_64
• libXi-1.3-3.el6.i686
• libXp-1.0.0-15.1.el6.i686
• libXp-1.0.0-15.1.el6.x86_64
• libaio-0.3.107-10.el6.i686
• libaio-0.3.107-10.el6.x86_64
• libgomp-4.4.4-13.el6.x86_64
• make-3.81-19.el6.x86_64
• gdbm-1.8.0-36.el6.i686
• gdbm-1.8.0-36.el6.x86_64
• redhat-lsb-4.0-3.0.1.el6.x86_64
• sysstat-9.0.4-11.el6.x86_64
• util-linux-ng-2.17.2-6.el6.x86_64
Additionally, the following RPMs are required for the database tier (running Oracle Database 11gR2):
• compat-libcap1-1.10-1.x86_64
• compat-libstdc++-33-3.2.3-69.el6.x86_64
• elfutils-libelf-devel-0.148.1-el6.x86_64
• libaio-devel-0.3.107-10.el6.i686
• libaio-devel-0.3.107-10.el6.x86_64
• unixODBC-2.2.14-11.el6.i686
• unixODBC-devel-2.2.14-11.el6.i686
• xorg-x11-utils-7.4-8.el6.x86_64
Alternatively on the database tier, users can install the following pre-install rpm (available via ULN on http://linux.oracle.com or the Oracle Public yum repository on http://public-yum.oracle.com) :
• oracle-rdbms-server-11gR2-preinstall.x86_64
The E-Business Suite Pre-Install RPM includes all the above required rpms and dependencies for running the application and database tiers – see the ‘E-Business Suite Pre-Install RPM’ section below for more details.
1: The openmotif package version must be 2.1.30 (for example, openmotif-2.3.3-1 is not supported).

2. Continue with the install
Rapid Install moves through the installed components and automatically starts at the point where it previously stopped. Previously completed actions start and complete rapidly as the wizard determines that there is nothing additional to do.
Note: You may see validation warnings (for example, port already in use) if your database was already installed before the restart process. You can safely ignore these messages.
Post-Install Review
After the installation is complete, Rapid Install automatically validates the installed Oracle E-Business Suite environment. Tests include database availability, correctly-configured environment files, and functioning listeners.
Post-Install Checks

Post-installation tests include:
Post-Install Tests and Parameters
This test: Checks:
Database Availability Database is running and allows users to log on
Environment File Environment file has been delivered
HTTP HTTP listener is working
Login Page Login Page is working
Virtual Directory Validity of Web Virtual directories, such as OA_MEDIA, OA_JAVA, and OA_CGI, which are used for functionalities such as FNDWRR
Configuration Upload Uploading of the configuration file (conf.txt) to the database (FND_OAM_CONTEXT_FILES table)
DBC File DBC file has been created
JSP JavaServer pages are working
Help Page Validity of Help pages (from clicking on “?” symbol), which are run from OA_HTML/help
1. Review the information from the tests Rapid Install has completed
If there is an ! or x icon, click it to see the details. If any of the checks fail, refer to the Rapid Install log files to determine the reason, and resolve each problem before continuing. When the errors are fixed, click Retry to perform the post-install validation again.
2. Click Next if there are no errors.
Rapid Install informs you of the components that it installed on the Finish screen.
Finish Screen

If you wish to review the Post-install Checks screen, click Back. If you want to log on to Oracle E-Business Suite now, click Connect to Oracle Applications Release 12.1.1 to access the Oracle E-Business Suite Login page. Otherwise, click Finish to complete the Rapid Install session.
Note: See Log On to Oracle E-Business Suite in Finishing Tasks for more information.

Post Checks:

Database Availability
command: su oracle -c “/u01/ebs-Downloads/startCD/Disk1/rapidwiz/bin/riwTDBup.sh /u01/oracle/VIS/11.2.0/VIS_vision1.env APPS/*****”

riwTDBup.sh started at Sat Aug 1 21:38:23 EDT 2015

The environment settings are as follows …

ORACLE_HOME : /u01/oracle/VIS/11.2.0
PATH : /u01/oracle/VIS/11.2.0/perl/bin:/u01/oracle/VIS/11.2.0/bin:/usr/bin:/usr/sbin:/u01/oracle/VIS/11.2.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/u01/ebs-Downloads/startCD/Disk1/rapidwiz/unzip/Linux_x64:/usr/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:.
LD_LIBRARY_PATH : /u01/oracle/VIS/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/VIS/11.2.0/lib:/usr/dt/lib:/u01/oracle/VIS/11.2.0/ctx/lib

Executable : /u01/oracle/VIS/11.2.0/bin/sqlplus

riwTDBup.sh exiting with status 0

Database ORACLE_HOME connection test has succeeded
command: su applmgr -c “/u01/ebs-Downloads/startCD/Disk1/rapidwiz/bin/riwTDBup.sh /u01/apps/VIS/fs1/inst/apps/VIS_vision1/ora/10.1.2/VIS_vision1.env APPS/*****”

riwTDBup.sh started at Sat Aug 1 21:38:24 EDT 2015

The environment settings are as follows …
Database Availability
command: su oracle -c “/u01/ebs-Downloads/startCD/Disk1/rapidwiz/bin/riwTDBup.sh /u01/oracle/VIS/11.2.0/VIS_vision1.env APPS/*****”

riwTDBup.sh started at Sat Aug 1 21:38:23 EDT 2015

The environment settings are as follows …

ORACLE_HOME : /u01/oracle/VIS/11.2.0
PATH : /u01/oracle/VIS/11.2.0/perl/bin:/u01/oracle/VIS/11.2.0/bin:/usr/bin:/usr/sbin:/u01/oracle/VIS/11.2.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/u01/ebs-Downloads/startCD/Disk1/rapidwiz/unzip/Linux_x64:/usr/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:.
LD_LIBRARY_PATH : /u01/oracle/VIS/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/VIS/11.2.0/lib:/usr/dt/lib:/u01/oracle/VIS/11.2.0/ctx/lib

Executable : /u01/oracle/VIS/11.2.0/bin/sqlplus

riwTDBup.sh exiting with status 0

Database ORACLE_HOME connection test has succeeded
command: su applmgr -c “/u01/ebs-Downloads/startCD/Disk1/rapidwiz/bin/riwTDBup.sh /u01/apps/VIS/fs1/inst/apps/VIS_vision1/ora/10.1.2/VIS_vision1.env APPS/*****”

riwTDBup.sh started at Sat Aug 1 21:38:24 EDT 2015

The environment settings are as follows …

ORACLE_HOME : /u01/apps/VIS/fs1/EBSapps/10.1.2
PATH : /u01/apps/VIS/fs1/EBSapps/10.1.2/OPatch:/u01/apps/VIS/fs1/EBSapps/10.1.2/bin:/usr/bin:/usr/sbin:/u01/apps/VIS/fs1/EBSapps/comn/util/jdk32/jre/bin:/usr/bin:/u01/ebs-Downloads/startCD/Disk1/rapidwiz/unzip/Linux_x64:/usr/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
LD_LIBRARY_PATH : /u01/apps/VIS/fs1/EBSapps/10.1.2/lib32:/u01/apps/VIS/fs1/EBSapps/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/apps/VIS/fs1/EBSapps/10.1.2/jdk/jre/lib/i386:/u01/apps/VIS/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/server:/u01/apps/VIS/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/native_threads:/u01/apps/VIS/fs1/EBSapps/appl/sht/12.0.0/lib

Executable : /u01/apps/VIS/fs1/EBSapps/10.1.2/bin/sqlplus

riwTDBup.sh exiting with status 0

Applmgr – apps r12 startup scripts


or in my case that is:




requires apps and Weblogic passwords

Environment Files

Database ORACLE_HOME environment file passes instantiated variables test:
File = /u01/oracle/VIS/11.2.0/VIS_vision1.env

applmgr – APPL_CONFIG_HOME environment file passes instantiated variables test:
File = /u01/apps/VIS/fs1/EBSapps/appl/VIS_vision1.env

applmgr – ADOVARS environment file passes instantiated variables test:
File = /u01/apps/VIS/fs1/EBSapps/appl/admin/adovars.env

APPSCONFIG passes instantiated variables test:
File = /u01/apps/VIS/fs1/EBSapps/appl/admin/adconfig.txt

Configuration Upload
uploading config file at /u01/oracle/VIS/11.2.0/appsutil/conf_VIS.txt
Successful upload of config file at /u01/oracle/VIS/11.2.0/appsutil/conf_VIS.txt

DBC File
DBC file passes instantiated variables test:
File = /u01/apps/VIS/fs1/inst/apps/VIS_vision1/appl/fnd/12.0.0/secure/VIS.dbc

checking URL = http://vision1.localdomain:8000
HTTP Listener is responding

WLS Domain Validation
Validating WLS Domain : Checking directory FMW_HOME/user_projects/domain/EBS_domain_sid

Verified WLS Domain for Oracle E-Business Suite created at /u01/apps/VIS/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS .

Verified WLS Domain for Oracle E-Business Suite created at /u01/apps/VIS/fs2/FMW_Home/user_projects/domains/EBS_domain_VIS .

Virtual Directory
checking URL = http://vision1.localdomain:8000/OA_MEDIA/FNDLOGOL.gif
Page is responding
checking URL = http://vision1.localdomain:8000/OA_JAVA/oracle/apps/fnd/admin/server/server.xml
Page is responding
checking URL = http://vision1.localdomain:8000/OA_CGI/FNDWRR.exe
Page is responding

Login Page
checking URL = http://vision1.localdomain:8000/OA_HTML/AppsLogin
Page is responding

Many Oracle E-Business Suite users are predefined in the Vision Demo database.
The following username/password pairs have System Administrator responsibility:
• SYSADMIN/sysadmin
• MFG/welcome
• OPERATIONS/welcome
• SERVICES/welcome A-10
• MRC/welcome
• HRMS/welcome

Leave a Reply

Your email address will not be published. Required fields are marked *