I was working on a project to clone Oracle install to a new Linux server and this should be simple as oracle-rdbms-server-11gR2-preinstall RPM can be used to configure the server, right?
So simple that I did not read the documentation.
However, I did review Requirements for Installing Oracle 11gR2 RDBMS on RHEL6 or OL6 64-bit (x86-64) (Doc ID 1441282.1) and it’s not quite the same.
From Oracle Database Quick Installation Guide 11g Release 2 (11.2) for Linux x86-64 the following packages are required:
binutils-2.20.51.0.2-5.11.el6 (x86_64) compat-libcap1-1.10-1 (x86_64) compat-libstdc++-33-3.2.3-69.el6 (x86_64) compat-libstdc++-33-3.2.3-69.el6.i686 gcc-4.4.4-13.el6 (x86_64) gcc-c++-4.4.4-13.el6 (x86_64) glibc-2.12-1.7.el6 (i686) glibc-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6.i686 ksh libgcc-4.4.4-13.el6 (i686) libgcc-4.4.4-13.el6 (x86_64) libstdc++-4.4.4-13.el6 (x86_64) libstdc++-4.4.4-13.el6.i686 libstdc++-devel-4.4.4-13.el6 (x86_64) libstdc++-devel-4.4.4-13.el6.i686 libaio-0.3.107-10.el6 (x86_64) libaio-0.3.107-10.el6.i686 libaio-devel-0.3.107-10.el6 (x86_64) libaio-devel-0.3.107-10.el6.i686 make-3.81-19.el6 sysstat-9.0.4-11.el6 (x86_64)
RPM oracle-rdbms-server-11gR2-preinstall was installed
$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep oracle-rdbms oracle-rdbms-server-11gR2-preinstall-1.0-9.el6 (x86_64)
Health Check Validation Engine was run for 11g R2 (11.2.0) Preinstall (Linux)
$ ./rda.sh -T hcve Processing HCVE tests ... Available Pre-Installation Rule Sets: 1. Oracle Database 10g R1 (10.1.0) Preinstall (Linux) 2. Oracle Database 10g R2 (10.2.0) Preinstall (Linux) 3. Oracle Database 11g R1 (11.1) Preinstall (Linux) 4. Oracle Database 11g R2 (11.2.0) Preinstall (Linux) 5. Oracle Database 12c R1 (12.1.0) Preinstallation (Linux) Enter the HCVE rule set number or 0 to cancel the test Hit "Return" to accept the default (0) > 4 Performing HCVE checks ... Enter value for < Planned ORACLE_HOME location > Hit "Return" to accept the default (/u01/app/oracle/product/11.2.0.4/dbhome_1) > Enter value for < JDK Home > > Test "Oracle Database 11g R2 (11.2.0) Preinstall (Linux)" executed at 18-Apr-2014 05:28:37 Test Results ~~~~~~~~~~~~ ID NAME RESULT VALUE ====== ==================== ======= ========================================== A00010 OS Certified? PASSED Adequate A00020 User in /etc/passwd? PASSED userOK A00040 Group in /etc/group? PASSED GroupOK A00050 Enter ORACLE_HOME RECORD /u01/app/oracle/product/11.2.0.4/dbho... A00060 ORACLE_HOME Valid? PASSED OHexists A00070 O_H Permissions OK? PASSED CorrectPerms A00080 oraInventory Permiss PASSED oraInventoryOK A00090 Got Software Tools? PASSED ld_nm_ar_make_found A00100 Umask Set to 022? PASSED UmaskOK A00120 Limits Processes PASSED Adequate A00125 Limits Stacksize PASSED Adequate A00130 Limits Descriptors PASSED Adequate A00140 LDLIBRARYPATH Unset? PASSED UnSet A00180 JAVA_HOME Unset? PASSED UnSet A00190 Enter JDK Home RECORD A00200 JDK Version FAILED JDK home is missing A00210 Other O_Hs in PATH? PASSED NoneFound A00220 Other OUI Up? PASSED NoOtherOUI A00230 Temp Adequate? PASSED TempSpaceOK A00240 Disk Space OK? PASSED DiskSpaceOK A00250 Swap (in MB) RECORD 6143 A00260 RAM (in MB) PASSED 3954 A00270 Swap OK? PASSED SwapToRamOK A00280 Network PASSED Connected A00290 IP Address RECORD NotFound A00300 Domain Name RECORD NotFound A00310 DNS Lookup FAILED Host not known A00320 /etc/hosts Format PASSED Adequate IPv4 entry A00330 Kernel Parameters OK PASSED KernelOK A00380 Tainted Kernel? PASSED NotVerifiable A00400 ip_local_port_range PASSED RangeOK A00480 OL4 RPMs OK? SKIPPED NotOL4 A00490 OL5 RPMs OK? SKIPPED NotOL5 A00500 OL6 RPMs OK? FAILED [compat-libstdc++-33(i686)] not insta... A00530 RHEL4 RPMs OK? SKIPPED NotRedHat A00540 RHEL5 RPMs OK? SKIPPED NotRedHat A00550 RHEL6 RPMs OK? SKIPPED NotRedHat A00570 SLES10 RPMs OK? SKIPPED NotSuSE A00580 SLES11 RPMs OK? SKIPPED NotSuSE Result file: output/collect/DB_HCVE_A_DB11R2_lin_res.htm
Just a note as the following entries will fail validation for A00320 /etc/hosts Format
192.168.56.11 arrow arrow.localdomain
since the engine is looking for the format below:
192.168.56.11 arrow.localdomain arrow
A00500 OL6 RPMs OK? FAILED because the following RPMs were missing:
[compat-libstdc++-33(i686)] not installed [glibc-devel(i686)] not installed [libaio(i686)] not installed [libaio-devel(i686)] not installed [libstdc++(i686)] not installed [libstdc++-devel(i686)] not installed
RPMs check failed since the 32-bit version were not installed:
# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | egrep '^compat-libstdc++|glibc-devel|libaio|^libstdc++'|sort compat-libstdc++-296-2.96-144.el6 (i686) compat-libstdc++-33-3.2.3-69.el6 (x86_64) glibc-devel-2.12-1.132.el6 (x86_64) libaio-0.3.107-10.el6 (x86_64) libaio-devel-0.3.107-10.el6 (x86_64) libstdc++-4.4.7-4.el6 (x86_64) libstdc++-devel-4.4.7-4.el6 (x86_64)
Let’s install it.
# yum install compat-libstdc++-33 Loaded plugins: security Setting up Install Process Package compat-libstdc++-33-3.2.3-69.el6.x86_64 already installed and latest version Nothing to do
Need to specific .i686. Learned something new here.
# yum install compat-libstdc++-33.i686 Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package compat-libstdc++-33.i686 0:3.2.3-69.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================================== Installing: compat-libstdc++-33 i686 3.2.3-69.el6 public_ol6_latest 188 k Transaction Summary ===================================================================================================================================================== Install 1 Package(s) Total download size: 188 k Installed size: 716 k Is this ok [y/N]: y Downloading Packages: compat-libstdc++-33-3.2.3-69.el6.i686.rpm | 188 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : compat-libstdc++-33-3.2.3-69.el6.i686 1/1 Verifying : compat-libstdc++-33-3.2.3-69.el6.i686 1/1 Installed: compat-libstdc++-33.i686 0:3.2.3-69.el6 Complete!
Let’s verify the RPMs.
# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | egrep '^compat-libstdc++|glibc-devel|libaio|^libstdc++'|sort compat-libstdc++-296-2.96-144.el6 (i686) compat-libstdc++-33-3.2.3-69.el6 (i686) compat-libstdc++-33-3.2.3-69.el6 (x86_64) glibc-devel-2.12-1.132.el6 (i686) glibc-devel-2.12-1.132.el6 (x86_64) libaio-0.3.107-10.el6 (i686) libaio-0.3.107-10.el6 (x86_64) libaio-devel-0.3.107-10.el6 (i686) libaio-devel-0.3.107-10.el6 (x86_64) libstdc++-4.4.7-4.el6 (i686) libstdc++-4.4.7-4.el6 (x86_64) libstdc++-devel-4.4.7-4.el6 (i686) libstdc++-devel-4.4.7-4.el6 (x86_64)
Let’s run RDA HCVE again.
[oracle@arrow:]/home/oracle/rda $ ./rda.sh -T hcve Processing HCVE tests ... Available Pre-Installation Rule Sets: 1. Oracle Database 10g R1 (10.1.0) Preinstall (Linux) 2. Oracle Database 10g R2 (10.2.0) Preinstall (Linux) 3. Oracle Database 11g R1 (11.1) Preinstall (Linux) 4. Oracle Database 11g R2 (11.2.0) Preinstall (Linux) 5. Oracle Database 12c R1 (12.1.0) Preinstallation (Linux) Enter the HCVE rule set number or 0 to cancel the test Hit "Return" to accept the default (0) > 4 Performing HCVE checks ... Enter value for < Planned ORACLE_HOME location > Hit "Return" to accept the default (/u01/app/oracle/product/11.2.0.4/dbhome_1) > Enter value for < JDK Home > > Test "Oracle Database 11g R2 (11.2.0) Preinstall (Linux)" executed at 18-Apr-2014 05:57:52 Test Results ~~~~~~~~~~~~ ID NAME RESULT VALUE ====== ==================== ======= ========================================== A00010 OS Certified? PASSED Adequate A00020 User in /etc/passwd? PASSED userOK A00040 Group in /etc/group? PASSED GroupOK A00050 Enter ORACLE_HOME RECORD /u01/app/oracle/product/11.2.0.4/dbho... A00060 ORACLE_HOME Valid? PASSED OHexists A00070 O_H Permissions OK? PASSED CorrectPerms A00080 oraInventory Permiss PASSED oraInventoryOK A00090 Got Software Tools? PASSED ld_nm_ar_make_found A00100 Umask Set to 022? PASSED UmaskOK A00120 Limits Processes PASSED Adequate A00125 Limits Stacksize PASSED Adequate A00130 Limits Descriptors PASSED Adequate A00140 LDLIBRARYPATH Unset? PASSED UnSet A00180 JAVA_HOME Unset? PASSED UnSet A00190 Enter JDK Home RECORD A00200 JDK Version FAILED JDK home is missing A00210 Other O_Hs in PATH? PASSED NoneFound A00220 Other OUI Up? PASSED NoOtherOUI A00230 Temp Adequate? PASSED TempSpaceOK A00240 Disk Space OK? PASSED DiskSpaceOK A00250 Swap (in MB) RECORD 6143 A00260 RAM (in MB) PASSED 3954 A00270 Swap OK? PASSED SwapToRamOK A00280 Network PASSED Connected A00290 IP Address RECORD NotFound A00300 Domain Name RECORD NotFound A00310 DNS Lookup FAILED Host not known A00320 /etc/hosts Format PASSED Adequate IPv4 entry A00330 Kernel Parameters OK PASSED KernelOK A00380 Tainted Kernel? PASSED NotVerifiable A00400 ip_local_port_range PASSED RangeOK A00480 OL4 RPMs OK? SKIPPED NotOL4 A00490 OL5 RPMs OK? SKIPPED NotOL5 A00500 OL6 RPMs OK? PASSED OL6rpmsOK A00530 RHEL4 RPMs OK? SKIPPED NotRedHat A00540 RHEL5 RPMs OK? SKIPPED NotRedHat A00550 RHEL6 RPMs OK? SKIPPED NotRedHat A00570 SLES10 RPMs OK? SKIPPED NotSuSE A00580 SLES11 RPMs OK? SKIPPED NotSuSE Result file: output/collect/DB_HCVE_A_DB11R2_lin_res.htm
Does not edit of /etc/pam.d/login to include the following:
session required pam_limits.so
So what is the lesson learned? Trust, but verify. Alternatively, RTFM!
Share this
You May Also Like
These Related Stories
No Comments Yet
Let us know what you think