December 26, 2004 1:05:16
WERNER PUSCHITZ
Red Hat ® CERTIFIED ENGINEER (RHCE)
Linux Professional Since 1997
Homepage of Werner Puschitz
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)
>>> WERNER's Oracle - Linux Page <<<
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.93-5) Oracle 9ir2 (9.2.0) Database on Red Hat 7.3 (Kernel 2.4.18- 3, GLIBC 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.4.7-10, GLIBC 2.2.4-13) Oracle 9ir1 (9.0.1) Database on Red Hat 7.1 (Kernel 2.2.2-10) Validation / Certification: for Validations / Certifications, Check the following links: Oracle's Certification Matrices Oracle Products on Red Hat Linux Red Hat Enterprise Linux Application List errors and Problems: Some of the Oracle errors and problems covered here were only experienced In Connection With 9i (9.0.1) and some only 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 i nstall 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 Experienced 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
Installing Oracle9ir2 On RH AS 3
Patching Oracle9ir2 On RH AS 3
Patching Oracle Intelligent Agent On RH AS 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/.
Installing Software Packages (RPMS)
You don't have to install all rpms when Want to Run An Oracle9i Database on Red Hat Linux.
For instance, if you install Red Hat Advanced Server, you are fine when you select the Installation Type "Advanced Server" and when you do not select the Package Group "Software Development". There are only a few other RPMs that are required for Installing Oracle9i. THESE OTHER RPMS Are Covered In this article.or WHEN You Install Oracle9i on Red Hat Linux 7.x, 8.0, or 9, You are Fine When You Select The Installation Type "Server".
Unpacking Downloaded Oracle9i Installation Files and Burning Oracle9i CDS
Download Oracle9i for Linux from The Following Web Site:
http://otn.racle.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 | CPI -IDMV
ZCAT LNX_920_Disk2.cpio.gz | CPI -IDMV
Zcat lnx_920_disk3.cpio.gz | CPIO -IDMVTWO 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 downlineed 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 | CPI -IDMV Zcat Linux9i_disk2.cpio.gz | CPI -IDMV Zcat Linux9i_disk3.cpio.gz | CPIO -IDMVTWO Step Procedure: # Uncompress Gunzip Linux9i_disk1.cpio.gz Linux9i_disk2.cpio.gz Linux9i_disk3.cpio.gz # Unpack the downlineed files: Cpio -idmv Cpio -idmv Cpio -idmv Now You Should Have 3 Director Containing Installation Files: Disk1 Disk2 Disk3i Executed The Following Commands When I BURNED THE 3 CDS: Mkisofs -r Disk1 | CDRecord -v - Eject DEV = 0, 0, 0 SPEED = 15 - Mkisofs -r disk2 | cdrecord -v --eject dev = 0,0,0 speted = 15 - Mkisofs -r disk3 | cdrecord -v --eject dev = 0,0,0 speted = 15 - (you can get the dev numbers when you docute 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 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 Spring Swap Space. To Check the memory, run: Grep Memtotal / Proc / Meminfoto 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 Tmpswapto 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 1073741824it 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. Thase Parameters Apply To All Red Hat Linux Versions. But Note That Except for THE SHMMAX Parameter, THESE Parameter Do Not NEED TOBE CHANGED For Installing Oracle on Linux. But you mightow. but you mightow........ 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 / tmpIf 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 / Chown root.root / Chmod 1777 / Export Temp = / export TMPDIR = / 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 Customized Database Installation, The You Will Need About 3.5 GB of Disk Space. 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.rpm su - root rpm -Uvh --force --nodeps binutils-2.10.0.18-1.i386.rpmWhen you are done with the Oracle installation, you upgrade your binutil RPM back to the version you had before you downgraded. Eg 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 do not like: http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.htmlChecking Development Packages (RPMs) You Will Need Some Rpm Development Packages For the Oracle Installer To Build The Oracle Modules, Other Messages Similar To this ONE: ERROR INVOKING TARGET NTCONTAB.O OF MAKEFILE /opt/oracle/product/9.2.0/network/lib/ins_net_client.mkDevelopment Packages (RPMs) for RH 7.1, 7.2, and RH AS 2.1: To see if these development packages are installed on your server, run the following command: rpm -q gcc cpp compat-libstdc glibc-devel kernel-headers binutilsFor 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.rpmDevelopment Packages (RPMs) for RH 7.3, 8.0, and 9: To see if these development packages are installed on your server, run the following command: rpm -q gcc cpp compat- libstdc glibc-devel glibc-kernheaders binutilsFor instance, when I installed Red Hat 9.0 and when I used the default packages for the Installation Type "Server", I had to install the following RPMs afterwards: 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 NOTE: Before you install Oracle9iR2 on Red Hat 9, 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 Theoracle Installation Errors Section! 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 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, See When 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 filesis / "HAS ENOUGH 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 Following 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 / NetWork / Admin Export NLS_LANG = American; Export ORA_NLS33 = $ Oracle_Home / Ocommon / NLS / Admin / Data LD_LIBRARY_PATH = $ ORACLE_HOME / LIB: / LIB: / USR / LIB LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: / USR / local / LIB Export ld_library_path # Set shell search paths export PATH = $ PATH: $ ORACLE_HOME / binI successfully installed Oracle9iR2 without setting the following CLASSPATH environment variable: # CLASSPATH = $ ORACLE_HOME / JRE: $ ORACLE_HOME / jlib: $ ORACLE_HOME / rdbms / jlib # ClassPath = $ ClassPath: $ oracle_home / network / jlib # Export CLASSPATHYou 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 Runinstaller, Execute EG 'xiM' To See if Your x setup is real working! if you install Oracle ON Your Desktop PC and NOT ON A REMO te 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 oracleserverStep 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. OraclesRVER: $ su - root ORACLESERVER: root # mount / mnt / cdromstep 3: from the console of your Oracle Server "Oracleserver" Where You Will Run Runinstaller, Execute The Following Commands: ORACLESERVER: $ su - oracle OraclesRVER: Oracle $ export display = YourDesktop: 0.0step 4: Now Execute Runinstaller As "Oracle". do not cd to / mnt / cdrom !! Oracleserver: Oracle $ / MNT / CDROM / RUNINSTALLERERER 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 answer the qustions 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.2c. 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 On RH AS 3 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.rpmrelink 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 # IF G Doesn'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 the __libc_wait symbol ssue, download the patch 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 Creating: 3006854 / INFL OFLATING: 3006854 / RHEL3_PRE_INSTALL.SH Inflating: 3006854 / readme.txt # CD 3006854 # sh rhel3_pre_install.sh Applying Patch ... Patch SuccessFully Applied # Note: if you get the folowing error when you Rhel3_pre_install.sh: RHEL3_PRE_INSTALL.SH: line 36: GCC: Command Not Foundthen 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 # rm /etc/ld.so.preload RM: Error While Loading Shared Libraries: /etc/libcwait.so: Cannot Open Shared Object File: No Such File or Directory #To fix what, run the Echo Command Which is a Built-in Shell Command: # echo "> /etc/ld.so.preeload Rm /etc/ld.so.preloadand Start over again. NOW Runinstaller Can Be Started from the CD: Su - Oracle $ Echo $ ld_assume_kernel # it is important what 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 When asked to run /tmp/orainstroot.sh, run it before you click Continue - File Locations: Use Default Values - 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 Operating System Groups: I used the default value: osdba group = dba, osoper group = DBA - Oracle Managent Server Repository: I used 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 in 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/neetwork/lib/libnmi.a (Snmitcln.O )(Text 0x1603): more undefined References to `__cType_b 'FOLLOW Collect2: ld returned 1 exit status Make: *** [dbsnmp] Error 1 Click Ignore. This Will Be fixed by applying the 9.2.0.4 patchset Has been applied. You Won't becomle 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 Reference by DSO Collect2: ld returned 1 exit status Make: *** [CTXHX] Error 1 Click Ignore. This is fixed by applying the 9.2.0.4 patchat. Patching Oracle9ir2 On RH AS 3 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 INFLATING: PATHNOTE.CSS $ $ cpio -idmv <9204_lnx32_release.cpiodisk1 / 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 what this variable is set! 2.4.1 $ CD / TMP / DISK1 / $ ./runinstaller - Welcome Screen: Click NEXT - File Locations: Use Default Values - 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, you must exit runinstaller! To Patch Oracle9ir2, Run: Su - Oracle $ Echo $ ld_assume_kernel # it is important what this variable is set! 2.4.1 $ cd $ oracle_home / bin $ ./runinstaller - Welcome Screen: Click NEXT - File Locations: Use Default Values - 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 in 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 'FollowCollect2: ld Returned 1 Exit Status Make: *** [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 patset Has Been Applied, Download the Patch P3119415_9204_linux.zip from Http://metalink.racle.com/. See bugs 3119415 for more information. Also, Download the Opatch Release 2.2.0 Utility from Http://metalink.oracle.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.zipbefore you apply the 3119415 patch, you need to make suhe Fuser binary can be found by the oracle user, see the Path Environment Variable Below. Otherwise The Patch Can't Be Applied Because The Fuser binary is buy by Opatch. 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 "fuse" 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 Patching Oracle Intelligent Agent On RH AS 3 When You Run "Agentctl Start" (Oracle 9.2.0.4), DBSNMP WILL CRASH: $ su - oracle $ Agentctl Start DBSNMP for Linux: Version 9.2.0.4.0 - Production On 07-Jan-2004 19:11:14 Copyright (c) 2003 Oracle Corporation. All Rights Reserved. Starting Oracle Intelligent Agent ... / OPT / ORACLE / PRODUCT / 9.2.0 / BIN / DBSNMPWD: LINE 156: 1855 Segmentation Fault Nohup $ Oracle_Home / BIN / DBSNMP $ * >> $ dbsnmp_wdlogfile 2> & 1 /opt/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1868 Segmentation Fault Nohup $ Oracle_Home / Bin / DBSnmp $ * >> $ dbsnmp_wdlogfile 2> & 1 /opt/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1880 Segmentation Fault Nohup $ Oracle_Home / Bin / DBSnmp $ * >> $ dbsnmp_wdlogfile 2> & 1 /opt/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1892 Segmentation Fault Nohup $ Oracle_Home / bin / dbsnmp $ * >> $ dbsnmp_wdlogfile 2> & 1 To resolve this problem, apply the patch p3238244_9204_linux.zip from Http://metalink.Oracle.com/. See bug / patch 3238244 for more information. Before You Apply the Patch, Make Sure The Instance Is Down! Also make Sure the Opatch script APPEARS in Your $ PATH. See "Patching Oracle9ir2 on Red Hat AS 3" for Information on getting and installing Opatch. to verifyiff Opatch is in your $ PATH, RUN THE Which command: $ su - oracle $ Which Opatch / TMP / OPATCH / OPATCH $ To Apply Now The Patch, Run: $ su - oracle $ unzip p3238244_9204_linux.zip $ cd 3238244 $ export path = $ path: / sbin # The patch Needs "fuse" Which is located in / sbin $ OPATCH APPLY Now you need to relink DBSnmp. this is the binary That CraShed WHEN Running Agentctl Start. To Find Which makefile handles the linking of DBSNMP, You Can Run: $ su - oracle $ FIND $ ORACLE_HOME -NAME "* .mk" | xargs grep -l dbsnmp /opt/oracle/product/9.2.0/neetwork/lib/ins_oemagent.mk /opt/oracle/product/9.2.0/neetwork/lib/ENV_OEMAGENT.MK $ I Relinked DBSnmp and All Associated Executables Which Are Maintained by theins_oemagent.mk makefile: $ su - oracle $ cd $ oracle_home / network / lib $ Make -f INS_OEMAGENT.MK INSTALL Now you shouth becomle to start the agent: $ su - oracle $ Agentctl Start Note: don't forget to undo the change (links) to / usr / bin / gcc and / usr / bin / g if you do't need it any more. Also don't forget the /etc/ld.so.preeload 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> startupThe 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 privilege SYSDBA SYSDBA gives you the following privileges: -.. Sysoper privileges WITH ADMIN OPTION - create database - recover database until $ ORACLE_HOME / bin / dbstart and $ ORACLE_HOME / bin / dbshutYou 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: Yin Some Cases for 9.2.0 I Also Had to Copy Test File for My Sid "Test" from / OPT / ORACLE / AD min / test / pfile to $ ORACLE_HOME / dbs to get dbstart and dbshut working: cp /opt/oracle/admin/test/pfile/inittest.ora.642002224936 $ ORACLE_HOME / dbs / inittest.oraBut first make sure if your init file already EXISTS IN $ Oracle_Home / DBS! Oracle Installation Problems, Tips and Hints Some of these problems Apply Only To 9.0.1! Do not cd to / mnt / cdrom to run ./runInstaller!If you do so, the installation will fail because you will not be able 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 serverXlib: Client is not authorized to connect to ServerIn 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 didn. 'T Completely Come Up Any More Without Displaying Any Error Messages. You might Also Want to Clean Up / Tmp / ORAINSTALL. 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 workd 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 did not finish successfully, you might want to clean up the following files and directories before you start over again: /etc/oraInst.loc / etc / oratab / tmp / 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 That i 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 (e.g / TMP / ORAINSTALL2002-07-04_09-50-19PM), And for 9.0.1 in / TMP / ORAINSTALL. WHEN YOU 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/gcccccc-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 online11 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 Won't 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 reason to `_dl_addr @ glibc_private ' /LIB/LIBDL.SO.2: undefined reason to `_dl_open @ glibc_private ' /LIB/LIBDL.SO.2: undefined reason to `_dl_close @ glibc_private ' /LIB/LIBDL.SO.2: undefined reason to `_dl_sym @ glibc_private ' /LIB/LIBDL.SO.2: undefined reason 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 $ (LDLIBFLAG) 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 =", Remove The Above Entry You Made and Add A " `Cat $ (liBhome) / sysliblist`" to the line and save it. Here Is The Full Line with The Added `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 $ (LDLIBCTXHX) $ (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 maximum 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 recommented to increase the SHMMAX 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: Keernel.shmmax = 1073741824for 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 IWAYS WORKED for Me. Here Is What Id 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 Owner Perms Bytes Nattch Status 0x00000000 0 root 600 196608 2 0x00000001 32769 root 600 655360 2 0x00000000 458755 Oracle 660 4194304 0 0x00000000 491524 Oracle 660 33554432 0 0x00000000 524293 Oracle 660 33554432 0 0x00000000 557062 Oracle 660 33554432 0 0x00000000 589831 Oracle 660 33554432 0 0x00000000 622600 Oracle 660 33554432 0 0x00000000 655369 Oracle 660 33554432 0 0x00000000 688138 Oracle 660 33554432 0 0x3ecee0B0 720907 Oracle 660 4194304 0 ------ Semaphore Arrays -------- Key Semid Owner Perms NSEMS Status ------ Message Queues -------- Key Msqid Owner Perms Used-bytes Messages #Then I Removed All Shared Memory Segments That WERE OWNED BY The Oracle User During The installation with the folload conneter: # Ipcrm shm 458755 491524 524293 557062 589831 622600 655369 688138 720907After 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 procedure can cause any further problems IF this is done during the installation. But so 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 That 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, See DETERMININING WHICH SEMAPHORE SETS AND Shared Memory Segments Belong to Each Oracle Database or Instance. Note: To Solve this Problem PermmaX Size. For more information, See Setting shared memory and 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/precomp/lib/ins- Precomp.mk "" Error Invoking Target Install of makefile /opt/oracle/product/9.0.1/prechac /P/LIB/INS-NET-CLIENT " I Saw this error ONLY WHEN I INSTALLED ORACLE 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 Following 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 make Sure 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 Worked for ME. Here Is Oracle's Official Solution for Oracle 9ir1 and 9ir1 IAS on redhat 2.1 Advanced Server: http://otn.racle.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" If you see this error on Red Hat Enterprise Linux 3, FOLLOW The Guideline AT Running Oracle Installation On Red Hat Enterprise Linux Advanced Server 3. On Red Hat 9 I Performed The Following Steps Here WHEN THE Oracle_home / install / make.log file contained the error message: ... /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/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, The 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, the you will find Glibc-2.3.2-11.9.i686.rpm on The Image. this Glibc Version Does Not Export __cType_b (). this is 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 version installation 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 store. 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. First make sure if these downloaded RPM's are not corrupt and if they were really built and signed by Red Hat. You never know if someone fiddled with these RPMs or replaced them. To ensure the integrity and origin of these Red Hat's RPMs, run the following Commands: $ su - root # rpm - IMPORT / USR / Share / RHN / RPM-GPG-Key # Add Red Hat's PGP Public Key to The RPM Database # 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.rpmif you get the following 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 temporarily remove these RPMs (glibc-debug, glibc-utils, nptl-devel) from your system until you upgrade the glibc RPMs after your Oracle installation: # rpm -e glibc-debug glibc-utils nptl-devel Now try to run Runinstaller 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.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. $ Agentctl Start DBSNMP for Linux: Version 9.2.0.4.0 - Production On 07-Jan-2004 19:11:14 Copyright (c) 2003 Oracle Corporation. All Rights Reserved. Starting Oracle Intelligent Agent ... / OPT / ORACLE / PRODUCT / 9.2.0 / BIN / DBSNMPWD: LINE 156: 1855 Segmentation Fault Nohup $ Oracle_Home / BIN / DBSNMP $ * >> $ DBSNMP_WDLOGFILE 2> & 1 /opt/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1868 Segmentation Fault Nohup $ Oracle_Home / Bin / DBSnmp $ * >> $ dbsnmp_wdlogfile 2> & 1 /Opt/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1880 Segmentation Fault Nohup $ Oracle_Home / bin / dbsnmp $ * >> $ dbsnmp_wdlogfile 2> & 1 / OPT / Oracle / Product / 9.2.0 / Bin / DBSnmpwd: Line 156: 1892 Segmentation Fault Nohup $ Oracle_Home / BIN / DBSNMP $ * >> $ dbsnmp_wdlogfile 2> & 1 You are probably trying to start the agent on rh as 3. See Patching Oracle Intelligent Agent On RH AS 3 How To Resolve IT. $ DBCA SIGSEGV 11 * Segmentation Violation 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 it DBCA CRASHING ON Red Hat 8.0 and on Red Hat 9. IF this Happens, Try The Following Suggestion: $ su - root Touch / ETC / RAC_ONNOW TRY TO RESTART DBCA. Another option is to edit $ Oracle_home / bin / dbca and to put the folload 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 Sure 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 folloading 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, dynamically linked (uses shared libs), not strippedTo check if your Linux system is 32-bit system OR A 64-bit System, Run Eg The Following Command: $ 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.1for More information on this iSSUE, See Red Hat 9. Recovery Manager Rman HANGS You are probably running the wrong Rman Binary Which Belongs to The Xfree86-Devel rpm: $ Which Rman / usr / x11r6 / bin / rman 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 arealy probably running Runinstaller ON A 586 Machine, or Your AMD CPU Gets Recognized AS 586 (E.G. 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 THE 586 Machine LIB and Bin from I586 TO I686 and make the 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 / I686NOW 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.rpmsee Also Development 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.1for More information on this iSSUE, See Red Hat 9. Other ErrorS You might want to check out the Oracle on Linux Discussion Forum. . The information provided in this article shows how I installed Oracle on my server (s) and is distributed AS IS. Every effort has been made to provide the information as accurate as possible, but no warranty or fitness is implied. The use of this information Described Herein is your responsibility, and to use it in your OWN Environments do so at Your Own Risk. Comments? Webmaster_at_puschitz.com