Recently, I asked Rh or AS 3 on the problem of installing Linux. Many of them were caused by irregular operation. Please follow the steps below, I have tried it ten times, there is no problem! ! !
??
COMING SOON: Installing Oracle9i Rac on Red Hat Advanced 2.1 (This Article Will Also Cover Ocfs and FireWire Drives)
??
Installing Oracle 9i on Redhat Linux 7.1, 7.2, 7.3, 8.0, 9, Red Hat Advanced Server 2.1, And On Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3)
??
Oracle On Red Hat Linux Portal ??
??
Here is a summary (howto) of how I installed: ??
Oracle 9ir2 (9.2.0) Database On Red Hat Advanced Server 3 (kernel 2.3.2-95.3) ??
Oracle 9ir2 (9.2.0) Database on Red Hat Advanced Server 2.1 (Kernel 2.2.4-26) ??
Oracle 9ir2 (9.2.0) Database On Red Hat 9 (kernel kernel-2.4.20-6, glibc 2.3.2-5) ??
Oracle 9ir2 (9.2.0) Database on Red Hat 8.0 (Kernel 2.2.2.93-5) ??
Oracle 9ir2 (9.2.0) Database on Red Hat 7.3 (Kernel 2.2.5-34) ??
Oracle 9ir1 (9.0.1) Database on Red Hat 7.3 (kernel 2.2.5-34) ??
Oracle 9ir1 (9.0.1) Database on Red Hat 7.2 (Kernel 2.2.4-13) ??
Oracle 9ir1 (9.0.1) Database On Red Hat 7.1 (Kernel 2.2.2-10) ??
??
Validation / Certification: ??
Release 2 of Oracle 9i Database and Application Server, and Oracle E-Business Suite 11.5.7 have been certified on Red Hat Linux Advanced Server 2.1, see "Oracle and Red Hat Collaborate to Develop Enhanced Enterprise Capabilities for Red Hat Linux Advanced Server." Red Hat 7.1 Has Been Validated for Oracle9i Database and for Oracle9i Application Server, See Red Hat Announces Validation of Red Hat Linux for Oracle. See Also Oracle Products On Red Hat Linux.??
??
ERRORS AND problem: ??
Some of the oracle errors and proBeerieced in Connection with item (9.0.1) And some on fly with 9ir2 (9.2.0). But Since I Cannot Say for Sure That A 9i (9.0.1) Installation Error Will Never Show Up During 9ir2 (9.2.0) Installation, I Simply Kept All Errors and Problems listed together, See Oracle Installation Errors and Oracle Installation Problems, Important Tips and Hints. ????
Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3) ??
In order to install an Oracle9iR2 database on RH AS 3, the "Oracle9iR2 Patch Set 3 9.2.0.4.0" patchset and some other patches must be applied. Some errors can only be fixed by applying the 9.2.0.4 patchset. For more information See Running Oracle Installation On Red Hat Enterprise Linux Advanced Server 3. ??
??
Red Hat 9: ??
Red Hat 9 includes now the the Native POSIX Thread Library (NPTL) which is an improved implementation of POSIX threads for Linux. But using NPTL will cause several problems for Oracle applications. Note that Oracle9i has not been certified on Red Hat 9! ??
So to fix this problem, you can set the environment variable LD_ASSUME_KERNEL to 2.4.1, which means that the old "Linuxthreads with floating stacks" implementation will be used. Otherwise the Oracle installer runInstaller will hang, the Database Configuration Assistant dbca will not START ETC .; see Oracle Installation Errors for more information. To see WHERE this Environment Variable Can Be set, See set Oracle Environments. for more information on ld_assume_kernel, See Red Hat Linux 9 Release Notes.??
NOTE: Before you install Oracle9iR2, make sure that you first read the information about the error message "Error in invoking target install of make file /opt/oracle/product/9.2.0/network/lib/ins_oemagent.mk" in the Oracle Installation Errors Section! ????
Red Hat 8.0: ??
The only problem I expenented with oracle 9ir2 (9.2.0) on Red Hat 8.0 WAS: ??
"Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk" ??
But this does not Necessarily Mean That You Won't See Other Problems Described Here. See Oracle Installation Errors for more information.??
??
??
This Article Covers The Following Subjects and Steps: ??
??
* Documentations
* Downloading and Installing Red Hat Linux 7.1, 7.2, 7.3, 8.0, 9
* Unpacking Downloaded Oracle9i Installation Files and Burning Oracle9i CDS
* Setting Swap Space
* Setting Shared Memory
* Checking / TMP Space
* SIZING ORACLE DISK SPACE
* The "binutils" ISSUE
* Checking Developments Packages (RPMS)
* JDK
* CREATING Oracle User Accounts
* CREATING Oracle Directories
* Setting Oracle Environments
* Starting Runinstaller
* Running Oracle Installation On RH 7.1, 7.2, 7.3, 8.0, 9, And on RH AS 2.1
* Running Oracle Installation On Red Hat Enterprise Linux Advanced Server 3
* Startup and shutdown of the oracle 9i database
* Oracle Installation Problems, Tips and Hints
* Oracle Installation ErrorS
??
Documentations
Oracle9i Database Documentation for Linux ??
TUNING AND OPTIMIZING Red Hat Linux Advanced Server for Oracle9i Database ??
Oracle9ir2 on Linux: Performance, Reliability And ManageAbility Enhancements on Red Hat Linux Advanced Server 2.1 ??
An Overview of Red Hat Advanced Server V2.1 Reliability, Availability, Scalability, And ManageAbility (RASM) Features ????
Downloading and Installing Red Hat Linux 7.1, 7.2, 7.3, 8.0, 9 ??
To Download Red Hat Linux 7.x, 8.0, 9, Check The Links At http://www.puschitz.com/redhatdownload.html ??
You Can Find The Installation Guides for Installing Red Hat Linux Under Red Hat Linux Manuals. ??
??
Note: you cannot Download Red Hat Linux Advanced Server 2.1, You Can Want To Get The Binary CDS, You Will Have To Buy It At http://www.redhat.com/software/linux/ Advanced /. But Red Hat Is Offering A Developer Edition of Advanced Server 2.1 At a Very Affordable Price. ??
??
Unpacking Downloaded Oracle9i Installation Files and Burning Oracle9i CDS ??
??
Download Oracle9i for Linux from The Following Web Site: ??
http://otn.oracle.com/software/products/oracle9i/htdocs/linuxsoft.html ??
??
Uncompress and unpack downloaded files: ??
??
For oracle9i (9.2.0): ??
??
One Step Procedure (Uses Less Disk Space and IS Faster):
??
? zcat lnx_920_disk1.cpio.gz | CPIO -IDMV
? zcat lnx_920_disk2.cpio.gz | CPI -IDMV
? zcat lnx_920_disk3.cpio.gz | CPI -IDMV
TWO Step Procedure:
??
? # Uncompress
?? Gunzip lnx_920_disk1.cpio.gz lnx_920_disk2.cpio.gz lnx_920_disk3.cpio.gz Linux9i_disk3.cpio.gz
??
? # Unpack the downlined files:
?? cpio -idmv ?? cpio -idmv ?? cpio -idmv ?? For Oracle9i (9.0.1): ?? ?? One Step Procedure (Uses Less Disk Space and IS Faster): ?? ? zcat linux9i_disk1.cpio.gz | CPIO -IDMV ? zcat linux9i_disk2.cpio.gz | CPIO -IDMV ? zcat linux9i_disk3.cpio.gz | CPIO -IDMV TWO Step Procedure: ?? ? # Uncompress?? Gunzip Linux9i_disk1.cpio.gz Linux9i_disk2.cpio.gz Linux9i_disk3.cpio.gz ?? ? # Unpack the downlined files: ?? cpio -idmv ?? cpio -idmv ?? cpio -idmv ?? Now You Should Have 3 Director Containing Installation Files: ?? ?? Disk1 Disk2 DISK3 I Executed The Following Commands When I BURNED THE 3 CDS: ?? Mkisofs -r disk1 | cdrecord -v --eject dev = 0,0,0 speted = 15 - Mkisofs -r disk2 | cdrecord -v --eject dev = 0,0,0 speted = 15 - Mkisofs -r disk3 | cdrecord -v --eject dev = 0, 0, 0 speed = 15 - (You can get the dev numbers when you expected cdrecord -scanbus).?? ?? Setting Swap Space ?? ?? In order to perform a typical Oracle 9i installation and to create a simple prototype database, Oracle says that you need a minimum of 512MB of RAM for the Oracle9i (9.0.1) Server, and the amount of disk space (swap space) should be Equal to TWICE The Amount of Ram or at Least 400 MB, Whichever Is Greater. ?? I Tried to Test The Limits ON AN OLDER PC with 256 MB of Ram and $ 600 MB of Swap Space. I Was Able To Install Oracle 9i (9.0.1 & 9.2.0) And Oracle's Default Database WITHOUT ANY Problems. But when I Used Less Swap Space On this PC (256MB RAM), I Was Runnig Out of Memory. SO I Definitely Recommend To Use More Ram and / or More Swap Space As Specified In The Oracle Installation Guide.?? ?? NOTE: If you do not have enough swap space or RAM during the Oracle installation, in particular during the database creation, your Oracle server (Linux) will temporarily become unresponsive to any events for several minutes ??. ?? For More Information On Correctly Sing The Swap Space for your database, see SIZING SWAP SPAP Space. ???? To check the memory, run: ?? GREP MEMTOTAL / PROC / MEMINFO To Check the swap space, run: ?? CAT / proc / swaps ?? You Can Also Add Temporary Swap Space by Creating A Temporary Swap File Instead of Using A Raw device. Here is the procedure: ?? Su - root DD if = / dev / zero of = tmpswap bs = 1k count = 900000 CHMOD 600 TMPSWAP MKSWAP TMPSWAP Swapon Tmpswap To Disable The Temporary Swap Space Execute The Following Commands: ?? Su - root Swapoff tmpswap RM TMPSWAP ?? Setting shared memory ?? ?? For Oracle 9i (9.2.0) installation I had to increase the maximum shared memory size on my Linux server for all Red Hat versions The Oracle Database Configuration Assistant displayed the following error message on my server.: ?? ORA-27123: Unable to attach to shared memory segment. I Temporarely increased the shmmmax setting for the kernel by Executing The Following Command: ?? $ su - root # cat / proc / sys / kernel / shmmax 33554432 # echo `EXPR 1024 / * 1024 / * 1024`> / proc / sys / kernel / shmmax # cat / proc / sys / kernel / shmmax 1073741824 It is recommended to increase the shmmmax setting permanently for oracle. For more information, see setting shared memory. ?? ?? For more information on optimizing shared memory settings for Oracle databases on Linux, see Setting Shared Memory. These parameters apply to all Red Hat Linux versions. But note that except for the shmmax parameter, these parameter do not need to be changed for installing Oracle on Linux. But you might want to adjut shard memory settings later to optimize the server for oracle.?? ?? Checking / TMP Space ?? ?? The Oracle Universal Installer Requires Up to 400 MB of Free Space In The / Tmp Directory. ???? To Check the space in / tmp, run: ?? $ DF / TMP IF you do not have enough space in the / tmp directory, you can temporarily create a TMP Directory in Another FileSystem. Here Is How you can do this: ?? Su - root MKDIR / / TMP Chown root.root / / TMP CHMOD 1777 / / TMP Export temp = / ??????? # buy by oracle Export TmpDir = / ???? # @ used by linux programs like the Linker "LD" When you are doe with your oracle installation, shutdown oracle and remove the temporary directory: ?? Su - root RMDIR / / TMP Unset Temp Unset tmpdir ?? SIZING ORACLE DISK SPACE ?? ?? You will NEED ABOUT 2.5 GB for the Database Software. If you Perform A Typical Database Installation and not a customize, the you will need, the you will,............................................... ?? The "binutils" Issue ?? ?? Skip this step for oracle9ir2. ?? I DID NOT Experience this Problem with Oracle 9i (9.2.0), But Only with Oracle 9i (9.0.1).?? ?? The Binutils Package That Comes with Red Hat 7.1, 7.2, 7.3, And with Redhat 2.1 Advanced Server Doesn't Work with Oracle 9i (9.0.1) Universal Installer. Here Are The Options You have for 9.0.1: ?? ?? I Recommend The Following Approach: ?? Wait for the following oracle installation error: ?? "Error Invoking Target Install of Makefile /opt/oracle/product/9.0.1/plsql/lib/ins_plsql.mk" And Fix this problem as described in Oracle Installation Errors.?? I Recommend this Approach Since It Obviates The NEED TO CHANGE BINUTILS.?? I do Not Recommend The Following Approach: ?? Download The Following Binutil RPM Version and Downgrade Binutil on The Oracle Server: FTP: //ftp.redhat.com/pub/redhat/linux/7.0/EN/OS/i386/redhat/rpms/binutils-2.10.0.18-1.i386.0.18-1.i386.rpm ???? Su - root RPM -UVH --force --Nodeps binutils-2.10.0.18-1.i386.0.18-1.i386.rpm WHEN you are done with the oracle installation, you Upgrade your binutil rpm back to the version you had before you downded. E.g. on the red hat 7.2 server i DID: ?? RPM -UVH --force --Nodeps binutils-2.11.90.0.8-9.i386.rpm Here Is Oracle's Official Solution for Oracle 9ir1 or 9ir1 IAS on Redhat 2.1 Advanced Server Which I don't like: ?? http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.html ?? ?? Checking Development Packages (rpms) ?? ?? You Will Need Some Rpm Development Packages for the Oracle Installer To Build The Oracle Modules, Other WiOULL GET An Error Messages Similar To this ONE: ?? ERROR in invoking target ntcontab.o of makefile ?? /opt/oracle/product/9.2.0/neetwork/lib/ins_net_client.mk ?? Developments (RPMS) For RH 7.1, 7.2, And RH AS 2.1: ?? To See et................. RPM -Q GCC CPP Compat-LibSTDC Glibc-Devel Kernel-Headers Binutils For instance, most of these packages will be missing when you installed RedHat 2.1 Advanced Server and if you did not select the "Software Development" package. For the RedHat 2.1 Advanced Server I executed the following commands to install the missing RPMs from the two CDs :?? Su - root RPM-IVH CPP-2.96-108.1.i386.rpm / GLIBC-Devel-2.2.4-26.i386.rpm / Kernel-headers-2.4.9-E.3.I386.RPM / GCC-2.96-108.1.i386.rpm / Binutils-2.11.90.0.8-12.i386.0.8-12.i386.0.8-12.i386.RPM ?? Developments (rpms) for rh 7.3, 8.0, and 9: ?? To See et..? For Instance, When I Installed Red Hat 9.0 and when I buy the default packages for the installation type "server", i had to install the folload rpms installs: ?? Su - root RPM-IVH Binutils-2.13.90.0.18-9.i386.rpm / CPP-3.2.2-5.i386.rpm / GCC-3.2.2-5.i386.rpm / GLIBC-Devel-2.3.2-5.i386.rpm / Glibc-kernheaders-2.4-8.10.i386.rpm ?? ?? Developments (rpms) for Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3): ?? To See et................. RPM -Q GCC CPP Compat-LibSTDC Glibc-Devel Glibc-Headers Glibc-Kernheaders Binutils ?? NOTE: Before you install Oracle9iR2, make sure that you also read the information about the error message "Error in invoking target install of make file /opt/oracle/product/9.2.0/network/lib/ins_oemagent.mk" in the Oracle Installation Errors Section!?? ?? JDK ?? ?? Skip this step for oracle9ir2. ?? I successfully installed Oracle9iR2 without installing JDK on the system Oracle comes now with its own Java This means that you do not have to execute the following steps which were required for older Oracle versions:.. ?? ?? Download JDK 1.3.1 OR BlackDown 1.1.8_v3: (I Usually Used Blackdown) http://www.blackdown.org http://java.sun.com ?? According to the JDK Documentation, Install JDK Under / USR / local. THEN CREATE A SYMBOLIC LINK To the JDK Under / usr / local / java: ?? Su - root BZIP2 -DC JDK118_V3-Glibc-2.1.3.tar.bz2 | TAR XF - -C ?? / usr / local LN -S / usr / local / jdk118_v3 / usr / local / java ?? Creating Oracle User Accounts ???? Su - root GroupAdd DBA? ??? # group of users to be granted with sysdba system privilege GroupAdd Oinstall? ??? # group Owner of Oracle Files UserAdd -c "Oracle Software Owner" -g Oinstall -g DBA Oracle Passwd oracle For more information on the "oinstall" group account, seehen to use "oinstall group during install of oracle.?? ?? Creating Oracle Directories ?? ?? In this example, make sure that the / opt filesystem is large enough, see Oracle Disk Space for more information. If / opt is not on a separate filesystem, then make sure the root "/" has enough filesystem space. ?? ?? Su - root MKDIR / OPT / ORACLE MKDIR / OPT / ORACLE / PRODUCT Mkdir /opt/oracle/product/9.2.0 Chown -r oracle.oinstall / OPT / ORACLE ??????????????????? MKDIR / VAR / OPT / ORACLE Chown Oracle.dba / Var / OPT / ORACLE CHMOD 755 / VAR / OPT / ORACLE ?? Setting Oracle Environments ?? ?? Set The Following Oracle Environment Variables Before You Start Runinstaller.?? ?? As the oracle user execute the folowing commands: ?? # Set the ld_assume_kernel environment variable only for red hat 9 and # for red hat Enterprise Linux Advanced Server 3 (rhel as 3) !! # Use the "linuxthreads with floating stacks" IMPLEMENTATION INSTEAD OF NPTL: Export ld_assume_kernel = 2.4.1 ?? # Oracle Environment Export oracle_base = / opt / oracle Export Oracle_Home = / OPT / ORACLE / Product / 9.2.0 Export Oracle_sid = TEST Export Oracle_Term = xterm # export tns_admin = set if sqlnet.ora, tnsnames.ora, etc. Are Not in $ Oracle_Home / Network / Admin Export NLS_LANG = American; Export ORA_NLS33 = $ Oracle_Home / Ocommon / NLS / Admin / Data LD_LIBRARY_PATH = $ oracle_home / lib: / lib: / usr / libld_library_path = $ ld_library_path: / usr / local / lib Export ld_library_path ?? # Set shell search paths Export path = $ PATH: $ oracle_home / bin ?? I successfully installed oracle9ir2 welch setting the following classpath environment variable: ?? # ClassPath = $ oracle_home / jre: $ oracle_home / jlib: $ oracle_home / rdbms / jlib # ClassPath = $ ClassPath: $ oracle_home / network / jlib # export classpath ?? You can put these environment settings at the end of the ~ oracle / .bash_profile file if you use bash. By this way you do not have to set the environment variables again when you login as "oracle", or when you switch to the User "Oracle" by Executing "Su - Oracle".?? ?? Starting Runinstaller ?? ?? Before You Continue, Make Sure You Have Set The Oracle Environment Variables, See Above. ?? ?? Oracle no longer supports a character mode installer. Therefore, in order to execute runInstaller directly from a console of a machine you are logged into (in this example the node name where Oracle is running is called "oracleserver"), you need to set the DISPLAY environment variable. Before you do that, make sure that you also allow runInstaller on "oracleserver" to display X information on your Linux desktop machine (in this example, the PC name where you are running X Windows like KDE or GNOME is called " yourdesktop "), because programs running on remote machines can not display information to your screen unless you give them the authority to do so. Note that the X display relink mechanism does not work for NT desktop machines unless you use Exceed. ?? Before you run runinstaller, Execute E.G. 'xterm' to See if Your x setup is real Working! If you install oracle on Your Desktop PC and not on a Remote Node, THEN You Can Skip Step 1 and 3.?? Step 1: Allow "Oracleserver" to Display X Information To your Desktop PC "YourDesktop": ?? ?? YourDesktop: user $ xhost oracleserver Step 2: Open a new window and login to the Oracle Server "Oracleserver" as root. This window Will be used for mounting and unmounting the oracle cds.?? Oracleserver: $ su - root ?? OraclesRVER: root # mount / mnt / cdrom ?? Step 3: from the console of your Oracle Server "Oracleserver" Where you will run runinstaller, Execute the follineing commands: ?? Oracleserver: $ su - oracle ?? OraclesRVER: Oracle $ export display = YourDesktop: 0.0 Step 4: Now Execute Runinstaller As "Oracle". Do not cd to / mnt / cdrom !! ?? ?? OraclesRVER: Oracle $ / MNT / CDROM / RUNINSTALLER ?? Note: Don't Run Runinstaller for Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3) YET! See Running Oracle Installation On Red Hat Enterprise Linux Advanced Server 3 for more information. ?? ?? Running Oracle Installation on RH 7.1, 7.2, 7.3, 8.0, 9, And On RH AS 2.1 ?? ?? Keep In Mind That You Will Get One or More Errors Here During The Oracle Installation! See Oracle Installation Errors for more information. ?? This Is How I Answered The Questions for the Runinstaller: ?? - What Would You Like As the Base Directory: ?? ?? / opt / oracle / ORAINVENTORY - Unix Group Name (Permission for Updating Oracle Software): ?? ?? oinstall YOU COULD Also Use "DBA" Which I do Not Recommend for Security Reasons. ?? For more information on the "oinstall" Group account, see?? When to use "oinstall" group during install of oracle. ?? - Full Path Name for Oracle Home: ?? ?? /opt/oracle/Product/9.2.0 ETC. ?? Running Oracle Installation on Red Hat Enterprise Linux Advanced Server 3 ?? ?? In order to install an Oracle9iR2 database on RH AS 3, the "Oracle9iR2 Patch Set 3 9.2.0.4.0" patchset and some other patches must be applied. Some errors can only be fixed by applying the 9.2.0.4 patchset. ?? ?? Installing Oracle9ir2 ?? Install The Following RPMS (See Oracle Note: 252217.1 for more information: ?? Su - root RPM -IVH / Compat-DB-4.0.14-5.i386.rpm / COMPAT-GCC-7.3-2.96.122.i386.rpm / COMPAT-GCC-C - 7.3-2.96.122.i386.rpm / Compat-libstDC - 7.3-2.96.122.i386.rpm / Compat-libstdc - devel-7.3-2.96.122.i386.rpm / OpenMotiF21-2.1.30-8.i386.rpm / Setarch-1.3-1.i386.rpm / TCL-8.3.5-92.i386.rpm Relink GCC SO That The Older GCC Will BE Used During The Oracle Installation: ?? Su - root MV / USR / BIN / GCC / USR / BIN / GCC323 LN -S / USR / BIN / GCC296 / USR / BIN / GCC MV / USR / BIN / G / usr / bin / g 323?? # i i n't exist, Then GCC-C Was Not Installed LN -S / USR / BIN / G 296 / usr / bin / g ?? WHEN You Execute Runinstaller from the Oracle 9ir2 (9.2.0) CD, You Will Get The Following Error Message: ?? Error Occurred During Initialization Of VM Unable to load native library: /tmp/orainstall2003-10-25_03-14-57pm/jre/lib/i386/libjava.so: ? ??? symbol __libc_wait, version glibc_2.0 not defined in file libc.so.6 with link time reference ?? To resolve resolve the __libc_wait symbol issue, Download The P3006854_9204_linux.zip from http://metalink.racle.com. See bugs 3006854 for more information. ???? To apply the patch, run ?? Su - root # unzip p3006854_9204_linux.zip Archive: ?? p3006854_9204_linux.zip ?? CREANG: 3006854 / ?? Inflating: 3006854 / rhel3_pre_install.sh ?? inflaning: 3006854 / readme.txt ?? # CD 3006854 # sh rhel3_pre_install.sh Applying Patch ... Patch SuccessFully Applied # ?? NOTE: if you get the following error when you run rhl3_pre_install.sh: ?? ?? rhel3_pre_install.sh: line 36: GCC: Command NOT FOUND THEN You Forgot To Install or Link GCC, See Above. This Means You can't Start Any Binaries Any More: ?? # ls Ls: Error While Loading Shared Libraries: /etc/libcwait.so: Cannot Open Shared Object File: No Such File or Directory # To FIX That, Run: ?? # echo "> /etc/ld.so.preeload Rm /etc/ld.so.preload And Start over again. ?? ?? Now Runinstaller Can Be Started from the CD: ?? Su - Oracle $ Echo $ ld_assume_kernel? # it is important this variable is set! 2.4.1 $ / mnt / cdrom / runinstaller ?? ?? - Welcome screen :? ?? Click Next ?? - inventory location :?? Click Next ?? - UNIX Group name :? ??? USE "oinstall" and Click Next ??????????????, One asked to run /tmp/orainstroot.sh, run it before you click Continue ?? - file locations :?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?? - Available Products :?? Select "Oracle9i Database 9.2.0.1.0" ?? - Installation Types :?? Select Custom Since We Only Want To Install The Software for Now ?? - Available Products :?? Click Next OR Add Some More Components. ?? - Components Locations: Accept default values and click Next ?? - privileged operation system groups :? ?? ?? ?????????? I buyed the default values: osdba group = dba, osoper group = DBA ?? - Oracle Managent Server Repository: ??????????????? I buy the default choice ?? - CREATE DATABASE:??? Select No Since We First Have To Patch Oracle Before A Database Can Be CREATED! ?? - summary:???????? Start the install ?? - Configuration Tools: ?? Tools Won't come up. Simply Ignore IT. ?? - at the end of the installation, exit runinstaller. ?? ?? You May Get The Following Errors: ?? Error Invoking Target Install of Makefile /opt/oracle/product/9.2.0/neetwork/lib/ins_oemagent.mk. ?? ?? The /opt/oracle/product/9.2.0/install/make.log file reads: ?? ?? /opt/oracle/product/9.2.0/neetwork/lib/libnmi.a (snmitcln.o) (. Text 0xA4e): in function `NLS_FORMATCMD ': ??: undefined reason to `__cType_b ' ?? /opt/oracle/product/9.2.0/neetwork/lib/libnmi.a (snmitcln.o) (. Text 0x159d): in function `NLS_SCANCMD ': ??: undefined reason to `__cType_b ' ?? /opt/oracle/product/9.2.0/network/lib/1.2.0/neetwork/lib/libnmi.a (snmitcln.o) (. Text 0x1603): more undefined References to `__cType_b 'FOLLOW ?? Collect2: ld returned 1 exit status ? marke: *** [dbsnmp] Error 1 ?? Click ignore. This will be fixed by applying the patch 3119415 after the 9.2.0.4 patchset has been applied. You will not be able to apply the patch 3119415 at this time since the file / opt / oracle / oraInventory / ContentsXML / comps. XML Doesn't exist yet. ?? ?? ERROR in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk. ?? ?? The /opt/oracle/product/9.2.0/install/make.log file reads: ?? ?? / usr / bin / ld: ctxhx: hidden symbol `Stat 'in /usr/lib/libc_nonshared.a (STAT.OS) Is Reference2: ld Returned 1 Exit stat STATUS ? marke: *** [ctxhx] error 1 ?? Click Ignore. This is fixed by applying the 9.2.0.4 patset. ?? ?? Patching Oracle9ir2: ?? To Patch Oracle9ir2, Download The Oracle 9i Release 2 Patch Set 3 Version 9.2.0.4.0 for Linux X86 from http: //metalink.Oracle.com. ?? ?? Copy The Downloaded "P3095277_9204_linux.zip" File to E.G. / TMP and Run The Following Command: ?? Su - Oracle $ CP P3095277_9204_linux.zip / TMP $ CD / TMP $ unzip p3095277_9204_linux.zip Archive: ?? p3095277_9204_linux.zip ?? Inflating: 9204_lnx32_release.cpio ?? inflating: readme.html ?? inflaning: patchnote.css $ $ CPIO -IDMV <9204_lnx32_release.cpio DISK1 / Stage / LOCKS Disk1 / stage / patches / oracle.apache.isqlplus / 9.2.0.4.0 / 1 / datafiles / bin.1.1.jar Disk1 / stage / patches / oracle.apache.isqlplus / 9.2.0.4.0 / 1 / DataFiles / lib.1.1.jar ... ?? To patch the runinstaller, run: ?? Su - Oracle $ Echo $ ld_assume_kernel? # it is important this variable is set! 2.4.1 $ CD / TMP / DISK1 / $ ./runinstaller ?? ?? - Welcome screen :? ?? Click Next ?? - file locations :?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?? - Available Products :?? SELECT "Oracle Universial Installer 2.2.0.18.0!" ?? - Components Locations: Accept default values and click Next ?? - summary:???????? Start the install ?? - at the end of the installation, exit runinstaller! ?? To Patch Oracle9ir2, Run: ?? Su - Oracle $ Echo $ ld_assume_kernel? # it is important this variable is set! 2.4.1 $ cd $ oracle_home / bin $ ./runinstaller ?? ?? - Welcome screen :? ?? Click Next ?? - file locations :?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?? - Available Products :?? SELECT "Oracle9ir2 Patch Set 3 9.2.0.4.0!" ?? - summary :? ?? ?? ??? Start the Install ?? - at the end of the installation, exit runinstaller ?? You May Get The FOLLOWING Error: ?? Error Invoking Target Install of Makefile /opt/oracle/product/9.2.0/neetwork/lib/ins_oemagent.mk. ?? ?? The /opt/oracle/product/9.2.0/install/make.log file reads: ?? ?? /opt/oracle/product/9.2.0/neetwork/lib/libnmi.a (snmitcl.o) (. Text 0x1cc): in function `Get_ora_stmt_handle ': ??: undefined reason to `__cType_b ' ?? /opt/oracle/product/9.2.0/neetwork/lib/libnmi.a (snmitcl.o) (. Text 0x124e): in function `ORAPROCESS_OID ': ??: undefined reason to `__cType_b ' ?? /opt/oracle/product/9.2.0/neetwork/lib/libnmi.a (snmitcl.o) (. Text 0x176c): more undefined References to `__cType_b 'FOLLOW ?? Collect2: ld returned 1 exit status ? marke: *** [dbsnmp] Error 1 ?? Click ignore. This will be fixed by applying the patch 3119415 after the 9.2.0.4 patchset has been applied. The patch 3119415 can not be applied while the patch process for the 9.2.0.4 patchset is running. ?? ?? After the 9.2.0.4 patchset has been applied, download the patch p3119415_9204_LINUX.zip from http://metalink.oracle.com See bug 3119415 for more information Also, download the opatch Release 2.2.0 utility from http:.. // metalink .oacle.com. See bugs 2617419 for more information.?? ?? To Install Opatch, Run: ?? Su - Oracle $ CP P2617419_210_Generic.zip / TMP $ CD / TMP $ unzip p2617419_210_generic.zip Before you apply the 3119415 patch, you need to make sureser, see be't be applch. ?? ?? To Apply the 3119415 Patch, Run ?? Su - Oracle $ unzip p3119415_9204_linux.zip $ CD 3119415 $ export path = $ PATH: / TMP / OPATCH $ export path = $ path: / sbin? ???? # the patch Needs "fuser" Which is located in / sbin $ Which Opatch / TMP / OPATCH / OPATCH $ OPATCH APPLY ?? Now you shop be aable to create a database with dbca: ?? Su - Oracle DBCA ?? And Don't forget to undo the change (links) to / usr / bin / gcc and / usr / bin / g if you don't need it any more. Also don't forget the /etc/ld.so.preload File. ?? ?? Startup and shutdown of the oracle 9i database ?? ?? SQLPLUS: ?? ?? SVRMGRL IS Not Supported Any More. You can now do everything with sqlplus. ?? ?? For Instance, To Startup The Database, Run The Following Commands: ?? ?? Oracle $ SQLPLUS / NOLOG SQL> Connect / as sysdba SQL> Startup The Slash Connects You To The Schema Owned by Sys. So in This Example You Will Be Connected To The Schema Owned by Sys with The Privies You The Following Privileges: ?? ? - SYSOPER Privileges with admin Option ? - CREATE DATABASE ? - Recover Database Until ?? $ Oracle_home / bin / dbstart and $ oracle_home / bin / dbshut ?? You can also use $ ORACLE_HOME / bin / dbstart to startup the database, and $ ORACLE_HOME / bin / dbshut to shutdown the database. You can place $ ORACLE_HOME / bin / dbstart into the /etc/rc.d/rc.local boot script to automatically bring up the database at system boot time. to get $ ORACLE_HOME / bin / dbstart and $ ORACLE_HOME / bin / dbshut working, you need to change the third field for your Oracle SID in / etc / oratab from "N" to " Y. ?? For example, for the oracle sid "test" i change the line in / etc / oracab from: ?? ?? Test: /opt/oracle/product/9.2.0: NTO Read: ?? ?? Test: /opt/oracle/Product/9.2.0: Y ?? In Some Cases for 9.2.0 I Also Had to Copy Test File for My Sid "Test" from / opt / oracle / admin / test / pfile to $ oracle_home / dbs to get dbstart and dbshut working: ?? Cp /opt/oracle/admin/test/pfile/inittest.ora.64200224936 $ oracle_home / dbs / inittest.ora Butfirst Make Sure IF Your Init File Already EXISTS IN $ Oracle_Home / DBS! ?? If you want to properly integrate Oracle9i into the Red Hat Linux 7 SysV init process, check out http://www.gurulabs.com/downloads.html. "Oracle9i RHL Run Package" is based on a GPLd RPM provided by SuSE, but HAS BEEN Heavily Modified to Fit As Seamless AS Possible Into Red Hat Linux. ?? ?? Oracle Installation Problems, Tips and Hints ?? ?? Some of these problems applly only to 9.0.1! ?? Do Not Cd to Run ./RunInstaller! IF you do so, the installation will fail Because you Won't becomle to change the cds. ?? If you forgot to set the DISPLAY environment variable (eg export DISPLAY = oracleserver: 0.0), or if you forgot to give the remote console - your Oracle Server - authority to display X information on your desktop PC (eg xhost oracleserver), then You Will Get The Following Error: ?? XLIB: Connection To ": 0.0" Refused by Server XLIB: Client Is Not Authorized to Connect To Server In this case, I always had to kill runInstaller in Oracle9iR1 (9.0.1) which was still running in the background. If I did not do this in 9.0.1, runInstaller did not completely come up any more without displaying any error Messages. You might alsowant to clean up / tmp / orapostall.?? ?? When runInstaller starts to configure the tools ( "Configuration Tools"), the "Oracle Net Configuration Assistant" will sometimes hang. Simply stop the Assistant and restart it, or continue the installation. When the rest of the installation is finished, do a " Retry "for" Oracle Net Configuration Assistant ". This always worked for me.??When the system stops responding during the Oracle installation in particular during the database creation, then that's probably because you do not have enough RAM or enough swap space. I Saw The Whole System Not Responding Or To "HANG" for Several Minutes When I Did Not Have Enough Swap Space. If this happens, Simply Wait Until The System Starts To Respond Again.?? The Oracle installation also runs make etc. In a production environment you might not have compilers and other development packages installed Therefore make sure you have temporarily the following packages installed:. Gcc, cpp, glibc-devel, compat-libstdc , kernel-headers ( For RH 7.1, 7.2, 2.1AS), Glibc-Kernheaders (for RH 7.3, 8.0, 9.0), Binutils. See Also Development Packages for more information. ?? ?? IF for Any Reason The Oracle9i Installation Didn't Finish Success, You Might Want To Clean Up The Following Files and Director Before You Start over Again: /etc/orainst.loc / etc / ORATAB / TMP / $ Oracle_base / * ?? Other problems: ?? You might want to check out the oracle on linux discussion forum.?? ?? Oracle Installation Errors ?? ?? Here Is A List of Oracle 9i (9.0.1 & 9.2.0) Installation Problems and Issues. Some Issues, Errors, Problems, And Solutions Apply Only to 9.0.1 and some only to 9.2.0. Since i DID NOT Experience ALL of the problems here, I am not able to verify the correctness of all the solutions. However, I experienced almost all of the problems listed here. If you have other problems and you were able to resolve them, then please drop me an email at Webmaster_at_puschitz.com so what can add it to the list here. ???? Here Is A List of Issues Issues, Errors, Problems and Solutions: ?? Log files ?? First Check Always The Error Logs for 9.2.0 In / Tmp / ORAINSTALL (EG / TMP / ORAINSTALL 2002-07-04_09-50-19PM), AND for 9.0.1 in / tmp / orapotall. When You get make problems, check also The File $ Oracle_Home / Install / make.log. ?? "VARIOS Make Problems ?? Make Sure That GCC Is Installed on Your System: ?? $ Which GCC / usr / bin / gcc ?? Here is the command to find the rpm package name for / usr / bin / gcc: ?? $ rpm -qf / usr / bin / gcc GCC-2.96-98 ?? Check also The Other Error Messages Below. See Also Development Packages for more information.?? ?? "Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk" ?? I saw this error only when I installed Oracle9iR2 (9.2.0). This was also the only problem I experienced with Oracle 9i R2 on Red Hat 8.0. However, this does not necessarily mean that you will not experience other problems described here. ?? ?? When i Had this Problem, The Following Errors Showed Up in $ Oracle_Home / Install / Make.log: ?? ?? /LIB/LIBDL.SO.2: undefined reference to `_dl_addr @ glibc_private ' ?? /LIB/LIBDL.SO.2: undefined reference to `_dl_open @ glibc_private '? /lib/libdl.so.2: undefined reference to` _dl_close @ glibc_private' ?? /LIB/LIBDL.SO.2: undefined reference to `_dl_sym @ glibc_private ' ?? /LIB/LIBDL.SO.2: undefined reference to `_dl_vsym @ glibc_private ' ?? THIS ERROR COMES UP WHEN THE FOLLOWING STEP IS EXECUTED:?? ? / usr / bin / make -f ins_ctx.mk install oracle_home = / opt / oracle / product / 9.2.0 ?? Edit the file $ oracle_home / ctx / lib / env_ctx.mk, Go to "INSO_LINK =" and add a "$ (ldlibflag) DL" to the line and save it. ?? ?? Here Is The Full Line with The Added "$ (LDLIBFLLAG) DL" Flag: ?? ?? INSO_LINK = -L $ (CTXLIB) $ (LDLIBFLAG) m $ (LDLIBFLAG) dl $ (LDLIBFLAG) sc_ca $ (LDLIBFLAG) sc_fa $ (LDLIBFLAG) sc_ex $ (LDLIBFLAG) sc_da $ (LDLIBFLAG) sc_ut $ (LDLIBFLAG) sc_ch $ ( LDLIBFLAG) SC_FI $ (LLIBCTXHX) $ (LDLIBFLAG) C -WL, -RPATH, $ (CTXHOME) LIB $ (COMPEOBJS) ?? ?? After That Hit Retry in the error popup. ?? ?? IF this Didn't Work, THEN TRY The FOLLOWING: ?? Edit the file $ oracle_home / ctx / lib / env_ctx.mk Again, Go to "INSO_LINK =" ? ?? Here is the full beliend with the add "` Cat $ (liBhome) / sysliblist` "string: ?? ?? INSO_LINK = -L $ (CTXLIB) $ (LDLIBFLAG) m `cat $ (LIBHOME) / sysliblist` $ (LDLIBFLAG) sc_ca $ (LDLIBFLAG) sc_fa $ (LDLIBFLAG) sc_ex $ (LDLIBFLAG) sc_da $ (LDLIBFLAG) sc_ut $ (LDLIBFLAG ) SC_CH $ (LDLIBFLAG) SC_FI $ (LLIBCTXHX) $ (LDLIBFLAG) C -WL, -RPATH, $ (CTXHOME) LIB $ (COMPEOBJS) ?? ?? After That Hit Retry in the error popup. ?? ?? ORA-27123: UNABLE TO Attach to Shared Memory Segment.?? I Saw this error ONLY WHEN I Installed Oracle 9i R2 (9.2.0).?? ?? THIS Error Message Came Up When the Oracle Database Configuration Assistant Was Running. I Executed The Following Command To Temporarily Increase THE MAXIM SHARED MEMORY SIZE:?? Su - root # cat / proc / sys / kernel / shmmax 33554432 # echo `EXPR 1024 / * 1024 / * 1024`> / proc / sys / kernel / shmmax # cat / proc / sys / kernel / shmmax 1073741824 # THEN CLICK "Retry" for the Oracle Database Configuration Assistant. ?? IT is Recommended to Increase The Shmmmax Setting Permanently for Oracle9i. So if You Want To Increase The Maximum Shared Memory Size Permanently, Add The Following Line To The /etc/sysctl.conf file: ?? Kernel.shmmax = 1073741824 For More Information On Setting Shared Memory Parameters for Oracle, See Setting Shared Memory. ?? ?? ORA-03113: END-OF-File on Communication Channel ?? I saw this error when I've run the "Database Configuration Assistant" and "sqlplus". When the "Database Configuration Assistant" gave me this error during Oracle9iR2 (9.2.0) installation on Red Hat 2.1 AS, I simply removed the shared memory segments owned by the Oracle user and I restarted the "Database Configuration Assistant". I'm not sure if this is the right way but it always worked for me. Here is what I did to get the "Database Configuration Assistant" running again : ?? Database configuration assistant: ?? I executed the ipcs command to get the address of the shared memory segments That Have Been allocated by oracle: ?? $ su - root # ipcs ?? ------ Shared Memory Segments -------- Key? ???? shmid??? oowner? ??? Perms ??? Bytes ??? nattch? ??? status0x00000000 0? ?? ????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?? 196608? ??? 2 0x00000001 32769??? Root? ??? 600? ???? 655360????? 0x00000000 458755 ?????????????? 4194304? 0 0x00000000 491524? ??? oracle?? 660????? 03554432?? 0 0x00000000 524293 ?????????????? 33554432? 0 0x00000000 557062?????????? 03554432?? 0 0x00000000 589831 ?????????? 33554432? 0 0x00000000 622600? ??? Oracle ?? 660??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 0x00000000 655369? ??? oracle?? 660????? 03554432?? 0 0x00000000 688138 ??? oracle ?? 660?????????? 0x3ecee0b0 720907? ??? oracle?? 660? ?? ??? 4194304? 0 ?? ------ Semaphore Arrays -------- Key? ???? semid??? ooner? ??? perms? ??? NSEMS??? status? ?? ------ Message Queues -------- KEY? ???? msqid? ????? ??? perms????????? ?? # THEN I Removed All Shared Memory Segments That WERE OWNED BY The Oracle User During The Installation with the Following Command: ?? # ipcrm SHM 458755 491524 524293 557062 589831 622600 655369 688138 720907 After That I Restarted The "Database Configuration Assistant". Once The Installation Was Done I Immediately Restarted The DB as Well. Caveat: I'm Not Sure If this ProbleMs if this is done during the installation. But soln far i Haven't Seen Any Issues with this approach. ?? SQLPlus: ?? If you get this problem in connection with sqlplus, then simply make sure that the database is down and exit sqlplus. After that, follow the procedure above by removing all shared memory segments that belong to the Oracle user. To my knowledge, this should not Cause Any Problems. ?? ?? For more information on shared memory segments Note: To Solve This Problem PermmaX Size. For more information, see setting shared memory. ?? ?? "Error Invoking Target Install of Makefile /opt/oracle/product/9.0.1/plsql/lib/ins_plsql.mk" "Error Invoking Target Install of makefile /opt/oracle/product/9.0.1/precle/Product/9.0.1/precomp/lib/ins-precomp.mk" "Error Invoking Target Install of Makefile /opt/oracle/product/9.0.1/precomp/lib/ins-net-client" ?? I Saw this error 9i (9.0.1). People Have Sent Me Emails Pointing Out That The Following Solution Also Works for Mandrake 8.1, Mandrake 8.2, And for Suse 8.0. ?? ?? Edit the file $ oracle_home / bin / genclntsh and change the folload line: ?? ?? Ld_self_contained = "- z defs" To read: ?? ?? Ld_self_contained = "" " After That Run THE Script $ Oracle_Home / Bin / Genclntsh As The User "Oracle" and not as the user "root". Also made you have all the oracle environments set correctly! ?? $ su - oracle $ $ Oracle_home / bin / genclntsh Created /opt/oracle/product/9.0.1/lib/libclntst9.a $ After That Hit Retry in The Error Dialog Window. This always workd for me. ?? ?? Here Is Oracle's Official Solution for Oracle 9ir1 and 9ir1 IAS on redhat 2.1 Advanced Server: ?? http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.html ?? ?? "Error In Invoking Target Install of Make File /opt/oracle/product/9.2.0/neetwork/lib/ins_oemagent.mk" ?? I Saw this Error Only on Red Hat 9. The Oracle_Home / Install / Make.log File Contains The FOLLOWING ERROR Messages: ???? ... ?? /opt/oracle/product/9.2.0/neetwork/lib/libnmi.a (snmitcln.o) (. Text 0x159d): in function `NLS_SCANCMD ': ??: undefined reason to `__cType_b ' ?? /opt/oracle/product/9.2.0/network/lib/1.2.0/neetwork/lib/libnmi.a (snmitcln.o) (. Text 0x1603): more undefined References to `__cType_b 'FOLLOW ?? The issue here is that __ctype_b () is actually gone for __ctype_b_loc () because Red Hat uses a new locale model However, in libc.so, __ctype_b is still exported as compatibility symbol;. At least that's the case with RH 9 glibc-2.3 .2-5. And Here Is The Reason Why Some People Have this Problem with red hat 9 and why some sales: ?? WHEN You Bought The Red Hat 9 CDS in A Store, THEN You Will Probably Find Glibc-2.3.2-5.i686.rpm on the first cd. This glibc version exports __cType_b (): ?? $ rpm -ql glibc-2.3.2-5 | grep libc.so /LIB/i686/libc.so.6 /LIB/LIBC.SO.6 /LIB/TLS/Libc.so.6 $ nm -a /lib/i686/libc.so.6 | grep __cType_b 001315F8 D __cType_b 00022340 T __cType_b_loc $ nm -a /lib/libc.so.6 | grep __cType_b 00133C58 D __CTYPE_B 000223A0 T __CTYPE_B_LOC $ But when you downloaded Red Hat 9 from redhat.com or from one of the mirror sites, life...................................................................................................................................................................................................................................................................... .. Also The Case with Glibc-Devel-2.3.2-27.9.i386.rpm. ?? $ rpm -ql glibc-2.3.2-11.9 | grep libc.so /LIB/i686/libc.so.6 /LIB/LIBC.SO.6 /LIB/TLS/Libc.so.6 $ nm -a /lib/i686/libc.so.6 | grep __cType_b 00131718 D __cType_b@glibc_2.0 000223A0 T __CTYPE_B_LOC $ nm -a /lib/libc.so.6 | grep __cType_b 00133d58 D __cType_b@glibc_2.0 000223f0 t __cType_b_loc $ ?? Check the glibc version on your system: ?? ?? First Check if the glibc packages on your rh 9 system work with the oracle installer: ?? $ rpm -q glibc-2.3.2-5 glibc-common-2.3.2-5 glibc-devel-2.3.2-5 IF you got the folowing error mesages: ?? ?? Package glibc-2.3.2-5 is not installed ?? Package Glibc-Common-2.3.2-5 is Not Installed ?? Package glibc-devel-2.3.2-5 is not installed ?? You Have Glibc Packages On Your System That Don't Work with The Oracle Installer And You Need To Follow The "Work Around" Procedure Here. ?? But if Your System Has The 2.3.2-5 Glibc Versions Installed, Then You are Fine and You Don't Need To Follow The Described "Work Around" Procedure! ?? ?? Work Around Procedure: ?? ?? Since I was not able to find the glibc-2.3.2-5 RPMs available for download, I'm making the RPMs available on my website. These RPMs are copies of the glibc RPMs that came with the RH 9 CDs I bought in the I do not recommend to use any of the "compat" RPMS from Older Red Hat Distributions Since RH 9 Contains Major Changes.?? ?? Here is the procedure for installing glibc-2.3.2-5 Temporarely on your rh 9 server: ?? ?? Download the 2.3.2-5 glibc rpms from here on my web site.?? ?? Make sure to check all the digests and signatures contained in the downloaded RPMs since you never know if someone made changes to these RPMs or if someone replaced them To ensure the integrity and origin of the RPMs, run the following commands:. ?? ? $ su - root ? # rpm - IMPORT / USR / Share / RHN / RPM-GPG-KEY ? # rpm --checksig glibc-2.3.2-5.i686.2-5.i386.2-5.i386.rpm ?? Glibc-2.3.2-5.i686.rpm: (SHA1) DSA SHA1 MD5 GPG OK ?? Glibc-Common-2.3.2-5.i386.rpm: (SHA1) DSA SHA1 MD5 GPG OK ?? Glibc-Devel-2.3.2-5.i386.rpm: (SHA1) DSA SHA1 MD5 GPG OK ?? # Downgrade Glibc, Glibc-Common, And glibc-wevel: ?? ? # rpm -uvh --oldpackage glibc-2.3.2-5.i686.rpm glibc-common-2.3.2-5.i386.2-5.i386.rpm If you get the folowing error: ?? ?? Error: Failed Dependencies: ???? Glibc = 2.3.2-11.9 is needed by (installed) glibc-debug-2.3.2-11.9 ???? Glibc = 2.3.2-11.9 is needed by (Installed) glibc-utils-2.3.2-11.9 ???? Glibc-devel = 2.3.2-11.9 is needed by (installed) glibc-debug-2.3.2-11.9 ???? Glibc-devel = 2.3.2-11.9 is needed by (installed) nPTL-DEVEL-2.3.2-11.9 ?? THEN You CAN Temporalily Remove The RPM from Your System Until You Upgrade The Glibc RPMS AFTER YOURACLE Installation: ?? ?? # rpm -e glibc-debug glibc-utils nptl-wevel ?? Now Try to run ruinstaller again. ?? After Oracle Has Been Installed, You CAN Upgrade Glibc, Glibc-Common, And Glibc-Devel Again. For example: ?? ? # rpm -UVH Glibc-2.3.2-11.9.i686.2-11.9.i386.2-11.9.i386.2-11.9.i386.rpm ?? According to Red Hat, binary compatibility in Red Hat Linux is always guaranteed for binaries and shared libraries accross releases, but not for .o files nor .a files. However, compatibility is guaranteed for .o files and .a files. _Within_ a realease . Since glibc-2.3.2-5 and glibc-2.3.2-11.9 are from the same release, compatibility should be guaranteed for .o files (Oracle's .o files which have been created during the Oracle installation) and .a files. ?? This Means That Oracle Should Be Fine When You Upgrade Glibc After the Oracle Installation. ?? ?? IF you have any problem, or if you have any comments, please let me know, you can find my email address at the bottom of this web site. ???? $ DBCA Sigsegv ?? 11 * ?? segmentation viology ???? stackbase = 0x453da000, stackpointer = 0x453d9d5c Full Thread Dump: ? ??? "AWT-EventQueue-0" (TID: 0x411D1E20, SYS_THREAD_T: 0x453D9E0C, State: r) PRIO = 5 * Current Thread * ???? java.lang.object.wait (Object.java) ???? java.awt.eventqueue.getNextEvent (Eventqueue.java: 126) ... I Got Reports About DBCA CRashing on Red Hat 8.0 and on Red Hat 9. If this Happy Suggestion: ?? $ su - root TOUCH / ETC / RAC_ON Now Try to restart dbca. ?? Another option is to edit $ oracle_home / bin / dbca and to put the backing lines under Comment Except the line marked in blue: ?? ? # IF [-f / etc / rac_on]; then ?? # run dbca $ Jre_dir / bin / jre -native -doracle_home = $ oh ... ?? # else ?? # run dbca ?? # $ jre_dir / bin / jre -doracle_home = $ oh ... ?? # fi ?? Now try to restart dbca. ?? ?? ./RunInstaller: line 58: ./runinstaller: Cannot Execute Binary File. ?? You are probably trying to Run A 64-Bit Oracle Version On A 32-Bit Linux System. Make you downloaded the right oracle version for your linux system. ?? ?? To Check if Runinstaller is a 32-bit binary or a 64-bit binary, run the folowing command: ?? $ CD / MNT / CDROM $ File Install / Linux / Runinstaller Install / Linux / Runinstaller: ELF 32-BIT LSB EXECUTABLE, Intel 80386, Version 1 (Sysv), for GNU / Linux 2.0.0, DynamicalLinked (Uses Shared Libs), NOT Stripped ?? To check if your linux system is 32-bit system or a 64-bit system, run e.g. the folload connes: ?? $ FILE / SBIN / IIT / sbin / init: ELF 32-BIT LSB EXECUTABLE, Intel 80386, Version 1 (Sysv), for GNU / Linux 2.2.5, DynamicalLinked (Uses Shared Libs), NOT STRIPPED ?? The Oracle Installer Runinstaller HANGS AT :?? Installing Java Runtime Environment ... link pending ... Copying Readme ... ?? This Problems Comes Up Only On RH 9. You Probably Forgot To Set The Environment Variable LD_Assume_kernel to 2.4.1. ?? ?? To Rectify This Problem, Run The Following Command and Restart Runinstaller: ?? Oracle $ export ld_assume_kernel = 2.4.1 For more information on this issue, see red hat 9. ?? ?? Can't Find Init File for Database "SID".?? I Saw this Error Only with Oracle 9i R2 (9.2.0) When IT Tried to Start The Database with dbstart. ?? I copied the init file for my sid "test" from / opt / oracle / admin / test / pfile to $ oracle_home / dbs to get dbstart and dbshut working: ?? Cp /opt/oracle/admin/test/pfile/inittest.ora.64200224936 $ oracle_home / dbs / inittest.ora ?? "Error In Setting Permissions of File / Directory /opt/oRacle/jre/1.1.8/bin/i686/native_threads/.extract_args" ?? This happens if you didn't Burn your cd correme. Either You Burn Your CD Again To Include Dot Files Or You Copy The .extract_Args File From Your Downloaded Image To Where Runinstaller Complains it is missing. ?? ?? "JRE WAS NOT FOUND IN / TMP / ORAINSTALL / JRE / BIN / I586 / Green_threads / JRE"?? You are probably running runInstaller on a 586 machine, or your AMD CPU gets recognized as 586 (eg AMD K6-III-400). You can check your machine (hardware) type by executing "uname -m". If you are not running ON A 586 OR ON A AMD MACHINE, TRY TO LINK JRE TO JAVA AND SEE IF this SOLVES YOUR PROBLEM. ?? ?? To Rectify The Problem with the Amd CPU, Create a Link for lib and bin from i586 to i686 and make the i686 directories read only. For example: ?? LN -S / TMP / ORAINSTALL / JRE / BIN / I686 / TMP / ORAINSTALL / JRE / BIN / I586 LN -S / TMP / ORAINSTALL / JRE / LIB / I686 / TMP / ORAINSTALL / JRE / LIB / I586 CHMOD U-WMP / ORAINSTALL / JRE / BIN / I686 / TMP / ORAINSTALL / JRE / LIB / I686 Now Restart Runinstaller.?? ?? ../jre/bin/i386/native_threads/java: Error While Loading Shared Libraries: libstdc - libc6.1-1.so.2: Cannot Open Shared Object File: No Such File or Directory ?? You probably forgot to install the compat-libstdc RPM which is a package for "Standard C libraries for Red Hat Linux 6.2 backwards compatibility" To rectify this problem, install the compat-libstdc RPM For example on Red Hat 9:.. ?? RPM-IVH Compat-libstdc - 7.3-2.96.118.i386.rpm See Also Developments Packages for more information.?? ?? /opt/oracle/jre/1.1.8/bin/../lib/i686/green_threads/libzip.so: symbol errno, Version glibc_2.0 not defined in file libc.so.6 with link time reference (libzip.so )?? Unable to initialize threads: Cannot Find Class Java / Lang / Thread ?? COULD NOT CREATE JAVA VM?? I Experienced This Problem When I Was Running The Database Configuration Assistant Dbca on Red Hat 9 without setting the ld_assume_kernel environment variable. ?? ?? To Rectify This Problem, Run The Following Command on Red Hat 9 And Restart DBCA: ?? Oracle $ export ld_assume_kernel = 2.4.1 For more information on this issue, see red hat 9. ?? ?? Other Errors ?? You might want to check out the oracle on linux discussion forum.?? ??