DBAsupport.com Forums - Powered by vBulletin
Results 1 to 8 of 8

Thread: Installing Oracle 9i on Linux RH 7.2

  1. #1
    Join Date
    Dec 2000
    Posts
    255
    I am installing Oracle 9i on RH 7.2 I have extracted the cpio on my machine. I have also installed JDK 1.3 on my machine and formed the link to /user/local/java. Also I have downloaded the file binutils. However I am trying to configure the .bash_profile and I guess the problem is there. I don't know how to set the DISPLAY variable. It is gave me the problem and when I run ./runInstaller nothing is happening. Not even an error message. Can anyone tell me what is the problem? Also Do I have to create the lib, config directories before installation physically. It is not mentioned anywhere in the following links which I referred.

    http://staff.in2.hr/denis/oracle/901...l_rh72_en.html
    http://www.puschitz.com/InstallingOracle9i.html

    I am pasting my .bash_profile parameters.


    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi

    PATH=$HOME/bin:/opt/oracle/product/9.0.1/bin:$PATH
    ORACLE_BASE=/opt/oracle; export ORACLE_BASE
    ORACLE_HOME=/opt/oracle/product/9.0.1; export ORACLE_HOME
    # LD_LIBRARY_PATH=/opt/oracle/product/9.0.1/lib; export LD_LIBRARY_PATH
    ORACLE_SID=kendb; export ORACLE_SID
    ORACLE_PATH=$ORACLE_HOME/bin; export ORACLE_PATH
    ORACLE_TERM=vt100; export ORACLE_TERM
    ORA_NLS33=/opt/oracle/product/9.0.1/ocommon/nls/admin/data; export ORA_NLS33 NLS_LANG=american; export NLS_LANG
    TNS_ADMIN=$ORACLE_HOME/config; export TNS_ADMIN

    if [ -z $LD_LIBRARY_PATH ]
    then
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    else
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    fi
    if [ -z $CLASSPATH ]
    then
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
    export CLASSPATH
    else
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/JRE:$ORACLE_HOME/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
    export CLASSPATH
    fi

    export BASH_ENV PATH
    unset USERNAME

    Amol

  2. #2
    Join Date
    Dec 2000
    Posts
    255
    I am getting following error when trying to run ./runInstaller

    'Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.'

    Amol

  3. #3
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    U must set DISPLAY env variables in ur .profile

    export DISPLAY=box_name:0.0

  4. #4
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    You'll also have to do the following as root

    $ xhost boxname

    Cheers
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: oracle-base.com
    My blog: oracle-base.com/blog

  5. #5
    Join Date
    Dec 2000
    Posts
    255
    Sorry for the late reply as I was out st.

    Tim

    I did the following command from $ prompt

    $xhost 192.164.22.40

    from my oracle user and got the following message

    Xlib: connection to ":0.0" refused by server
    Xlib: Client is not authorized to connect to Server
    xhost: unable to open display ":0.0"

    Now what can be reason behind this

    I have also set export DISPLAY=box_name:0.0
    on my oracle user's .bash_profile still for the first time I got the message when I run the command ./runInstaller

    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.motif.MToolkit.(MToolkit.java:43)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:399)
    at java.awt.Font.initializeFont(Font.java:106)
    at java.awt.Font.(Font.java:121)
    at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.(OiifmSplashScreen.java:42)
    at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.(OiifmSplashScreen.java:64)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:423)

    Next time when I run the command ./runInstaller then nothing happens It siply come back to $ prompt without even displaying any error message.
    What can be the reason

    I'll highly appreciate your help in this regard.

    Amol

  6. #6
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    as root do xhost +
    this will wllow access from any host to your x server

  7. #7
    Join Date
    Dec 2000
    Posts
    255
    Thanks pando.. The Installer started

    One more doubt... While specifying database character set by default it was WE8ISO8859P1. When I clicked help button see whether English is there I was shocked to see that it is not there. Is it correct ? I can't believe it.
    Should I set DATABASE CHARACTER SET' to US7ASCII or keep as default the earlier one.

    Regards

    Amol

  8. #8
    Join Date
    Dec 2000
    Posts
    255
    Can I atleast change my database character set after installation ?

    Amol

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width