Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2002
    west haven

    Post Unanswered: script fails when installing Oracle application

    Hi all,

    OS Solaris 8. Sun Sparc 20 - 256 MB 9.1 GB

    I have installed Oracle 8.1.6 Rel 2 on the SUN Sparc. Everything is fine and a customised DB has been created. Now I have to install an Oracle application on the same server. I have a working knowledge of Unix but I don't know scripting.

    I logged in as OPAPPS as required. (.chsrc). I have set the path with all possible directories and made it a member of group DBA as requested.

    I put the CD in the CDROM and then cd /cdrom

    BUT I get this message: not found or /cdrom/202103_1337//Disk1/install/: does not exist

    ------------------------------ exists on the CD. This is the contents of from the CD

    os=`uname | tr A-A a-z`
    case "$os" in
    sunos) platform=solaris
    hp-ux) platform=hp-ux
    osf1) platform=decunix

    #The environment variable $SRCHOME cannot be set during installation
    unset SRCHOME
    unset SHLIB_PATH

    CMDDIR=`dirname $0`

    if [ "CMDDIR" = "." ]; then

    # Replace relatove path with fully qualified path
    if [ ! "`echo $CMDDIR|grep '^/'`" ]; then

    if [ x${PATH} != x ] ; then
    PATH=$PATH:/usr/bin: /bin
    export PATH

    cd $CMDDIR/$platform/Disk1/install/$platform
    ./runinstaller $*
    directory structure on CD
    -r-xr-xr-x 1 root sys 638 Aug 23 2000
    dr-xr-xr-x solaris
    dr-xr-xr-x hpunix
    dr-xr-xr-x decunix
    dr-xr-xr-x nls732

    solaris/disk1/install/solaris and the file

    -r-xr-xr-x runinsta.
    -r-xr-xr-x oraparm.ini
    dr-xr-xr-x images
    d .
    d ..

    Would anybody know why I get /cdrom/202103_1337//Disk1/install/: does not exist

    Thanks for your help.

  2. #2
    Join Date
    Feb 2002
    Normally, if you are running a script in the same directory you have to enter . ./ (this is a security feature), so for your example try the following:

    . ./

    Good luck.

Posting Permissions

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