IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

HOWTOs

Search Howtos :Match :

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 at 9iserver ~> xhost +localhost
oracle at 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 Howtos :Match :
VLC media player 0.9.7
Cross-platform media player and streaming server
Ruby 1.9.1 p2
Interpreted scripting language
NASM 2.06rc1
NASM is an 80x86 assembler designed for portability
Veejay 1.4.3
A Visual 'music' instrument and video tracking tool.
Evolution 2.25.2
GNOME mailer, calendar, contact manager and communications tool
Sylpheed 2.6.0rc
Mail User Agent based on GTK+
Nautilus 2.25.1
The Nautilus Environment -- Delivering a Richer User Experience
GtkHTML 3.25.2
HTML rendering/editing library
Pybliographer 1.2.12
Tool for managing bibliographic databases
GFTP 2.0.19
Free multithreaded ftp client
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

eWeek

The essential technology information source for builders of e-business.

BusinessWeek (Digital Edition)

Provides readers a deeper understanding of the trends that drive growth, and what best practices keep them ahead of the competition.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info