{"id":417,"date":"2010-10-24T10:35:37","date_gmt":"2010-10-24T15:35:37","guid":{"rendered":"http:\/\/otac.isa-geek.net\/blog\/?p=417"},"modified":"2010-10-25T21:20:58","modified_gmt":"2010-10-26T02:20:58","slug":"journeying-into-oracleebs-12i-part-ii","status":"publish","type":"post","link":"https:\/\/otac.isa-geek.net\/blog\/?p=417","title":{"rendered":"Journeying into OracleEBS 12i \u00e2\u20ac\u201c Part II"},"content":{"rendered":"<p>Now that my 12i EBS virtual machine was  initialized with Oracle Enterprise Linux, the next step was to stage the 12i installation media, and run the installation process from the 12i guest server.<br \/>\nI setup yum repositories to allow easy installation and update of software on the system. Debian-based environments (e.g., Ubuntu) would use apt-get for this.<br \/>\nFrom a terminal window, I did a sudo bash (to get a root shell):<\/p>\n<p><strong>$ sudo bash<br \/>\n#<br \/>\n# cd \/etc\/yum.repos.d<br \/>\n# mv Oracle-Base.repo Oracle-Base.repo.disabled<br \/>\n# wget http:\/\/public-yum.oracle.com\/public-yum-el4.repo<\/strong><\/p>\n<p>I then installed the VirtualBox Linux additions, which would allow me to share files between the host and guest environments:<br \/>\n<strong>[root@jiraiya-oelinux VBOXADDITIONS_3.2.8_64453]# sh .\/VBoxLinuxAdditions-x86.run<br \/>\nVerifying archive integrity&#8230; All good.<br \/>\nUncompressing VirtualBox 3.2.8 Guest Additions for Linux&#8230;&#8230;..<br \/>\nVirtualBox Guest Additions installer<br \/>\nBuilding the VirtualBox Guest Additions kernel modules<br \/>\nYour guest system does not seem to have sufficient OpenGL support to enable<br \/>\naccelerated 3D effects (this requires Linux 2.6.27 or later in the guest<br \/>\nsystem).  This Guest Additions feature will be disabled.<\/strong><\/p>\n<p><strong>Building the main Guest Additions module                   [  OK  ]<br \/>\nBuilding the shared folder support module                  [  OK  ]<br \/>\nDoing non-kernel setup of the Guest Additions              [  OK  ]<br \/>\nStarting the VirtualBox Guest Additions                    [  OK  ]<br \/>\nInstalling the Window System drivers<br \/>\nInstalling X.Org 7.1 modules                               [  OK  ]<br \/>\nSetting up the Window System to use the Guest Additions    [  OK  ]<br \/>\nYou may need to restart the hal service and the Window System (or just restart<br \/>\nthe guest system) to enable the Guest Additions.<\/strong><\/p>\n<p><strong>Installing graphics libraries and desktop services componen[  OK  ]<\/strong><\/p>\n<p>The next step was to share the location for the staging dir where the EBS 12i  media was stored. I first created a permanent share in the VirtualBox folder list pointing to the source directory (\/media\/Terabank\/OAPPS_INSTALL):<\/p>\n<p><strong>[oracle@jiraiya-oelinux ~]$  pwd<br \/>\n\/home\/oracle<br \/>\n[oracle@jiraiya-oelinux ~]$ mkdir mnt<br \/>\n[oracle@jiraiya-oelinux ~]$ cd mnt<br \/>\n[oracle@jiraiya-oelinux mnt]$ mkdir OAPPS_INSTALL<br \/>\n[oracle@jiraiya-oelinux mnt]$ pwd<br \/>\n\/home\/oracle\/mnt<br \/>\n[oracle@jiraiya-oelinux mnt]$ ls<br \/>\nOAPPS_INSTALL<br \/>\n[oracle@jiraiya-oelinux mnt]$ sudo mount -t vboxsf OAPPS_INSTALL \/home\/oracle\/mnt\/OAPPS_INSTALL<br \/>\n[oracle@jiraiya-oelinux mnt]$ ls<br \/>\n[oracle@jiraiya-oelinux mnt]$ ls OAPPS_INSTALL<br \/>\n11i  12i<\/strong><\/p>\n<p>I also added the entry to the \/etc\/fstab file to ensure the media&#8217;s availability on system startup:<br \/>\n<strong>OAPPS_INSTALL           \/mnt\/OAPPS_INSTALL  vboxsf defaults 0 0<\/strong><br \/>\nI created the following short script to unzip and stage the 12i installation media from the eDelivery package zip files to the directory, it&#8217;s attached here: <a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/stage12i.zip\">stage12i.zip<\/a>. Running this script, extracted the approximately 45 GB installation media into the target \/home\/oracle\/mnt\/OAPPS_INSTALL\/12i directory.<br \/>\nThe next step was to begin the install by running the rapidwiz command from the 12i staging directory:<\/p>\n<p><strong>[oracle@jiraiya-oelinux 12i]$ pwd<br \/>\n\/home\/oracle\/mnt\/OAPPS_INSTALL\/12i<br \/>\n[oracle@jiraiya-oelinux 12i]$ cd stage12i<br \/>\n[oracle@jiraiya-oelinux stage12i]$ cd startCD\/Disk1\/rapidwiz\/<br \/>\n[oracle@jiraiya-oelinux rapidwiz]$ pwd<br \/>\n\/mnt\/OAPPS_INSTALL\/12i\/stage12i\/startCD\/Disk1\/rapidwiz<br \/>\n[oracle@jiraiya-oelinux rapidwiz]$ ls<br \/>\nadautostg.pl\u00c2\u00a0\u00c2\u00a0 driver\u00c2\u00a0 images\u00c2\u00a0 oui\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 RapidWiz.ini\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 template<br \/>\nbin\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 etc\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 jlib\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 rapidwiz\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 RapidWizVersion\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 unzip<br \/>\nClientWiz.cmd\u00c2\u00a0 File\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 jre\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 RapidWiz.cmd\u00c2\u00a0 RapidWizVersion.cmd<br \/>\n[oracle@jiraiya-oelinux rapidwiz]$ .\/rapidwiz<\/strong><\/p>\n<p><strong>Rapid Install Wizard is validating your file system&#8230;&#8230;<br \/>\n4 dvd labels found<br \/>\nRapid Install Wizard will now launch the Java Interface&#8230;.<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_428\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Install-Oracle-Applications-Wizard-Operation.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-428\" class=\"size-thumbnail wp-image-428\" title=\"Install Oracle Applications - Wizard Operation\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Install-Oracle-Applications-Wizard-Operation-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-428\" class=\"wp-caption-text\">Install Oracle Applications - Wizard Operation<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_427\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Express-Configuration-Information.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-427\" class=\"size-thumbnail wp-image-427\" title=\"Install Oracle Applications - Express Configuration Information\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Express-Configuration-Information-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-427\" class=\"wp-caption-text\">Install Oracle Applications - Express Configuration Information<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_425\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Express-Configuration-Information-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-425\" class=\"size-thumbnail wp-image-425\" title=\"Install Oracle Applications - Express Configuration Information\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Express-Configuration-Information-1-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-425\" class=\"wp-caption-text\">Install Oracle Applications - Express Configuration Information<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td>\n<p><div id=\"attachment_422\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Component-Installation-Review.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-422\" class=\"size-thumbnail wp-image-422\" title=\"Install Oracle Applications - Component Installation Review\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Component-Installation-Review-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-422\" class=\"wp-caption-text\">Install Oracle Applications - Component Installation Review<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_423\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Pre-Install-Checks.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-423\" class=\"size-thumbnail wp-image-423\" title=\"Install Oracle Applications - Pre-Install Checks\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Install-Oracle-Applications-Pre-Install-Checks-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-423\" class=\"wp-caption-text\">Install Oracle Applications - Pre-Install Checks<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_424\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-System-Check-Status.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-424\" class=\"size-thumbnail wp-image-424\" title=\"System Check Status\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-System-Check-Status-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-424\" class=\"wp-caption-text\">System Check Status<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td>\n<p><div id=\"attachment_420\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Installing-Oracle-Applications.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-420\" class=\"size-thumbnail wp-image-420\" title=\"Installing Oracle Applications\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Installing-Oracle-Applications-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-420\" class=\"wp-caption-text\">Installing Oracle Applications<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_421\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Oracle-Applications-Rapid-Install-Wizard-Alert.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-421\" class=\"size-thumbnail wp-image-421\" title=\"Oracle Applications Rapid Install Wizard\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Oracle-Applications-Rapid-Install-Wizard-Alert-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-421\" class=\"wp-caption-text\">Oracle Applications Rapid Install Wizard<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After successful completion, the rapidwiz ran its Post-install checks. Errors were indicated for database startup, and HTTP connectivity.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_439\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Install-Oracle-Applications-Post-Install-Checks.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-439\" class=\"size-thumbnail wp-image-439\" title=\"Install Oracle Applications - Post-Install Checks\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Install-Oracle-Applications-Post-Install-Checks-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-439\" class=\"wp-caption-text\">Install Oracle Applications - Post-Install Checks<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To resolve them, I had to start processes manually. Following, I detail the problem-resolution steps I went through, as well as the remaining actions to complete the Oracle EBS 12i installation.<br \/>\nThe First step was to start the database tier services. This was done by opening shell terminal,\u00c2\u00a0and changing to the database install directory: for my single-node install it was at <strong>\/d01\/oracle\/VIS\/db\/tech_st\/11.1.0<\/strong>. I sourced the oracle env file in that directory (<strong>VIS_jiraiya-oelinux.env<\/strong>) to set all the necessary ORACLE environment vars:<\/p>\n<p><strong>[oracle@jiraiya-oelinux mnt]$ . <strong>\/d01\/oracle\/VIS\/db\/tech_st\/11.1.0<\/strong>\/<strong>VIS_jiraiya-oelinux.env<\/strong><\/strong><\/p>\n<p>then ran the addlnctl.sh script to start the database listener services:<\/p>\n<p><strong>[oracle@jiraiya-oelinux mnt]$ \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/appsutil\/scripts\/VIS_jiraiya-oelinux\/<\/strong><strong><strong> <\/strong>addlnctl.sh<\/strong><strong> start <\/strong><strong>VIS<\/strong><\/p>\n<p><strong>You are running addlnctl.sh version 120.1.12010000.2<\/strong><\/p>\n<p><strong>Logfile: \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/appsutil\/log\/VIS_jiraiya-oelinux\/addlnctl.txt<\/strong><\/p>\n<p><strong>Starting listener process VIS &#8230;<\/strong><\/p>\n<p>As seen above, this was successful. I then attempted to start the database instance, by running the <strong>addbctl.sh<\/strong> script in the <strong>appsutil\/scripts<\/strong> sub-directory under the <strong>$CONTEXT_NAME<\/strong> location ($CONTEXT_NAME is defined as &lt;instance_name&gt;_&lt;hostname&gt;):<\/p>\n<p><strong>[oracle@jiraiya-oelinux mnt]$ \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/appsutil\/scripts\/VIS_jiraiya-oelinux\/addbctl.sh start<br \/>\n<\/strong><\/p>\n<p>which resulted in the error:<\/p>\n<p><strong>sqlplus: error while loading shared libraries: \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/lib\/libsqlplus.so: cannot restore segment prot after reloc: Permission denied<\/strong><\/p>\n<p>and a\u00c2\u00a0 Troublesetbrowser popup in the OE Linux tray indicated a security infraction:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_438\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-setroubleshoot-browser.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-438\" class=\"size-thumbnail wp-image-438\" title=\"Setroubleshoot browser\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-setroubleshoot-browser-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-438\" class=\"wp-caption-text\">Troubleshoot browser<\/p><\/div><\/td>\n<td><strong>Summary:<\/strong> SELinux is preventing \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/bin\/sqlplus from loading \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/lib\/libsqlplus.so which requires text relocation.<br \/>\n<strong> Detailed Description:<\/strong> The \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/bin\/sqlplus application attempted to load \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/lib\/libsqlplus.so which requires text relocation.<br \/>\nThis is a potential security problem. Most libraries do not need this permission. Libraries are sometimes coded incorrectly and request this permission.<br \/>\nThe SELinux Memory Protection Tests web page explains how to remove this requirement. You can configure SELinux temporarily to allow \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/lib\/libsqlplus.so to use relocation as a workaround, until the library is fixed. Please file a bug reportagainst this package.<br \/>\n<strong>Allowing Access<\/strong>: If you trust \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/lib\/libsqlplus.so to run correctly, you can change the file context to textrel_shlib_t. The following command will allow this access:<strong> chcon -t textrel_shlib_t \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/lib\/libsqlplus.so<\/strong>.<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After running the above command, I was able to successfully start the database processes:<\/p>\n<p><strong><strong>[oracle@jiraiya-oelinux mnt]$ <\/strong>sudo chcon -t textrel_shlib_t \/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/lib\/libsqlplus.so<\/strong><\/p>\n<p>and received the diagnostics below:<strong><br \/>\n<\/strong><\/p>\n<p><strong>You are running addbctl.sh version 120.1<\/strong><\/p>\n<p><strong>Starting the database VIS &#8230;<\/strong><\/p>\n<p><strong>SQL*Plus: Release 11.1.0.7.0 &#8211; Production on Fri Sep 24 21:45:41 2010<\/strong><\/p>\n<p><strong>Copyright (c) 1982, 2008, Oracle.\u00c2\u00a0 All rights reserved.<\/strong><\/p>\n<p><strong>Connected to an idle instance.<br \/>\nORACLE instance started.<\/strong><\/p>\n<p><strong>Total System Global Area 1071333376 bytes<br \/>\nFixed Size\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 1318172 bytes<br \/>\nVariable Size\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 427819748 bytes<br \/>\nDatabase Buffers\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 629145600 bytes<br \/>\nRedo Buffers\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 13049856 bytes<br \/>\nDatabase mounted.<\/strong><\/p>\n<p><strong>Database opened.<br \/>\nDisconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 &#8211; Production<br \/>\nWith the Partitioning, OLAP, Data Mining and Real Application Testing options<\/strong><\/p>\n<p><strong>addbctl.sh: exiting with status 0<\/strong><\/p>\n<p>Similar SELinux accesss errors were generated for other Oracle binaries, and were resolved by granting the permissions for the secure operation, using the command indicated in the troublesetbrowser. The alternative is to disable use of SELinux on installation of Oracle Enterprise Linux &#8211; obviously, this is not recommended for a production instance.<\/p>\n<p>Testing using tnsping now succeeded:<\/p>\n<p><strong>[oracle@jiraiya-oelinux VIS_jiraiya-oelinux]$ tnsping VIS<\/strong><\/p>\n<p><strong>TNS Ping Utility for Linux: Version 11.1.0.7.0 &#8211; Production on 24-SEP-2010 21:55:16<\/strong><\/p>\n<p><strong>Copyright (c) 1997, 2008, Oracle.\u00c2\u00a0 All rights reserved.<\/strong><\/p>\n<p><strong>Used parameter files:<br \/>\n\/d01\/oracle\/VIS\/db\/tech_st\/11.1.0\/network\/admin\/VIS_jiraiya-oelinux\/sqlnet_ifile.ora<\/strong><\/p>\n<p><strong>Used TNSNAMES adapter to resolve the alias<br \/>\nAttempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=jiraiya-oelinux.otac.isa-geek.net)(PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=VIS) (INSTANCE_NAME=VIS)))<br \/>\nOK (580 msec)<\/strong><\/p>\n<p>The next step was to start the middle tier services using the CONTEXT_NAME of VIS_jiraiya-oelinux:<\/p>\n<p>The middle tier for my single-node 12i installation was at <strong>\/d01\/oracle\/VIS\/inst\/apps<\/strong>; the scripts to control the services were found under the $CONTEXT_NAME\/admin\/scripts directory. For my installation, I changed to the directory:<\/p>\n<p><strong>[oracle@jiraiya-oelinux VIS_jiraiya-oelinux]$ <\/strong><strong>cd \/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/admin\/scripts<\/strong><\/p>\n<p>and ran the command<\/p>\n<p><strong>[oracle@jiraiya-oelinux VIS_jiraiya-oelinux]$ <\/strong><strong>adstrtal.sh apps\/apps<\/strong><\/p>\n<p>to start up the middle-tier services.<\/p>\n<p>An error starting HTTP services was seen:<\/p>\n<p><strong>Executing service control script:<br \/>\n\/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/admin\/scripts\/adapcctl.sh start<br \/>\nTimeout specified in context file: 100 second(s)<\/strong><\/p>\n<p><strong>script returned:<br \/>\n****************************************************<\/strong><\/p>\n<p><strong>You are running adapcctl.sh version 120.7.12010000.2<\/strong><\/p>\n<p><strong>Starting OPMN managed Oracle HTTP Server (OHS) instance &#8230;<\/strong><\/p>\n<p><strong>adapcctl.sh: exiting with status 204<\/strong><\/p>\n<p><strong>adapcctl.sh: check the logfile \/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/log<br \/>\ns\/appl\/admin\/log\/adapcctl.txt for more information &#8230;<\/strong><\/p>\n<p><strong>.end std out.<\/strong><\/p>\n<p><strong>.end err out.<\/strong><\/p>\n<p><strong>****************************************************<\/strong><\/p>\n<p>Viewing HTTP script log indicated an error with the Apache process:<\/p>\n<p><strong>[oracle@jiraiya-oelinux VIS_jiraiya-oelinux]$<\/strong><strong> more \/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/logs\/ora\/10.1.3\/opmn\/HTTP_Server~1.log<\/strong><\/p>\n<p><strong>10\/10\/03 22:24:10 Start process<br \/>\n&#8212;&#8212;&#8211;<br \/>\n\/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/ora\/10.1.3\/Apache\/Apache\/bin\/apachectl startssl: execing httpd<br \/>\n\/d01\/oracle\/VIS\/apps\/tech_st\/10.1.3\/Apache\/Apache\/bin\/httpd: error while loading<br \/>\nshared libraries: libdb.so.2: cannot open shared object file: No such file or directory<\/strong><\/p>\n<p>This indicated a missing library was causing Apache not to start.<\/p>\n<p>Some research indicated that Red Hat no longer supplies <code>libdb1<\/code> as part of their <code>libc<\/code>, so it was\u00c2\u00a0 neccessary to install it. I resolved this by creating a symbolic link to the latest version of the library, which was named differently:<\/p>\n<p><strong><strong>[oracle@jiraiya-oelinux VIS_jiraiya-oelinux]$ <\/strong>ln -s \/usr\/lib\/libgdbm.so.2.0.0 \/usr\/lib\/libdb.so.2<\/strong><\/p>\n<p>Then retried starting the HTTP service:<\/p>\n<p><strong><strong>[oracle@jiraiya-oelinux VIS_jiraiya-oelinux]$ <\/strong>\/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/admin\/scripts\/adapcctl.sh start<\/strong><\/p>\n<p>This successfully resolved the issue and allowed the Apache services to start correctly.<\/p>\n<p>I was then able to get the login page for the 12i instance, and login as sysadmin with the default password (sysadmin):<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_437\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-EBS-12i-Login.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-437\" class=\"size-thumbnail wp-image-437\" title=\"EBS 12i Login\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-EBS-12i-Login-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-437\" class=\"wp-caption-text\">EBS 12i Login<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_435\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Oracle-Applications-Home-Page-12i.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-435\" class=\"size-thumbnail wp-image-435\" title=\"Oracle Applications Home Page - 12i\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Oracle-Applications-Home-Page-12i-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-435\" class=\"wp-caption-text\">Oracle Applications Home Page - 12i<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>On trying to launch the forms, I received the following error:<\/p>\n<div id=\"attachment_436\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Forms-Error-Forms-Runtime-Web.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-436\" class=\"size-thumbnail wp-image-436\" title=\"Forms Error - Forms Runtime - Web\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Forms-Error-Forms-Runtime-Web-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-436\" class=\"wp-caption-text\">Forms Error - Forms Runtime - Web<\/p><\/div>\n<p>On viewing the application log in the \/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/logs\/ora\/10.1.3\/j2ee\/forms\/forms_default_group_1\/application.log file, the following error was seen on Forms startup:<\/p>\n<p><strong>10\/10\/19 19:52:15.109 formsweb: FormsServlet init():<br \/>\nconfigFileName:\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \/d01\/oracle\/VIS\/inst\/apps\/VIS_jiraiya-oelinux\/ora\/10.1.2\/forms\/server\/appsweb.cfg<br \/>\ntestMode:\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 false<br \/>\n10\/10\/19 19:52:15.145 formsweb: 10.1.3.4.0 Started<br \/>\n10\/10\/19 20:57:25.101 formsweb: ListenerServlet init()<br \/>\n10\/10\/19 20:57:30.212 formsweb: Forms session &lt;1&gt; aborted: runtime process failed during startup with errors \/d01\/oracle\/VIS\/apps\/tech_st\/10.1.2\/bin\/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory<\/strong><br \/>\n<span style=\"font-size: x-small;\"> <\/span><\/p>\n<p>This indicated that the libXm.so.2 library was not found in the library path. Some investigation indicated that this library is provided in the openmotif library which has a dependency on the libXp library. I downloaded\u00c2\u00a0 rpms for both from  <a href=\"http:\/\/rpm.pbone.net\/index.php3\/stat\/4\/idpl\/14371154\/dir\/redhat_5.x\/com\/openmotif-2.3.3-1.el6.i686.rpm.html\">here<\/a> (openmotif) and <a href=\"http:\/\/rpm.pbone.net\/index.php3\/stat\/4\/idpl\/14523560\/dir\/fedora_1\/com\/libXp-1.0.0-15.fc12.i686.rpm.html\"> here<\/a> (libXP), and installed libXp first, followed by openmotif using the graphical software installer (rpm would work as well). After signing out of the 12i instance, and attempting to access forms once again, the issue was resolved:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_441\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Warning-Security.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-441\" class=\"alignnone size-thumbnail wp-image-432\" title=\"Java Warning - Security\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Warning-Security-150x150.png\" alt=\"Java Warning - Security\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-441\" class=\"wp-caption-text\">Screenshot-Warning-Security<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_433\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Oracle-Applications.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-433\" class=\"size-thumbnail wp-image-433\" title=\"Oracle Applications\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Oracle-Applications-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-433\" class=\"wp-caption-text\">Oracle Applications<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Note the Java runtime security prompt which must be accepted to allow the forms runtime to install in the browser (in this case, Firefox 3.6 on OE Linux).<\/p>\n<p>This concluded the base installation of Oracle 12i on Enterprise Linux, however, in a real-world scenario, there would be a number of security and functionality patches to be applied, as well as configuration for workflow, concurrent manager and printer services. I will detail some of my further activities evaluating this product in future postings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that my 12i EBS virtual machine was initialized with Oracle Enterprise Linux, the next step was to stage the 12i installation media, and run the installation process from the 12i guest server. I setup yum repositories to allow easy installation and update of software on the system. Debian-based environments (e.g., Ubuntu) would use apt-get [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,37,60,57],"tags":[],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry","category-erp","category-ebs","category-oracle-enterprise-linux","category-oracle-virtualbox"],"_links":{"self":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=417"}],"version-history":[{"count":0,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/417\/revisions"}],"wp:attachment":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}