Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2002
    Location
    NJ
    Posts
    139

    Unanswered: Oracle8i Installation on Unix

    Hi,

    I am having a really hard time installing Oracle8i for Sun Sparc Solaris on my Ultra 30 Sun Microsystem Machine. I keep getting errors when I type ./runInstaller. Here is the latest:

    Alex:/cdrom/oracle8i_se > Initializing Java Virtual Machine from /tmp/OraInstall0/jre/bin/jre. Please wait...
    /tmp/OraInstall0/jre/bin/jre[91]: opts: parameter not set

    I don't know what options I am supposed to set and the Oracle documentation is overwelming in details. Is there a way I can develop some kind of report between anyone who can help and me. Maybe I could eventually complete this installation. Maybe you could list some questions and I will provide the answers to. We can take it from there.

    Any volunteers???

    Alex.

  2. #2
    Join Date
    Feb 2003
    Posts
    45

    Question Oracle 8i install on Solaris (Sparc)

    Hi,

    I'm a bit surprised as this is usually a doddle.

    BTW: You should ALWAYS post the exact version of Oracle and of your OS otherwise how can anyone know that they have relevant information for you ???

    Read the Oracle install literature regards installation requirements!

    You may need your SysAdmin to tweak the kernel and expand the Shared Memory settings before starting your install.

    Once your machine satisfies all Oracle requirements....

    ie: you need an Oracle User and a DBA group setup

    You also need to set several environment vars ie: ORACLE_HOME,
    ORACLE_BASE, ORACLE_SID and probably ORACLE_TERM.


    Presuming you are installing 8.1.7 , then this document should help

    http://download-east.oracle.com/docs/pdf/A85471_01.pdf

    Good Luck

  3. #3
    Join Date
    Sep 2002
    Location
    NJ
    Posts
    139

    Oracle8i INstallation on Unix

    Hi,

    Thank you for your reply. I appologize for not stating more clearly what is going on. Here are some info.:

    Machine:
    Sun Ultra 30 UPA/PCI (UltraSPARC-II 248MHz), No Keyboard
    OpenBoot 3.9, 256 MB memory 9GIG.
    I connect via serial port.

    Platform:
    Sun Solaris 8.0

    Oracle 8.1.7 for unix

    I have followed the instructions from the Oracle8i documentation and besides the errors bellow, I have set everything I beleive correctly.

    downloads and updates:
    I have had some problems with java patches required by Oracle:
    8_recommended.zip and all the required patches. Some could not be loaded and the reply did not tell why or which one was missing. And at times, when I got a reponse from the machine that I needed one patche, it could not be installed because it required yet another patche, but no name? I got frustrated.

    Settings:
    Alex:/opt/app/oracle/product/8.1.7 > df
    / (/dev/dsk/c0t0d0s0 ): 382902 blocks 302025 files
    /proc (/proc ): 0 blocks 3862 files
    /dev/fd (fd ): 0 blocks 0 files
    /etc/mnttab (mnttab ): 0 blocks 0 files
    /var/run (swap ): 1374208 blocks 26307 files
    /tmp (swap ): 1374208 blocks 26307 files
    /export/home (/dev/dsk/c0t0d0s7 ):12869712 blocks 804109 files
    /cdrom/oracle8i_se (/vol/dev/dsk/c0t6d0/oracle8i_se): 0 blocks 0 files
    Alex:/opt/app/oracle/product/8.1.7 >
    Alex:/opt/app/oracle/product/8.1.7 >

    .profile:
    MAIL=/usr/mail/${LOGNAME:?}
    SHELL=/usr/bin/ksh
    ENV=$HOME/.env
    set -o vi
    export PS1="`uname -n`:\$PWD > "
    ORACLE_BASE=/opt/app/oracle
    ORACLE_HOME=$ORACLE_BASE/product/8.1.7
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    NLS_LANG=american_america.us7ascii
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    PATH=$PATH:/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/etc:/usr/ucb:/usr/local/bin:/usr/bin:/bin:/opt/SUNWppro/bin:$ORACLE_HOME/bin:$HOME/bin
    #MANPATH=/usr/share/man:/usr/local/man
    DISPLAY=localhost:192.168.168.10:0.0
    #DISPLAY=0.0
    #export DISPLAY
    ORACLE_SID=heidi
    ORACLE_TRACE=T
    ORAENV_ASK=NO
    SQLPATH=$ORACLE_HOME
    TNS_ADMIN=$ORACLE_HOME/network/admin
    #TWO_TASK=
    #export TWO_TASK
    #ADA_PATH
    #export ADA_PATH
    CLASSPATH=$ORACLE_HOME/product/jlib
    HOME=$HOME
    #LANG=
    #export LANG
    #LD_OPTIONS
    #export LD_OPTIONS
    #LPDEST
    #export LDDEST
    #LDPATH
    #export LDPATH
    #PRINTER
    #export PRINTER
    TERM=vt100
    TMPDIR=/opt/app/oracle/tmp
    #XENVIRONMENT
    DEBUG_PROG="truss -eafl -topen,stat -o /tmp/t"
    #opts=
    XFILESEARCHPATH=/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/etc:/usr/ucb:/usr/local/bin:/usr/bin:/bin:/opt/SUNWppro/bin

    export SHELL ENV ORACLE_BASE ORACLE_HOME LD_LIBRARY_PATH NLS_LANG ORA_NLS33 PATH DISPLAY ORACLE_SID
    export ORACLE_TRACE ORAENV_ASK SQLPATH TNS_ADMIN CLASSPATH HOME TERM TMPDIR XFILESEARCHPATH DEBUG_PROG
    #export opts

    error:
    syslogd: line 14: unknown priority name "*"
    Print services started.
    Mar 8 17:30:15 Alex genunix: sorry, variable 'shminfo_semmni' is not defined in
    the 'shmsys'
    Mar 8 17:30:15 Alex genunix: module
    Mar 8 17:30:15 Alex genunix:
    Mar 8 17:30:15 Alex genunix: sorry, variable 'shminfo_semmsl' is not defined in
    the 'shmsys'
    Mar 8 17:30:15 Alex genunix: module
    Mar 8 17:30:15 Alex genunix:
    Mar 8 17:30:15 Alex genunix: sorry, variable 'shminfo_semmns' is not defined in
    the 'shmsys'
    Mar 8 17:30:15 Alex genunix: module
    Mar 8 17:30:15 Alex genunix:
    Mar 8 17:30:15 Alex genunix: sorry, variable 'shminfo_semopm' is not defined in
    the 'shmsys'
    Mar 8 17:30:15 Alex genunix: module
    Mar 8 17:30:15 Alex genunix:
    Mar 8 17:30:15 Alex genunix: sorry, variable 'shminfo_semvmx' is not defined in
    the 'shmsys'
    Mar 8 17:30:15 Alex genunix: module
    Mar 8 17:30:15 Alex genunix:


    Alex:/ # > cd /kernel/sys/sparcv9/
    Alex:/kernel/sys/sparcv9 # > ls
    rwxr-xr-x 1 root sys 23576 Oct 22 18:18 shmsys


    Perhaps you have more questions?? I appriciate all you can do to help me.

    Alex

  4. #4
    Join Date
    Feb 2003
    Posts
    45

    Exclamation OS Patching

    It's looking like your machine is not patched and up to date, hence the errors.

    I'm going to assume that this must be a fresh install of Oracle!

    First remove any Oracle software that you have installed as this can't be relied upon to have linked correctly during any install runs that you've tried.
    NB: Assuming that you haven't changed any install scripts ALSO check the /var/opt/oracle directory, this has a file oraInst.loc and this file points at the location of the Oracle Inventory remove this too, otherwise the Oracle Install utility will assume you have a previous copy of Oracle installed.

    Once you've done this you need to go back to basics.

    Get your System Administrator to check the Shared Memory settings as per the Oracle Install information that I attached in the Link.
    This may involve rebuilding the Kernel and your SYSADMIN should be able to do this for you.
    Also, get them to patch the OS with any SUN required patches.

    ONLY when this has been done should you attempt to go any further with Oracle!

  5. #5
    Join Date
    Mar 2003
    Posts
    45
    The problem is not within the company I work for. It is with my machine at home. I am learning to become Oracle DBA certified and System Admin. No System Admin is going to fix the problem for me, but me. I would love nothing better than to solve the Shared Memory but I don’t know how. The “shmsys” is an exe that I can not modify. Do I get another one? And if so from where? Do I get it from sun.com or is there a site or place I can get for free? Regarding patches, how does one install all the necessary patches and be able to tell which one are missing and in what order? Is there a utility that does that? When I install either a patch or patches, sometimes I get a message that says, that other patches are missing and need to be installed before this one can but the message does not tell me which one. So I downloaded the 8_recommended.zip and proceeded to install all the patches included in that zip file. Some of them were installed but not all. Again I got the same message telling me that other patches were needed. I thought I had installed Solaris 8.0 correctly. Why is it that I have such a hard time with patches? Should this be relatively easy to do? How can I solved these two problems: Shared Memory and Patches???

  6. #6
    Join Date
    Feb 2003
    Posts
    45

    You said you were running Unix ?

    Why are you talking about .exe files if you are running Solaris Unix?

    .EXE files belong in the DOS and Windows arena????

    I'm torn between helping you and advising you that you really need more IT experience as what you need is a good grounding in Unix before you can rebuild the Kernel or Patch Solaris.

    -------------------------------------------------

    1) Why haven't "some" of these patches loaded OK?

    2) Rebuilding the Kernel will mean changing several settings with a text editor like 'vi' and then running several scripts to rebuild the kernel with these new settings.

    My only advice is that you need to hit the sun site and any documentation you have for your kit and read up about it before you go any further.

    Much of what you are posting appears extremely confused !

  7. #7
    Join Date
    Mar 2003
    Posts
    45
    I am not extremely confused but I admit learning Unix is a bit confusing at the system admin level if one has no support.

    When I wrote exe, I meat to say “executable” since the “x” in rwxr-xr-x stands for executable. I stand corrected and will be more precise next time.

    Regarding why “some” patches did not load correctly, I don’t know. I will copy and paste the message I get and give it to you.

    While I don’t come across as too savvy, I am not a complete idiot. With the right approach and understanding, I can rebuild the Kernel and change some of its settings if that is what I need to do.

    Until I can provide you with more info when I get to my machine, I will search the sun site for support.

    Thanks

    Alex

  8. #8
    Join Date
    Feb 2003
    Posts
    45

    Fair Enuf

    I never accused you of anything other than a slight intimation of in-experience.

    We all have to start somewhere and that somewhere in this case is with a reliable and stable OS installation.

    Learning to crawl first before running the marathon .... etc

  9. #9
    Join Date
    Sep 2002
    Location
    NJ
    Posts
    139
    Here some examples of errors with patches:

    Are you ready to continue with install? [y/n]: y
    Determining if sufficient save space exists...
    Sufficient save space exists, continuing...
    Installing patches located in /tmp/8_Recommended
    Using patch_order file for patch installation sequence
    Installing 110380-04...
    Installation of 110380-04 failed. Return code 2.
    Installing 110934-08...
    Installation of 110934-08 failed. Return code 2.
    Installing 111111-03...
    .
    .
    .
    .
    Error code 2 means this:

    Checking installed patches...
    Patch 110380-04 has already been applied.
    See patchadd(1M) for instructions.

    But the it says:

    The following patches were not able to be installed:
    110380-04
    110934-08
    111111-03
    110662-09
    .
    .
    .
    .
    I wrote a tiny script to find out if the Oracle required patches are in my system or were installed as part of the 8_recommended.

    for i in `showrev -p | cut -c8-17`
    do
    if [[ $i -eq "106040-11" || $i -eq "105181-15" ||......|| $i -eq "108376-03" ]];then
    print " patch \# $i IS THERE!"
    else
    print "patch \# $i not there!"
    fi
    done;

    Results:
    Alex:/export/home/>>>/tmp/test > ./test
    patch \# 109618-01 not there!
    patch \# 109889-01 not there!
    patch \# 110369-05 not there!
    patch \# 110370-03 not there!
    patch \# 110373-04 not there!
    patch \# 110374-08 not there!
    patch \# 110376-01 not there!
    patch \# 110833-01 not there!
    .
    .
    .
    .

  10. #10
    Join Date
    Mar 2003
    Posts
    45
    I have access to my machine so I can get information

Posting Permissions

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