Installing Oracle Apps 11i on SLES9
Novell Cool Solutions: Feature
By Michel Bluteau
Digg This -
Posted: 4 Nov 2005
Installing Oracle Applications 11i 126.96.36.199 on SUSE Linux Enterprise Server 9 SP1
I decided to create this guide, even though there is already a guide for Oracle Database and one for Oracle Application Server, because the installation process and the requirements are different.
You can refer to my other installation guides for Oracle on SLES9 on Cool Solutions for more details on how to install the basic optional packages like orarun, gcc, openmotif, etc. The requirements in terms of packages are almost identical to the requirements for Oracle Database 10g.
As for the physical requirements, I recommend 1GB of RAM and 80GB of disk space. I used a Vmware virtual machine for my installation, and with those resources I was able to obtain a working installation.
If you do not already have a copy of Oracle Applications 11i, you can get one from http://edelivery.oracle.com for evaluation.
Figure 1: Oracle Electronic Delivery Web site
Depending of the various components you want to leverage, the downloads can be numerous and large. If you are unsure of which components you need, you can download all the items for the E-Business Suite (aka Oracle Applications). I was able to extract everything onto an NFS network share and run the installation from there. To do so, I mounted the share from my SLES9 server (an SMB share seems to be problematic).
Before you start the install process, you need to tune some kernel parameters in order to avoid the following error:
ORA-27125 Unable to create shared memory segment
The above error appears in the log file (/opt/oracle/prodb/9.2.0/appsutil/log/PROD_servername/ ), in the middle of the installation process. It displays an error window with an error code RW-xxxx). This condition prevents Oracle from starting, and the installation process will halt because it needs to access the Oracle instance.
Metalink note 293988.1 describes two workarounds, which are illustrated below
Figure 2: Workaround #1 for avoiding error ORA-27125
Figure 3: Workaround #2 for avoiding error ORA-27125. Step 1: Modify /etc/sysctl.conf.
Figure 4: Workaround #2 for avoiding error ORA-27125. Step 2: Activate boot.sysctl.
On my system, I have implemented the two workaround simultaneously, before starting the installation, using root privileges with su. For more details, access Metalink. This should be sufficient if you want to avoid the ORA-27125 error during your installation.
We are now ready to start the installation process. I have uncompressed all the downloaded items in the same NFS share, and mounted it from my SLES server.
1. Log in with the Oracle user created by orarun.
2. Make sure the oracle user has a password, and that /etc/passwd is configured so Oracle can log in (the shell needs to be changed).
3. Launch the Rapid Installation wizard from an NFS network share.
Figure 5: Lauching the Rapid Installation wizard
The wizard exits and asks you to execute the script /tmp/oraInstRoot.sh as root.
Figure 6: Prompt to execute the /tmp/oraInstRoot.sh script
4. Execute the script with root privileges.
Figure 7: Executing the script with root privileges
5. Launch the Rapid Install Wizard a second time, after the script has been executed.
Figure 8: Re-launching the Rapid Install Wizard
6. After the Rapid Install Wizard welcome screen appears, click Next.
Figure 9: Rapid Install Wizard welcome screen
The Select Wizard Operation screen appears. I decided to use Express Configuration, but this is optional.
7. Make your selection, then click Next.
Figure 10: Select Wizard Operation screen
8. Install a fresh database or the Vision Demo Database. I changed the base directory to /opt/oracle.
Figure 11: Installing the database
9. Enter the path you want for saving your configuration choices.
Figure 12: Configuration path
The Rapid Install Wizard will then perform some system checks, such as free disk space available.
Figure 13: System checks done by the wizard
If all system checks are successful, you should see green check marks for each item. If there is an issue with a specific check, make sure you correct the situation before you move on. You can cancel the installation process, fix the problem, then launch Rapid Install again.
Figure 14: Result of system checks
10. When the Component Installation Review page appears, click Next if you are satisfied with the results.
Figure 15: Component Installation Review page
11. After the following pop-up window appears, click Yes to begin the installation process.
Figure 16: Starting the installation process
Watch this progress window for a while. It took more than an hour on my system, which is a VMware virtual machine access a NFS share. That is actually not the most effective way to copy a large number of files for VMware; things could go faster if you have a different config.
Figure 17: Progress window
The Validate System Configuration window appears. If everything went well with your installation, you should see green check marks for all items.
Figure 18: Validate System Configuration window
The final screen for the installation process appears.
12. Access Oracle Applications 11i by clicking on the square rectangle to Connect, or access your server on port 8000 with the full DNS name (e.g., http://oraapps.novell.ca:8000).
13. Click Finish, and the Rapid Install Portal appears.
Figure 20: Rapid Install Portal
14. When the Apps Logon Links page appears, select E-Business Home Page.
Figure 21: Apps Logon Links page
15. Log in with sysadmin/sysadmin.
Figure 22: Sysadmin login
The E-Business Suite home page appears.
Figure 23: E-Business Suite home page
16. Change the /etc/oratab file to require Oracle to start automatically.
Figure 24: Setting Oracle to start automatically
17. Copy oratab to /var/opt/oracle, because Oracle will look in this location at startup.
Figure 25: Copying oratab to /var/opt/oracle for startup
18. Change /etc/sysconfig/oracle so Oracle and the Listener start automatically. You can change kernel parameters in this file.
Figure 26: Changing /etc/sysconfig/oracle so Oracle and the Listener start automatically
19. If you want, set the DB Agent for Enterprise Manager to start automatically.
Figure 27: Starting the DB Agent for Enterprise Manager automatically (optional)
20. Change the configuration file so Apache starts automatically.
Figure 28: Setting Apache to start automatically
21. At the E-Business Suite Portal, select User Management, then Users.
Figure 29: Configuring the E-Business Suite Portal
22. Select Register External Organization Contact, then click Go. We will create a test user.
Figure 30: Selecting Register External Organization Contact
23. Create a new user, then click Submit.
Figure 31: Creating a new user
You should see this confirmation page:
Figure 32: Confirmation page
24. Select Update Account Details.
25. Click the Assign Roles button.
Figure 33: Assigning Roles
26. Search for roles, select some test roles, then click Select.
Figure 34: Selecting test roles
27. Provide a justification for each role selected, then click Save or Apply.
Figure 35: Justifying the selected roles
This confirmation page should appear:
Figure 36: Confirmation page
28. At the Login page for E-Business Suite, log in with the new user.
Figure 37: E-Business Suite login with new user
29. Choose a new password and click Apply.
Figure 38: Choosing a new password
You should be able to see the Navigator options associated with the selected roles.
Figure 39: Navigator options associated with the selected roles
30. At the Login page, log in again with sysadmin/sysadmin; but this time, select Oracle Applications Manager.
Figure 40: Logging in with sysadmin/sysadmin and Oracle Applications Manager
The Application Dashboard for Oracle Applications Manager appears.
Figure 41: Application Dashboard for Oracle Applications Manager
The last few steps walk you through a few tools and demonstrate that we have a functional installation. You can leverage the documentation (the documentation CD is also available from the edelivery web site) to familiarize yourself with Oracle Applications 11i management tasks.
Hopefully, this quick installation guide will prove helpful to you. Do not hesitate to send me some feedback, comments, or questions. Thanks.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com