Home | Fedora Core 4 Tutorial | Linux Tutorials | Linux Games | Linux Java | Linux Kernal | Linux Firewall | Linux Database | Linux Distributions | Linux Firewall GUI | Linux Distributions | Linux Firewall

 


 

Search Host

Monthly Fee($)
Disk Space (MB)
Register With us for Newsletter!
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

Tutorials

Java Server Pages

JAXB

Java Beans

JDBC

MySQL

Java Servlets

Struts

Bioinformatics

Java Code Examples

Interview Questions

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Web Promotion

Web Submission

Submit Sites

Manual Submission?

Web Promotion Guide

Hosting Companies

Web Hosting Guide

Web Hosting

Linux

Beginner Guide to Linux Server

Linux Distribution

Major Linux Distribution

Linux FTP Software

Frameworks

Persistence Framework

Web Frameworks

Free EAI Tools

Web Servers

Aspect Oriented Programming

Free Proxy Servers

Softwares

Adware & Spyware Remover

Open Source Softwares

7. Run Installer

7.1. Apply the libwait.c patch

Before running the installer, do the following in order to overcome some weird errors:

  • In /home/oracle,create a file name libwait.c and as described below and compile it :

    Ceate a file called libcwait.c in the
    oracle
    user's home directory to avoid getting
    an error when running the Oracle installer. The libcwait.c file should contain the
    following text:
    /*
    gcc -O2 -shared -o $HOME/libcwait.so -fpic $HOME/libcwait.c
    */
    #include
    #include
    #include
    Deploying Oracle 9i on Red Hat Enterprise Linux AS 3
    Page 11
    #include
    pid_t
    __libc_wait (int *status)
    {
    int res;
    asm volatile ("pushl %%ebx\n\t"
    "movl %2, %%ebx\n\t"
    "movl %1, %%eax\n\t"
    "int $0x80\n\t"
    "popl %%ebx"
    : "=a" (res)
    : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0), "S" (0));
    return res;
    }
    Next, compile this file in the
    oracle
    user's home directory by executing the
    following command:
    gcc -02 -shared -o $HOME/libcwait.so -fpic $HOME/libwait.c
    

    gcc -shared -o libcwait.so libcwait.c -fpic -O

  • Then add this library to the environment of the database user:

    export LD_PRELOAD=/home/oracle/libcwait.so

    Earlier, we put a similar line in .bash_profile.

7.2. Configure the Display

Execute the following commands as oracle User :


oracle@9iserver ~> xhost +localhost
oracle@9iserver ~> export DISPLAY=localhost:0.0

You can now connect to your desktop or optionally run the installation remotely, for instance using VNC.for instance running the installer from your Windows desktop

7.3. Start the Installation

Start the graphical installation application:

/path/to/oracle/Disk1/runInstaller

Now carry with Graphical setup (if you are not sure choose Standard database). From here the rest of the installation process is obvious.

7.4. Fix nodeinfo

Now installation should proceed without any linking errors but you will get one error in the end:


Parameter "nodeinfo" = NO_VALUE
Agent Service Failed

In order to fix this, run the following for starting the wizard after setup has finished:

netca &

Now change into $ORACLE_HOME and run ./lsnrctl start.

Check that the process is running:

ps afx | grep LISTEN

Search Tutorials

Linux Distributions

Fedora

Slackware
SuSe
Mandrake
Knoppix
Mepis
Debian
All Distors....
 

 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2004. All rights reserved.