This discussion is archived
8 Replies Latest reply: Jun 28, 2013 2:38 AM by Hemant K Chitale RSS

problem during installation oracle 10g on linux

26225403-4a05-4a00-9e13-271074c3d0b4 Newbie
Currently Being Moderated

When I try to install oracle 10g on linux, I have got the error as below.

 

 

./runInstaller: /oracle/cds/database/install/.oui: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory


Can some one resolve this issue..


Thank you...

  • 1. Re: problem during installation oracle 10g on linux
    Dizwell Newbie
    Currently Being Moderated

    Yes, well... we're lacking a bit of detail, don't you think?

     

    What distro are you using, for example? 32-bit? 64-bit? And are you trying to install 32-bit or 64-bit Oracle 10g?

     

    Generally, though, I've seen this error on a 64-bit operating system and you haven't installed all the proper 32-bit prerequisites needed by Oracle.

    Your best bet is to therefore go back to the documentation and make sure you've fulfilled all the prerequisites.

     

    You could try a yum install glibc.i386 to try and fix the immediate problem (though that assumes you're on a Red Hat-like O/S)

     

    You could also try visiting http://dizwell.com/downloads and grabbing a copy of Gladstone. Makes 10g and 11g 64-bit Oracle installations on a number of distros more-or-less a piece of cake.

  • 2. Re: problem during installation oracle 10g on linux
    26225403-4a05-4a00-9e13-271074c3d0b4 Newbie
    Currently Being Moderated

    tanks for the reply with helpful solution...ya I trying to install....32bit oracle 10g...

  • 3. Re: problem during installation oracle 10g on linux
    Hemant K Chitale Oracle ACE
    Currently Being Moderated

    10g 32bit is only certified on specific 32bit Linux platforms  (not on 64bit Linux)

     

    Hemant K Chitale

  • 5. Re: problem during installation oracle 10g on linux
    Dizwell Newbie
    Currently Being Moderated

    Oh, come on.

    It's only supported on Red Hat, Suse and OEL too... but that hasn't stopped me (or lots of other people) installing it on CentOS, Sabayon, Ubuntu, Mint, Debian and heap of other stuff, too.

     

    Lacking any real information from the original poster, I grant you that whether something is certified or not may be important to him, but I think he's owed the facts: a 32-bit installation on 64-bit Linux for 10g is very do-able. (Though why you'd want to cripple yourself with 10g in the first place and then compound the problem by sticking to 32-bits is a good question!)

  • 6. Re: problem during installation oracle 10g on linux
    Abdul Moyed Newbie
    Currently Being Moderated

    1.1 Oracle/ Red Hat /Centos Enterprise Linux 5.8

    1. Sr. No

    Task to be performed

    1

    Identify CPU (i.e. Cabinet) for server Installation

    2

    Attach CD Rom to Cabinet and connect Data bus and Power Cable to CD Drive

    3

    Plug Monitor, Keyboard and Mouse to CPU and Power on.

    4

    Insert Oracle /Centos/Red Hat Enterprise Linux 5 DVD  in the DVD Rom

    5

    Press Del/F2 to enter setup

    6

    Set first boot device to CD/DVD Rom and Second boot device to HDD0

    7

    Press F10 to save changes and exit from setup

    8

    If prompted, Press any key to boot from CD

    Note: Now Oracle/Red Hat/Centos Enterprise Linux5 installation begins.

    9

    Choose installation mode.

    To Install and Upgrade in Graphic Press Enter.

    1. 9.1

    Check Media(CD,DVD) Before Installation Click on Test after that continue  

    10

    On the Welcome to Setup screen It asking to check DVD media, press OK. Note: It Take few minute.

    11

    Now Installation start In Graphic mode Press Next.

    1. 11.1

    What language would you like during installation process

    Select English and press Next.

    12

    Now Select Keyboard Which You like Select US English.

    13

    Now Select Language Which You like during Installation 

    Select English.

    14

    Enter Installation Number (key) and press Ok.

    Note: - This step for Red hat Only.

    15

    Select the option from the dropdown list Remove All partition on select drive & Create Default layout. 

    16

    Do Not Select Encrypt System

    Select Review and modification layout .Press Next.

    17

    A message box popup & ask are you sure Select YES.

    1. 17.1

    The appearing screen shows the hard disk size partition & allocated partition (boot, swap, /).Click on Next button. 

    1. 17.2

    The Next appearing screen shows the Grub Boot Loader screen. Click on Next button. 

     

    Network Devices

    18

    Now Network Devices screen open (It Shows the Lan card e.g. eth0, eth1, etc). Press edit button and set following.

    Option

    Action & Details

    Select Enable IP4 support

    Enabled

    Choose manual configurations

    Enabled

    IP

    1. 192.168.50.1 OR The IP may change as per client requirement.

    Net mask

    1. 255.255.255.0

    Uncheck Enable IP6 support

    Disabled

    & Press OK.

     

    Host /Server/Machine Name Configuration

    19

    Now Select manually option under Host Name to Set Machine/Host/Server Name Like dbserver.

    Note: - The Host/Machine/Server Name may change as per client requirement.

     

    Miscellaneous settings (Gateway & DNS Configuration)

    20

    Now Enter configuration details 

    Configuration

    Details

    Gate Way

    1. 192.168.50.1 OR may be change as per client

    Primary DNS

    1. 192.168.50.1 OR may be change as per client

    Secondary DNS

    1. 192.168.50.2 OR may be change as per client

    & Press Next.

    21

    Set Time Zone to Asia/Kolkata and Select System clock user UTC press Next.

    22

    Set root passwords to Rajdeep_99 And Confirm Rajdeep_99

    Note: - Password may be change as per requirement.

    & Press Next.

    23

    To customize  the packages installation Select Option “Customize Now”

    & Press Next.

     

    Package Installation

    1. 23.1

    Package Name Desktop Environment

    Package

    Selection

    GNOME

    1. Yes. Now Click on Optional package button and Select all optional packages.

    KDE

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Select Next package Using Scroll Up/down key Or Mouse.

    1. 23.2

    Package Name Applications

    Package

    Selection

    Authority & Publishing

    No

    Editor

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Emacs

    No

    Engineering & scientific

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Games & Entertainment

    No

    Graphic Internet

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Graphic

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Office / Productivity

    No

    Sound & Video

    No

    Text based Internet

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Select Next package Using Scroll Up/down key Or Mouse.

    1. 23.3

    Package Name Development

    Package

    Selection

    Development Library 

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Developments Tools

    1. Yes. Now Click on Optional package button and Select all optional packages.

    GNOME Development Library

    No

    Java Development

    1. Yes. Now Click on Optional package button and Select all optional packages.

    KDE development

    No

    Legacy Soft Development 

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Ruby

    No

    X Soft Development

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Select Next package Using Scroll Up/down key Or Mouse.

    1. 23.4

    Package Name Server

    Package

    Selection

    DNS Name Server

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Mail Server

    No

    FTP Name Server

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Legacy Network Server

    No

    Webserver

    No

    MY SQL database

    No

    Network Server

    1. Yes. Now Click on Optional package button and Select all optional packages.

    News Server

    No

    Postgre SQL database

    No

    Printer support

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Server Configuration Tools

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Web Server

    No

    Windows Files Server

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Select Next package Using Scroll Up/down key Or Mouse.

    1. 23.5

    Package Name Base System

    Package

    Selection

    Administration Tools 

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Base

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Dial-up Network Support

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Java

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Legacy Soft Support

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Open fabric Enterprise Distruster

    1. Yes. Now Click on Optional package button and Select all optional packages.

    System Tools

    1. Yes. Now Click on Optional package button and Select all optional packages.

    X Windows System

    1. Yes. Now Click on Optional package button and Select all optional packages.

    Select Next package Using Scroll Up/down key Or Mouse.

    1. 23.6

    Package Name Cluster Storage

    Package

    Selection

    Cluster Storage

    1. Yes. Now Click on Optional package button and Select all optional packages.
    2. 23.7

    Package Name Cluster

     

    Package

    Selection

    Clustering

    No

    Clustering Storage

    No

    Select Next package Using Scroll Up/down key Or Mouse.

    1. 23.8

    Package Name Virtualization

     

    Package

    Selection

     

     

    Virtualization

    No

     

    KVM /Xen

    No

     

    Select Next package Using Scroll Up/down key Or Mouse.

     

    1. 23.9

    Package Name Language

     

    Package

    Selection

    Language

    No To ALL

     

     

    & Press Next. (It Takes 1 Or 2 minute ) It checks for dependency package.

    24

    Now Press & It will Install selected Packages

    Note: It takes 30 to 40 minute.

     

    25

    After Completion package Installation Press reboot Button.  

     

    26

    Now Eject DVD from DVD ROM.

     

     

    Problem to load ORACLE /REH/CETOS/ EL5

     

    27

    If After Restart U have problem to load REHEL5 and your Server machine Hang then again restart & press(hold) I continually

    Manually start services press No to cpuspeed process & Yes to remaining all process.

    Note: - After installation disable cpuspeed process using setup command.

     

    28

    After restart Press Forward button.

     

    29

    Now Red hat ask for License Agreements Select ‘Yes, I agree to license agreement’ & Press Forward Button

     

     

    Firewall Configuration

     

    30

    Now It show Firewall Configuration Screen

     

    Services

    Action(Trusted Or Not)

    SSH

    Yes

    FTP

    No

    Samba

    Yes

    Nfs4

    No

    Secure WWW(https)

    Yes

    Mail (smtp)

    No

    Telnet

    Yes

    WWW(http)

    Yes

    1. 30.1

    Add New port

     

    Port No

    Port Type

    Use For

     

     

    1521

    TCP

    SQL Plus *

     

    5560

    TCP

    ISQL PLUS

     

    2901

    TCP

    Hamachi

     

    1158

    TCP

    Enterprise Manger

     

    10000

    TCP

    WEB MIN

     

    5901

    TCP

    VNC For root

     

    5902

    TCP

    VNC For oracle

     

     

     

     

     

    & Press Next.

     

    31

    Now Selinux Settings make this disable & Press Forward.

     

    32

    After that kdump Screen open select uncheck option & Press Forward button.

     

    33

    Set Date and Time & Give Check Mark Network time Protocol Press Forward button.

     

    34

    Now Select ‘No thanks I wish connect later’ & Press Forward button.

     

     

    User Creation

     

    35

    Create User If any

     

    Option

    Value

    User Name

     

    Full Name

     

    Password

     

    Conform password

     

    & Press Forward.

    35

    Sound cards Press Forward button.

     

    36

    Additional Cd’s Press Finish button.

     

    37

    Now Red hat show message ‘The system must now re boot for some your selection to make effective ‘Press Ok.

     

    38

    After Restart login as root and ready to use.

     

     

    Webmin Installation 

     

    39

    Insert Utility cd Open Webmin folder and double click on webmin-1.510-1.noarch.rpm and execute.

    OR

    Download Webmin rpm file from http://prdownloads.sourceforge.net/webadmin/webmin-1.510-1.noarch.rpm.

    Double Click on rpm file and execute.

     

    40

    Configure Firewall Settings add port 10000 in firewall.

     

    41

    Check in browser http://192.168.50.1:10000 on another machine.

    Note:- IP may be change .

     

    42

    Insert user name and password.

     

     

    Oracle User Account Creation

     

     

    Create a oracle user account following steps:-Open terminal run following command.

           /usr/sbin/groupadd oinstall

    /usr/sbin/groupadd dba

    /usr/sbin/useradd -m -g oinstall -G dba oracle

    Note:-For Oracle Enterprise Linux no need to create Oracle user account.

     

     

    Set a passwd to oracle user:-

                passwd oracle (set passwd ‘oracle’ & confirm the password)

     

     

    VNC Server Installation For root User

     

    1. 43.1

    Open terminal login as root and type vncserver start and set new password for Root as password = root123 and confirm password=root123.

     

    1. 44.2

    Now Edit VNC Server file using vi or gedit /etc/sysconfig/vncservers edit as

    VNCSERVERS="1:root 2:oracle"

    VNCSERVERARGS[1]="-geometry 1024x764"

    VNCSERVERARGS[2]="-geometry 1024x764"

    and save.

     

    44

    Run following command in terminal.

    service vncserver start

    and press enter.

     

    45

    Now change directory as cd /root/.vnc/

     

    46

    Edit gedit or vi editor xstartup file and uncomment two line like this

    # Uncomment the following two lines for normal desktop:

    unset SESSION_MANAGER

    exec /etc/X11/xinit/xinitrc

    and save .

     

    47

    Open terminal start  services vncserver start

     

    48

    Add 5901:tcp ,5902:tcp into firewall settings

     

     

    VNC Server Installation For oracle User

     

    49

    Log out from root  user

     

     

    Log in as oracle using GUI

     

    50

    Open terminal login as oracle and type vncserver start and set new password for oracle as password = oracle123 and confirm password=oracle123.

     

     

    Open terminal Login as root and run following command.

    1. 1. services vncserver stop
    2. 2. services vncserver start

     

    51

    Now change directory as cd /home/oracle/.vnc/

     

     

    Edit gedit or vi editor xstartup file and uncomment line

    # Uncomment the following two lines for normal desktop:

    unset SESSION_MANAGER

    exec /etc/X11/xinit/xinitrc

    and save .

     

    52

    Connect using vncviewer IP:PORT e.g.(192.168.5.1:5901)

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Oracle11g Database scripting In Oracle/ Red hat /Centos 5

     

    1. Sr. No

    Task to be performed

    1

    Software Requirement:-

    Login as root in server:-

    For installing following Packages Insert Redhat 5.5 DVD. In to DVD rom and run the following Command in terminal.

    For Oracle Linux

                  cd /media/OEL-5.8-i386-dvd/Server

    For Redhat  Linux

                  cd /media/RHEL-5.5-i386-dvd

    For Centos  Linux

                  cd /media/CENTOS-5.5-i386-dvd/Centos

     

    Package Installation For Oracle Database

    2

    Then install following package

     

                  rpm -Uvh setarch-2*                            press enter

                  rpm -Uvh make-3*                               press enter

                  rpm -Uvh glibc-2*                                press enter

                  rpm -Uvh libaio-0*                               press enter

                  rpm -Uvh compat-libstdc++-33-3*        press enter

                  rpm -Uvh compat-gcc-34-3*                 press enter

                  rpm -Uvh compat-gcc-34-c++-3*          press enter

                  rpm -Uvh gcc-4*                                  press enter

                  rpm -Uvh libXp-1*                               press enter

                  rpm -Uvh openmotif-2*                        press enter

                  rpm -Uvh compat-db-4*                       press enter

                  rpm -Uvh binutils-2.*                           press enter

                  rpm -Uvh compat-libstdc++-33-3.*       press enter

                  rpm -Uvh elfutils-libelf-*                       press enter

                  rpm -Uvh elfutils-libelf-devel-*              press enter

                  rpm -Uvh elfutils-libelf-devel-static-*      press enter

                  rpm -Uvh gcc-4.*                                 press enter

                  rpm -Uvh gcc-c++-4.*                          press enter

                  rpm -Uvh glibc-2.*                               press enter

                  rpm -Uvh glibc-common-*                    press enter

                  rpm -Uvh glibc-devel-*                         press enter

                  rpm -Uvh glibc-headers-*                     press enter

                  rpm -Uvh kernel-headers-*                   press enter

                  rpm -Uvh ksh-*                                   press enter

                  rpm -Uvh libaio-0.*                              press enter

                  rpm -Uvh libaio-devel-0.*                     press enter

                  rpm -Uvh libgcc-4.*                             press enter

                  rpm -Uvh libgomp-4.*                          press enter

                  rpm -Uvh libstdc++-4.*                        press enter

                  rpm -Uvh libstdc++-devel-4.*               press enter

                  rpm -Uvh make-3.*                              press enter

                  rpm -Uvh sysstat-7.*                            press enter

                  rpm -Uvh unixODBC-2.*                        press enter

                  rpm -Uvh unixODBC-devel-2.*               press enter

     

    Note:-If any package all ready install ignore same.   

     

    Changing Redhat Release

    3

    For changing redhat release run this command :-

    echo "rhel4" > /etc/redhat-release

     

    Oracle User Account Creation

    4

    Create a oracle user account following steps:-

           /usr/sbin/groupadd oinstall

    /usr/sbin/groupadd dba

    /usr/sbin/useradd -m -g oinstall -G dba oracle

    Note :-No need create user in Oracle Enterprise Linux

                                           

    5

    Set a passwd to oracle user:-

    Type following command in terminal

    passwd oracle

    Changing password for user oracle.

    New UNIX password: oracle

    and confirm password: oracle

     

    Create Installation Directory

    6

    Create a installation path & set the permission:-

         mkdir -p /u01/app/oracle

    chown -R oracle:oinstall /u01

    chmod -R 775 /u01/

     

    Set Kernel Parameters

    7

    Configure kernel parameters:-

    In linux_scripts pre installation folder copy sysctl file to /etc directory

     

    1. Like.    cp sysctl .conf  /etc/

    8

    For activating modification :-

              /sbin/sysctl –p run this command in to terminal

     

    Set Configure Shell Limits

    9

    Configure shell limits:-

    1. 1. Copy limits .conf from linux_scripts  folder paste  in to /etc/security
    2. 2. Copy login from linux_scripts  folder paste  in to /etc/pam.d/
    3. 3. Copy profile from linux_scripts  folder paste  in to /etc/
    4. 4. Copy csh.login from linux_scripts  folder paste  in to /etc/

     

    Configure hang check timer

    10

    Configure hang check timer :-

       modprobe hangcheck-timer hangcheck_tick=30 hangcheck_margin=180

    After this command copy rc.local file from Linux_Script to at /etc/rc.d/rc.local

    1. e.g. cp rc.local /etc/rc.d/rc.local

    After this step your oracle user created

     

    Set Environment Variable With Profile

    11

    Now login  as oracle user(Graphic mode):-

    Note: - First you have to logout from root then.

                            User name :-oracle

                            Passwd      :-oracle              

    After login oracle user you show new oracle folder created In /home directory

    12

    Now Copy .bashrc & .bash_profile paste at /home/oracle folder

    1. e.g cp .bashrc /home/oracle/

    13

    Copy file .bashrc  and paste at /etc directory(login as Root)

    14

    Activate this variable  use following command:-

                source ~/.bash_profile (login as oracle)

     

    Copy Database and Other Installable

    15

    Then Copy Linux_script and oracle11 Database setup folder to:-

                  /home/oracle/Desktop/ (oracle user login)

                                           (This step can take several Minutes.)

    16

    Open Terminal login as root Give permission:-

                chmod -R 775 /home/oracle/Desktop/database/

     

    Oracle Database Installation

    17

    Now Login as oracle in terminal and open database folder:-

                   cd /home/oracle/Desktop/database

    18

    Run:- ./runInstaller file

    Note:-Now you can see oracle setup window on your Desktop.

    19

    Most Important things in installation check right Installation Path:-

    /u01/app/oracle/product/11.2.0/db_1

    Then type database name & passwd:-

         name:- oracle11

         Passwd:- you can type like as ‘sys’

         Again confirm this passwd  ‘sys’ and click ‘next’

    20

    After Click Next You have  show Specify inventory directory and credentials Window Click ‘next’

    22

    After Click Next You have Show oracle universal Installer Summary Window ‘Click ‘Install’ (this may Take Several Minutes) Then setup Install database Configuration Assistant.

    23

    Then setup Display password management window in this Step you can lock-Unlock & Change database user Account Default password in this step.

    1. Ex. Sys, sysdba.

    ‘click ok’

    24

    Then You will face diaglog box which wants you to execute two sh scripts (login as root open a terminal and run those following two scripts.)

    /u01/app/oracle/orainventory/orainstRoot.sh

        /u01/app/oracle/product/11.2.0/db_/root.sh 

    Click ‘ok’ after run this script.

    25

    End of installation setup show installation path window copy this path in Desktop create new file and Click ‘exit’    

     

    Post Installation Configuration

    26

    Copy dbora file from linux_script folder to location:-

            /etc/init.d/dbora(login as root)

    1. e.g cp dbora  /etc/init.d/

    27

    Give permission to file:- chmod 755 /etc/init.d/dbora

    28

    Make following links as root:-

                ln -s /etc/init.d/dbora /etc/rc3.d/S99dbora

                ln -s /etc/init.d/dbora /etc/rc4.d/S99dbora

                ln -s /etc/init.d/dbora /etc/rc5.d/S99dbora

                ln -s /etc/init.d/dbora /etc/rc0.d/K10dbora

                ln -s /etc/init.d/dbora /etc/rc6.d/K10dbora

    30

    Open the /etc/oratab file and change the last letter from N to Y:

    Oracle11:/u01/app/oracle/product/11.2.0/db_1:N

    To

                   Oracle11:/u01/app/oracle/product/11.2.0/db_1:Y

    31

    Restart System and check System log.

    32

    Services For Database is dbora:-

                           service dbora stop

                           service dbora start.

     

     

     

    Hope this help full...........

  • 7. Re: problem during installation oracle 10g on linux
    Hemant K Chitale Oracle ACE
    Currently Being Moderated

    Oracle Support Note

    • Running 32-bit Linux x86 Oracle Database server on Linux x86-64 AMD64/EM64T (64-bit OS) is not supported .

    Hemant K Chitale

  • 8. Re: problem during installation oracle 10g on linux
    26225403-4a05-4a00-9e13-271074c3d0b4 Newbie
    Currently Being Moderated

    Many Thanks for the Guidelines....