LD_ASSUME_KERNEL  in RHEL5/OEL5

Im running into this error:
/u01/app/oracle/jre/1.1.8/bin/../lib/i686/native_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
When trying to start 11.5.10 after upgrading to OEL5.
The problem is well known and the solution has always been to set LD_ASSUME_KERNEL to an appropriate value. Metalink 377217.1 suggests it be set to 2.4.19 for versions up to OEL4 but not set for OEL5. And, indeed, if you do set it in OEL5, nothing works - basic commands such as ls and cat fail with missing library errors.
So what is the recommended way of dealing with the error in OEL5? As 377217.1 points out you can no longer set LD_ASSUME_KERNEL, but it doesn't offer an alternative solution to the problem which hasn't gone away in OEL5
Thanks for any thoughts anyone can offer.

Make sure LD_ASSUME_KERNEL does not get set in your environment or fix it during installation before it is executed as follows:
1) Setup the environment as you would for running Applications on RH 4 or SLES9
I.E. follow Oracle Applications Installation Update Notes, Release 11i (11.5.10.2)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=316806.1
2) Remove any LD_ASSUME_KERNEL references in O/S /etc/profile.d files. While in oracle and applmgr .profile, add the following:
3) Comment out LD_ASSUME_KERNEL entries in $ORACLE_HOME/appsutil/bin/adgetlnxver.sh and $AD_TOP/bin/adgetlnxver.sh
if [ ${setflag}x = "x" -a $os = "Suse" ]; then
# LD_ASSUME_KERNEL="2.4.21"
# export LD_ASSUME_KERNEL
os="Suse"
fi
if [ ${setflag}x = "x" -a $os = "RH" ]; then
# LD_ASSUME_KERNEL="2.4.19"
# export LD_ASSUME_KERNEL
os = "RH"
fi
If doing a rapid install, the database startup will fail and rapidwiz will prompt to ignore or retry. At this point, edit $ORACLE_HOME/appsutil/bin/adgetlnxver.sh as shown above and click on retry. It will then run to the autoconfig step at the end and error out. Just hit cancel, edit $AD_TOP/bin/adgetlnxver.sh as shown above.
3) In order to relink cplex library executables (MSC, MSO, MSR, MST, WIP, etc), edit $AD_TOP/bin/adrelinknew.sh and add the following LD option (-Wl,--noinhibit-exec) in the LINUX section:
LINUX)
LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
DEBUG_LDFLAGS='-g -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
exe_line='ELF .*executable'
SHRLIB_LD='gcc'
LD='gcc'
SHRLIB_LDFLAGS='-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -shared'
if test -f "/etc/redhat-release"; then
CPP_LIBS='/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so'
elif test -f "/etc/SuSE-release"; then
CPP_LIBS='/usr/lib/libstdc++.so.2.9'
else
CPP_LIBS=''
fi
CPP='g++'
CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
set CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
to CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -Wl,--noinhibit-exec'
After this chance, you can apply any MRP, ASCP patch and all executables will relink correctly. You can also use adadmin to relink all executables and it completes without error.
This should work for 11.5.10/11.5.10.2/R12. There is no way to get the 11.5.9 1.1.8 java to run on kernels greater than 2.6.16.

Similar Messages

  • Is OEL5 or Red Hat 5.0 supported?

    Hi partners,
    I have a customer who is going to upgrade their environment from 11.5.9 to 12.1.1, also they want to change from Sun Solaris to Linux Red Hat 5.0
    I would like to know if Oracle Ebsuiness Suite 11.5.9 is certified in Red Hat 5.0?
    According to Metalink's Certify tab, there is nothing regarding to 11.5.9 certified on Linux Red Hat or Oracle Enterprise Linux 5.0.
    Also, in Red Hat 5.0 we don't need to define LD_ASSUME_KERNEL environment variable which is needed in previous releases.
    Upgrade path from 11.5.9 to 12.1.1 is supported, so I don't want to upgrade firstable to 11.5.10.2
    Any advice or comments will be really appreciated.
    Thanks in advance.
    Francisco Mtz. Oviedo

    Hi;
    RHEL3, RHEL4, OEL4 any value from 2.4.1 to 2.4.19
    without setting any LD_ASSUME_KERNEL VALUE by default my kernel version is showing like
    #uname -r
    2.6.9-42.ELsmp
    so there is no need of setting the LD_ASSUME_KERNEL value in my environment RIGHT?As i understand you have OEL5 or RHEL5, then in same document it says:
    RHEL5, OEL5, SLES10 Should not be set
    If i miss something and u have RHEL3, RHEL4, OEL4 then in same document it says:
    So you should set LD_ASSUME_KERNEL=2.4.19 which forces the kernel to use the /usr/lib/libc.so.6 because the /lib/tls/libc.so.6 is too high a version (2.4.20) and the /lib/libc.so.6 is not in the same version level (2.2.5).
    As you see your version higer(if you have RHEL4 etc),thatswhy set LD_ASSUME_KERNEL=2.4.19 (If your version OEL5 or Red Hat 5.0 dont do nothing)
    Regard
    Helios

  • OEL5: up2date without alert icon on desktop

    Unlike RHEL5, OEL5 retained up2date and that's good.
    But what happened with blue/red ULN alert icon on desktop panel? Why did it disappear?
    NJ

    Moderator Action:
    This is a Java programming technical discussion forum.
    It has nothing to do with the installation or configuration of Java to a desktop computer.
    Your post is far outside the scope of this forum web site and is now locked.
    This CPU has Windows 7This is a CPU:
    http://en.wikipedia.org/wiki/Cpu
    A computer will have a CPU as one of the dozens of microprocessor chips inside its chassis.
    A suggestion:
    Go make contact with your IT support staff and have them install whatever you need after suspending Windows 7's newest schemas for User Account Control which did not exist for Windows XP.
    Try www.java.com

  • Midlletier AS(10.1.2.0.2)hung at 95%

    Hi,
    Am installing Middletier AS 10.1.2.0.2 on redhat-4.However thr installation is getting hung at 95%.I tried over n again but its hung .
    My installer logs contains this:
    Install Type: J2EE and Web Cache Services
    Configured Components: Oracle HTTP Server, Oracle Application Server 10g Containers for J2EE, Oracle Application Server 10g W
    eb Cache, Oracle Application Server 10g Farm Repository, Identity Management Access,
    Registered with Oracle Internet Directory: stcfusion01.satyam.com:13061
    Use only SSL connections with this Oracle Internet Directory:No
    Use the following URL to access the Oracle HTTP Server and the Welcome Page:
    http://stcfusion02.satyam.com:7780
    Use the following URL to access the Oracle Enterprise Manager Application Server Control:
    http://stcfusion02.satyam.com:1156
    Instance Name: mid2_safex.stcfusion02.satyam.com
    The Repository ID of the File-Based Farm Repository feature is configured as: stcfusion02.satyam.com:7103'. Received the valu
    e from a code block.
    Setting variable 'szTime' to ''. Received the value from a code block.
    Calling Action fileActions10.1.0.3.0 instantiateFile
    selectedNodes = null
    source = /u01/Fusion/OA_HOME_NEW/install/redirect.html
    destination = /u01/Fusion/OA_HOME_NEW/install/redirect.html
    variables = null
    Calling Query generalQueries10.1.0.3.0 isCurrentPlatformInGroup
    platGroup = UNIX
    Query Returned: true
    Calling Action SpawnActions10.1.0.3.0 Spawn
    installcommand = /u01/Fusion/OA_HOME_NEW/dcm/bin/dcmctl initrepository -d -v
    deinstallcommand =
    WaitForCompletion = true
    Start output from spawned process:
    End output from spawned process.
    Calling Action SpawnActions10.1.0.3.0 Spawn
    installcommand = /u01/Fusion/OA_HOME_NEW/opmn/bin/opmnctl start
    deinstallcommand =
    WaitForCompletion = true
    Start output from spawned process:
    opmnctl: opmn is already running
    End output from spawned process.
    Setting variable 'bRunningProcessOPMN' to 'true'. Received the value from a code block.
    Calling Query generalQueries10.1.0.3.0 isCurrentPlatformInGroup
    platGroup = UNIX
    Query Returned: true
    Calling Query RunningProcessQuery1.5.1 runningProcessExists
    fileNames = /u01/Fusion/OA_HOME_NEW/opmn/logs/ons.log,
    [oracle@stcfusion02 logs]$
    Please anybody help me out....:(
    Regards,
    Ashlee

    Did you follow all this?
    Follow Operating System Requirements for OEL 5.x or RHEL 5.x
    1. The following packages (or later versions) must be installed on your Linux x86 or Linux x86-64 system:
    binutils-2.16.91.0.5-23.4
    gcc-4.1.0-28.4
    gcc-c++-4.1.0-28.4
    glibc-devel-2.4-31.2
    libgcc-4.1.0-28.4
    libstdc++-devel-4.1.0-28.4
    libstdc++-4.1.0-28.4
    make-3.80-202.2
    compat-db 4.1.25-9
    Note:
    The Oracle Application Server 10g is a 32-bit application to be installed on either Linux x86 or Linux x86-64. These are 32-bit installation requirements on Linux x86-64 in order allow compatibility with the 32-bit Application Server product. Please see the Installation Guide for more details on the Linux x86-64 and other general requirements. This Note does not replace the Installation Guide, as its only stating the newer and specific OEL5/RHEL5 requirements.
    2. Ensure that libXp has been installed. The package libXp was not installed in RHEL 5/OEL 5 with default RPM packages, so it will need to be installed manually. In RHEL 4 this file was provided by the package xorg-x11-deprecated-libs which is installed with default package installation but this is not the case for RHEL5/OEL5 and is now provided with a different rpm, the libXp rpm. Install the package libXp by the command:
    # rpm -ivh </path/to/>libXp.<version>.i386.rpm
    Note: libXp.so.6 can be found by installing the package /Server/libXp-1.0.0-8.1.el5.i386.rpm under Disk3 of the OEL5 media.
    Issue the following to confirm:
    % rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libXp
    [ Reference Note 443617.1 ]
    3. The following are two requirements and their locations to obtain them from Oracle:
    openmotif21-2.1.30-11.EL5.i386.rpm
    [http://oss.oracle.com/projects/compat-oracle/dist/files/Enterprise_Linux/openmotif21-2.1.30-11.EL5.i386.rpm]
    xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
    [http://oss.oracle.com/projects/compat-oracle/dist/files/Enterprise_Linux/xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm]
    4. When installing Oracle Application Server 10g Release 2 (10.1.2.0.2) within the OEL 5.x or RHEL 5.x operating systems, you will need to create the following symbolic link as root prior to doing any installations:
    # ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
    If an error occurs stating that libdb.so.2 already exists, it may be from a previous 10.1.3 installation. In this case, either move the file for backup and create the symbolic link or skip this step to see if the following problem occurs.
    * Without this symbolic link, httpd will give the following error:
    httpd: error while loading shared libraries: libdb.so.2:
    cannot open shared object file: No such file or directory
    With this link in place, httpd should start up successfully in OEL 5.0 or RHEL 5.0
    Note: On some OEL installs, libgdbm.so.2.0.0 may not exist. You can check the following way:
    # cat /etc/enterprise-release
    Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
    # ls /usr/lib/libgdbm.so.2.0.0
    If you are missing the 32-bit version, it can be installed using gdbm.i386 0:1.8.0-26.2.1. Alternatively, Patch 6078836 can be used instead, as it was uploaded to complete a 10.1.3 certification.
    5. The installation of Oracle Application Server 10g Release 2 (10.1.2.0.2) requires the correct openmotif package to be installed on your OEL 5.x or RHEL 5.x box. Without the correct package, you will run into installation errors for those components that require openmotif (such as reports and forms). You may download the RPM package from the following location:
    [http://oss.oracle.com/projects/compat-oracle/dist/files/Enterprise_Linux/openmotif21-2.1.30-11.EL5.i386.rpm]
    As root, you can install this RPM package by issuing the following command:
    # rpm -i openmotif21-2.1.30-11.EL5.i386.rpm
    6. Any installation of Oracle Application Server 10g Release 2 (10.1.2.0.2) on OEL 5.x or RHEL 5.x in which Reports is getting installed will fail with reports relinking errors unless you apply the required RPM listed below.You may download the RPM package from the following location:
    [http://oss.oracle.com/projects/compat-oracle/dist/files/Enterprise_Linux/xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm]
    As root, you can install this RPM package by issuing the ollowing command
    # rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
    After the RPM, is installed, you will also need to override the /usr/lib/libXtst.so.6 with the one from /usr/X11R6/lib/libXtst.so.6. As root, issue the commands:
    # mv /usr/lib/libXtst.so.6 /usr/lib/libXtst.so.6.ORG
    # ln –s /usr/X11R6/lib/libXtst.so.6 /usr/lib/libXtst.so.6
    Note:
    On future OEL 5.x and RHEL 5.x versions, these packages may be cumulative to newer packages. Consult operating system vendor documentation for details.
    Follow Installation Requirements for OEL 5.x or RHEL 5.x
    1. Before installing Oracle Application Server 10g Release 2 (10.1.2.0.2) , apply Patch 6687768 in order to start the installer. If you do not apply this patch, pre-req check for the OS Version will fail when you invoke the runInstaller.
    2. Follow all other instructions from the Installation Guide and Release Notes. This Metalink Note is only for specific OEL 5.x and RHEL 5.x requirements.
    * Oracle Application Server 10g (10.1.2.0.2) Release Notes and Installation Guides
    [http://download.oracle.com/docs/cd/B14099_19/getstart.htm]
    Important:
    The Known Issues below are for issues that have been found to occur during the installation, and require steps to resolve. Depending on your installation options, review the Known Issues to prevent the errors from occurring.
    3. Apply Patch 5983622, which is the Oracle Application Server 10g Release 2, Patch Set 3 (10.1.2.3). This is required in order to be fully certified on OEL 5.x or RHEL 5.x. More information regarding 10.1.2.3 can be found in Note:329361.1, Table 2.
    Note 329361.1 Oracle Application Server 10g Release 2 (10.1.2) Support Status and Alerts
    --See: "Table 2: Oracle Application Server Patchsets"
    Known Issues
    1. When performing any Oracle Application Server 10g Release 2 (10.1.2) installation, a pop-up error message box may appear indicating “opmn not started”. The error message box appears just before the root.sh phase of the install. From the command line, issue the command “opmnctl status” and it should show that opmn is up and running. Hence, you can ignore this pop-up error message and continue with the installation.
    2. Apply Patch 6690831 if you are performing an Oracle Application Server 10g Release 2 (10.1.2) installation which includes Discoverer. Without this fix, the installation will fail during the OPMN Configuration Assistant phase because it cannot start up the Discoverer processes. The Discoverer processes fail to start because there is an LD_ASSUME_KERNEL setting that needs to be removed in opmn.xml for Discoverer. The issue can be fixed following the below steps:
    * Download Patch 6690831
    * Unzip it to a working directory
    * Run the shell script provided in the patch
    * After shell script runs successfully, go back to OUI install
    * and press Retry on the OPMN Configuration Assistant
    3. Apply the Patch 6706051 if you are performing an Oracle Application Server 10g Release 2 (10.1.2) installation which includes Oracle Certification Authority (OCA). Without this fix, the installation will fail during the Oracle Certification Authority Configuration Assistant phase. The issue can be fixed following the below steps:
    * Download Patch 6706051
    * Unzip it to a working directory
    * Run the shell script provided in the patch
    * Extra step script missed: chmod 700 cminst
    * After shell script and chmod, go back to OUI install and press
    Retry on the Oracle Certification Authority Configuration Assistant
    4. Simplified Chinese and Traditional Chinese fonts are missing in OEL 5 with update levels less than 3 (OEL5.3). On this level, the product in Simplified Chinese and Traditional
    Chinese language can not be accomplished without a specific package installed.
    Solution:
    If you have an OEL5 version with update level 2 or lower, install the following package:
    fonts-chinese-3.02-12.el5.noarch.rpm
    This is available at the following location:
    http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/
    Regards.

  • Version GLIBC_2.0 not defined in file libc.so.6

    hey all
    am trying to install database 9i on readhat 5
    installation is done but DBCA NETCA are giving error
    /u01/oracle9/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
    soo how can i solve that please???
    i tryed the LD_ASSUME_KERNEL and didnt work also the patch compat-libcwait is installed and is installed and the patch 3006854 is also installed
    what can i do????

    i tryed the LD_ASSUME_KERNEL Is still your LD_ASSUME_KERNEL set?
    Recommended Settings for Installing Oracle Products
    O/S
    RHEL5, OEL5, SLES10
    LD_ASSUME_KERNEL setting
    Should not be set
    Additionally you can review: Oracle Metalink Document: What should the value of LD_ASSUME_KERNEL be set to for Linux?: Doc ID: Note:377217.1
    Adith

  • Issues while installing ORACLE 10g R2 RAC on RHEL 5.3

    i am installing oracle 10g R2 RAC on RHEL 5.3 in a test environment. my aim was to install using ASM.
    i went through the pre-requisites ok before beginning with the installation.
    since RHEL 5.3 doesnt support raw devices i used
    http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml#Configure%20iSCSI%20Initiator%20and%20New%20Volume
    udev to configure shared storage. my storage is on openfiler as a iSCSI target.
    fdisk -l on both nodes shows the shared drives.
    [root@node1 ~]# fdisk -l
    Disk /dev/sda: 21.4 GB, 21474836480 bytes
    255 heads, 63 sectors/track, 2610 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      104391   83  Linux
    /dev/sda2              14        2053    16386300   8e  Linux LVM
    /dev/sda3            2054        2372     2562367+  82  Linux swap / Solaris
    Disk /dev/sdd: 10.5 GB, 10502537216 bytes
    64 heads, 32 sectors/track, 10016 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1               1       10016    10256368   83  Linux
    Disk /dev/sdb: 10.5 GB, 10536091648 bytes
    64 heads, 32 sectors/track, 10048 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       10048    10289136   83  Linux
    Disk /dev/sdc: 10.5 GB, 10536091648 bytes
    64 heads, 32 sectors/track, 10048 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       10048    10289136   83  Linux
    Disk /dev/sdf: 10.5 GB, 10569646080 bytes
    64 heads, 32 sectors/track, 10080 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdf1               1       10080    10321904   83  Linux
    Disk /dev/sde: 10.5 GB, 10502537216 bytes
    64 heads, 32 sectors/track, 10016 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sde1               1       10016    10256368   83  Linux
    [root@node1 ~]# ls -l /dev/iscsi/arpl*
    /dev/iscsi/arpl1:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sde
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sde1
    /dev/iscsi/arpl2:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdd
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdd1
    /dev/iscsi/arpl3:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdb
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdb1
    /dev/iscsi/arpl4:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdc
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdc1
    /dev/iscsi/arpl5:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdf
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdf1
    [root@node1 ~]# configuring udev results in the drives being mapped to persistent drive names eg. /dev/iscsi/arpl1/part1
    still when i enter the name of the raw device which i have created i get the following error. please help
    Image: !http://img91.imageshack.us/img91/7448/oracle.png!

    did you check this
    http://download-west.oracle.com/docs/cd/B19306_01/install.102/b14203/storage.htm#BABBHECD
    http://download.oracle.com/docs/cd/B28359_01/install.111/b28263/storage.htm#CDEBFDEH
    also before you do what is suggested on the url posted by Mufalani,
    it seems that you should do the following:
    Check existence of udev raw mapping rule file /etc/udev/rules.d/60-raw.rules
    On RH/EL5, udev raw mapping rule file /etc/udev/rules.d/60-raw.rules should exist by default as part of the util-linux package, for example:
    # ls /etc/udev/rules.d/60-raw.rules
    /etc/udev/rules.d/60-raw.rulesCreate a custom udev raw mapping rule file, /etc/udev/rules.d/61-oracleraw.rules say, for example:
    # touch /etc/udev/rules.d/61-oracleraw.rules3b. Add udev raw binding rules to /etc/udev/rules.d/61-oracleraw.rules file
    Add the udev raw binding rules to the /etc/udev/rules.d/61-oracleraw.rules file, for example:
    # cat /etc/udev/rules.d/61-oracleraw.rules
    # Raw bind to Oracle Clusterware devices
    ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524174", RUN+="/bin/raw /dev/raw/raw1 %N"
    ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524179", RUN+="/bin/raw /dev/raw/raw2 %N"If migrating to RHEL5/OEL5 from an earlier Linux version that relied on /etc/sysconfig/rawdevices file for persistent raw device bindings, the following script can be used as a basis for generating your RHEL5/OEL5 udev rules. Note, the script does not factor device name persistency.
    #!/bin/bash
    grep -v "^ *#" /etc/sysconfig/rawdevices | grep -v "^$" | while read dev major minor ; do
    if [ -z "$minor" ]; then
    echo "ACTION==\"add\", KERNEL==\"${major##/dev/}\", RUN+=\"/bin/raw $dev %N\""
    else
    echo "ACTION==\"add\", ENV{MAJOR}==\"$major\", ENV{MINOR}==\"$minor\", RUN+=\"/bin/raw $dev %M %m\""
    fi
    done

  • RHEL 6 for EBS 11i (11.5.10.2)

    Hi hussein,
    I posted a thread in here before about our company buying or upgrading to a newer server which is of higher-end and with bigger CPUs and Memories.
    We are currently running EBS 11i (11.5.10.2) on the current server which is about 6 years old. This is single node only and running RHEL 4.6.
    Now, due to performance degradation, we are buying newer machines which will be a two-node configuration. The machine vendor said that the O.S. that it runs on will be RHEL 6.
    My question is....Is RHEL 6 supported in EBS 11i? Can I clone the existing PROD EBS 11i which is on RHEL 4.6 to
    the new target servers running on RHEL 6?
    Thanks a lot,
    Ms Inday

    My question is....Is RHEL 6 supported in EBS 11i? No, you either need to install RHEL4 or RHEL5.
    Can I clone the existing PROD EBS 11i which is on RHEL 4.6 to
    the new target servers running on RHEL 6?If you install RHEL5, you can use Rapid Clone to clone from RHEL4 to RHEL5.
    Please see these docs for the list of pre-req. software and packages on RHEL5/OEL5
    Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1]
    Oracle Applications 11i Installation on OEL5 or RHEL5 [ID 730444.1]
    Recommendations to Install Oracle Applications 11i [ID 294932.1]
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    You may relink relink the executable files as per the docs referenced in this thread (it is optional as Rapid Clone will do this for you).
    Need clarification on Solaris 10 upgrade for E Business suite application
    Need clarification on Solaris 10 upgrade for E Business suite application
    Thanks,
    Hussein
    Thanks,
    Hussein

  • Oracle on Linux recommendations

    Hello,
    I'm looking to migrate our Oracle installation from Windows to Linux. I am an experienced Linux administrator and architect, and I am also very familiar with SAN storage, but have not looked at the details of implementing Oracle on Linux before. I have certain constraints dictated by our client requirements and available hardware. Namely, the hardware platform will be 2 HP DL580's connected via dual fibre to HDS (Hitachi) 9900V storage. There will be multiple luns presented for different containers. As a result of the multiple storage paths we require good multipath IO support. For this reason my first choice is Redhat Enterprise AS 5. However, on the database side we are limited due to client application compatibility to Oracle 10g R1/R2. We are looking to deploy RAC. We are also looking at 64bit for larger file and memory support. Is this realistic?
    What sort of configuration should I be looking at?
    Should I be looking at Oracle Enterprise Linux 5?
    Am I going to have problems if we want to use RHEL5?
    Is Oragle 10g well supported on RHEL5/OEL5 or will I have to drop to RHEL4/OEL4 (which may cause problems for my SAN mpio support.)
    Will we require OCFS2 for any reason?
    What advantage is there to me in running unbreakable linux? I've read the marketing blurbs but it is not clear to me what the advantages are.
    Any feedback is welcome.
    Thanks,
    Sheldon.

    Hi,
    I think it is Okay to you mentioned configuration to deploy the RAC based on 10g &RHEL5/OEL5.As a matter of fact,Oracle 10gR2 64-bit has been certified on RHEL5-64bit&OEL5-64bit.
    Actually,OCFS2 and ASM are supported by Oracle RAC.The recommended way to manage large amounts of storage in a RAC environment is ASM (Automatic Storage Management).If you want to use the cluster file system,OCFS2 as an open source project is provided.
    OEL5 is fully compatible with RHEL5.Unbreakable Linux is support service.If you choose the OEL5,you can benefit from it as below:
    1,Oracle Enterprise Linux is Free to Download.For Enterprise customers had to pay for a support contract to actually get an enterprise Linux distribution, even if they just wanted to evaluate it. With Oracle Unbreakable Linux, customers can always download the binaries and the source code for free, no support subscription required.Free download at: http://edelivery.oracle.com/linux
    2,Oracle applied a number of bugfixes on top of the original code. These are very limited in scope, and they are critical for customers to have as soon as possible in their production deployment. For a complete listing, read the following data sheets:http://www.oracle.com/technologies/linux/el5cert-ds.pdf
    3,Extensive Testing:
    Tremendous effort has gone into assuring that there is no divergence from the original Red Hat source code, given that the main goal of Oracle Enterprise Linux and the Oracle.
    4,Patches and Bugfixes
    Another aspect of compatibility with Red Hat Enterprise Linux is around patches and bugfixes written by Oracle and not appearing in the Red Hat distribution.
    5,Pay less money and get more professional support service:)
    See more details please refer to http://linux.oracle.com
    Regards
    Terry

  • Rpm's required for installing 11i

    Hi,
    can any one help me in getting the list of rpm's that are needed for installing 11i in oel 5.5 ?????
    Thank u,
    Deepu

    Please see these docs for the list of pre-req. software and packages on RHEL5/OEL5
    Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1]
    Oracle Applications 11i Installation on OEL5 or RHEL5 [ID 730444.1]
    Recommendations to Install Oracle Applications 11i [ID 294932.1]
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    Thanks,
    Hussein

  • Insatance on another OS version

    Hi,
    Im using the instance R12.0.0. with database 10.2.0.2. and another instance 11.5.10.2 with database 9i. We using this instances as single node.... And the OS is RHEL version 4 update 2.
    Question 1: Now is it possible to move these instances to same RHEL with another versions like 5 or 5.2. or any thing else by changing the host name alone to another server(without changing the port number).??.
    If chances there means guide me the way ... ??..
    Question 2: Tell me the way to upgrade these RHEL version by keeping the instance in the same server...
    Which one is better..??.
    Thanks,
    vasanth
    Edited by: vasanth on Jan 28, 2011 12:03 PM

    Question 1: Now is it possible to move these instances to same RHEL with another versions like 5 or 5.2. or any thing else by changing the host name alone to another server(without changing the port number).??.Yes -- Use Rapid Clone.
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    You may also review these docs.
    How to change the hostname of an Applications Tier using AutoConfig [ID 341322.1]
    How to change the hostname and/or port of the Database Tier using AutoConfig [ID 338003.1]
    Question 2: Tell me the way to upgrade these RHEL version by keeping the instance in the same server...Refer to the OS upgrade manual for details on how to upgrade the OS.
    Please see these docs for the list of pre-req. software and packages on RHEL5/OEL5
    Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1]
    Oracle Applications 11i Installation on OEL5 or RHEL5 [ID 730444.1]
    Recommendations to Install Oracle Applications 11i [ID 294932.1]
    Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (32-bit) [ID 555874.1]
    Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (64-bit) [ID 555876.1]
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    Once you upgrade the OS, make sure you relink the executable files as per the docs referenced in this thread.
    Need clarification on Solaris 10 upgrade for E Business suite application
    Need clarification on Solaris 10 upgrade for E Business suite application
    Which one is better..??.If you have sufficient resources on the source nodes, it is easier to upgrade the OS. However, I would not recommend having two instances running on the same node if one (or more) of those instances is your production instance.
    Thanks,
    Hussein

  • CRS 10.2 Linux fails on OCR location

    New 10.2.0.4 install for 2 node RAC system: RHEL5 2.6.18-92.el5 with SAN, using multipath devices. Configured OCFS2 1.4 following http://oss.oracle.com/projects/ocfs2/dist/documentation/v1.4/ocfs2-1_4-usersguide.pdf, and set up of multipath devices following note 564580.1 (Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5). My plan is to use OCFS for OCR and Voting disks. I've successfully configured the volumes, verified mount points, confirmed that proper entries are in /etc/fstab and have also touched a file from a mount point from one node, and could successfully read it from the second. Running runInstaller with -ignoreSysPrereqs. When I get to step that asks to specify OCR location, when I add the OCFS mount point (/u02/ocr1 and /u02/ocr2 for the mirror), I get an error:
    The location/u02/ocr1, entered for the Oracle Cluster Registry is a directory.  Specify a shared raw partition or cluster file system that is visible by the same name on all node in the clusterI've verified the the /etc/multipath.conf file is identical on both nodes, that the mount points are identical, that /etc/fstab are identical. I'm stumped. Any ideas would be appreciated.

    It didn't occur to me to do that, I assumed the installer would name the file(s) itself, as it asked for the location, rather the file name - I will try that.

  • Problems Installing Oracle 10g in Red Hat enterprise 5.3

    I am trying to install Oracle 10g in Linux RH 5.3 the I get the following error
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-05-07_11-08-08AM/jre/1.4.2/lib/i386/
    libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

    This should help you out.
    "Exception java.lang.UnsatisfiedLinkError: ../jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred" on RHEL5/OEL5 for 10.2 x86 or x86_64 install
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443617.1

  • Error with installing oracle on linux

    hi all
    i tried to install oracle on oracle enterprise linux REL 5 but error occurred like that :
    [oracle@aedc1 ~]$ /mnt/database/runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-07-14_02-20-04AM. Please wait ...[oracle@aedc1 ~]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-07-14_02-20-04AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    i want to solve this issue plz

    Hi Ora2009,
    You can refer the following ML doc,
    [Exception java.lang.UnsatisfiedLinkError /jre/1.4.2/lib/i386/libawt.so libXp.so.6 cannot open shared object file No such file or directory occurred on RHEL5/OEL5 for 10.2 x86 or x86_64 install|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443617.1]
    Thanks,
    Anchorage :)

  • How to set permissions on devicemapper block device

    I'm setting up a new RAC on RHEL5.1 using device mapper for multipath functionality.
    How should I set the permissions for the block devices I'm going to use for ocr, voting and asm?
    /dev/mapper/ocr1
    /dev/mapper/voting1
    etc.
    Regards
    Jon-Arne Storelv

    Markus,
    You are right about udev changing drastically between RHEL 4 and RHEL 5. The paper I referred to does include some guidelines for setting permissions for RHEL 5 as well. Here are some relevant extracts from the same pdf document:-
    # From udev.permissions section
    This file was obsoleted in later versions of the 2.6 kernels such as SLES10, RHEL5 and
    Oracle Enterprise Linux 5 (OEL5), that functionality was merged into the rules files, which is explained later in this paper
    ...and later you will find this example in the document
    For RHEL5, OEL5, SLES10
    • Create a file /etc/udev/rules.d/99-raw.rules with the following content
    with the following content
    KERNEL=="raw[1-2]*", GROUP="oinstall", MODE="640"
    KERNEL=="raw[3-5]*", OWNER="oracle", GROUP="oinstall", MODE="660"
    /etc/udev/rules.d/50-udev.rules on Centos 5 gives plenty of examples of settings for all different types of devices. We really need to specify OWNER, GROUP and MODE for devices that RAC will use in a rules file.
    Thanks,
    Satish

  • How to determine raw disks configured for OCR/voting disk, ASM spfile

    I have a two-node Oracle 10gR2 RAC configuration using raw disks. Basically, raw disks are used for CRS's OCR/voting disks, ASM's ASM spfile and disk groups.
    Is there a better way to figure out what raw disks are configured in Oracle using methods other than those shown below:
    - To find out votedisk:
    # crsctl query css votedisk
    0. 0 /dev/ora_crs_vote1
    1. 0 /dev/ora_crs_vote2
    2. 0 /dev/ora_crs_vote3
    - To find out OCR:
    # ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 2
    Total space (kbytes) : 525836
    Used space (kbytes) : 3856
    Available space (kbytes) : 521980
    ID : 1603037329
    Device/File Name : /dev/ora_ocr_file1
    Device/File integrity check succeeded
    Device/File Name : /dev/ora_ocr_file2
    Device/File integrity check succeeded
    Cluster registry integrity check succeeded
    - Is there a way to figure out what disk device is used for ASM spfile?
    - To find out raw disks configured for disk groups:
    while connected to the ASM instance in sqlplus:
    SQL&gt; select name,path from v$asm_disk where name like 'DG%';
    NAME
    PATH
    DG_DC_ASM_0000
    /dev/rhdiskpower13
    DG_DC_ASM_0001
    /dev/rhdiskpower14
    DG_DC_ASM_0002
    /dev/rhdiskpower15
    NAME
    PATH
    DG_DC_ASM_0003
    /dev/rhdiskpower22

    http://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABFFBBA
    and
    Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 465001.1]
    Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 564580.1]

Maybe you are looking for