Need help on Unix installing - install.sh of Oracle application

Need help on Unix installing - install.sh of Oracle application

Post by Cecil D'Souz » Sat, 11 May 2002 03:04:59



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 customized 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

MySol% ls -ltra

Total 24
-r-xr-xr-x 1 root sys 638 Aug 23  2000 install.sh
dr-xr-xr-x 1 root sys  2048 Aug 23  08:37 decunix
dr-xr-xr-x 1 root sys  2048 Aug 23  08:37 .
dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 hpunix
dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 solaris
dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 nls732
dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 ..

I typed  install.sh

BUT I get this message: install.sh : /cdrom/020103_1337 //Disk1/install/:
does not exist.
Can anybody help me solve this simple problem. I have no idea.

------------------------------
install.sh is on the CD. This is the contents of install.sh from the CD

#!/bin/sh
os=`uname | tr A-A a-z`
case "$os" in
        sunos)  platform=solaris
        ;;
        hp-ux)  platform=hp-ux
        ;;
        osf1)  platform=decunix
        ;;
esac

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

CMDDIR=`dirname $0`

if  [ "CMDDIR" = "." ]; then
    CMDDIR=`pwd`;
fi

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

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

cd $CMDDIR/$platform/Disk1/install/$platform
./runinstaller $*
-----------------------------------------------------
The directory on the CD for Solaris

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 install.sh  NOT found when it is there?.

Thanks for your help.

 
 
 

Need help on Unix installing - install.sh of Oracle application

Post by Rene Berb » Sat, 11 May 2002 07:03:00



> 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 customized 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

> MySol% ls -ltra

> Total 24
> -r-xr-xr-x 1 root sys 638 Aug 23  2000 install.sh
> dr-xr-xr-x 1 root sys  2048 Aug 23  08:37 decunix
> dr-xr-xr-x 1 root sys  2048 Aug 23  08:37 .
> dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 hpunix
> dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 solaris
> dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 nls732
> dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 ..

> I typed  install.sh

> BUT I get this message: install.sh : /cdrom/020103_1337 //Disk1/install/:
> does not exist.

The platform string is empty.

Quote:> Can anybody help me solve this simple problem. I have no idea.

> ------------------------------
> install.sh is on the CD. This is the contents of install.sh from the CD

> #!/bin/sh
> os=`uname | tr A-A a-z`

                 ^^^^^^^
This is wrong, it should say:
  os=`uname | tr "[A-Z]" "[a-z"]`

[snip]

The script should work with that change.

Regards.
--
R. Berber
rberber AT mailandnews.com

 
 
 

Need help on Unix installing - install.sh of Oracle application

Post by Cecil D'Souz » Sat, 11 May 2002 23:39:28


Rene,

I did exactly what you recommended and it sorted out that problem. The
script syntax was in correct
and hence the os was not being sensed.

I want to know this. I copied the CD contents on to the SUN machine. I also
copied the contents onto my PC.

The file structure I have on the PC HDD which was copied from the CD does
not seem to have the exact directory names when I see it in Solaris.
However, the same directory structure and names are precise under Windows. I
mean , when it errors with this line of directories
../../stage/Components/oracle.swd.jre/1.1.8.10/DataFiles/Expanded/jre/solari
s/bin/jre  I can see this same structure and names (case sensitive) under
windows

I checked this by copying the directories for Solaris install from the CD
onto my PC.

For example: the directory ../../stage/Components   under Windows
                                          is /stage/componen    under
Solaris. (ts missing - Don't know why

                    the directory ../.. /Components/oracle.swd.jre under
Windows
                          is seen as ../../componen/oraclesw.jre    under
Solaris

          the directory ../.. /Components/oracle.swd.jre/1.1.8.10/ under
Windows
                          is seen as ../../componen/oraclesw.jre/118.10/
under Solaris

How and why would the directory structure under Solaris be different from
the one being displayed under windows?. I am not talking about dir name
length here as you can see from the example.

Any thoughts?.

Thanks for all the help guys.



Quote:

> > 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 customized 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

> > MySol% ls -ltra

> > Total 24
> > -r-xr-xr-x 1 root sys 638 Aug 23  2000 install.sh
> > dr-xr-xr-x 1 root sys  2048 Aug 23  08:37 decunix
> > dr-xr-xr-x 1 root sys  2048 Aug 23  08:37 .
> > dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 hpunix
> > dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 solaris
> > dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 nls732
> > dr-xr-xr-x 1 root sys 2048 Aug 23  08:37 ..

> > I typed  install.sh

> > BUT I get this message: install.sh : /cdrom/020103_1337
//Disk1/install/:
> > does not exist.

> The platform string is empty.

> > Can anybody help me solve this simple problem. I have no idea.

> > ------------------------------
> > install.sh is on the CD. This is the contents of install.sh from the CD

> > #!/bin/sh
> > os=`uname | tr A-A a-z`
>                  ^^^^^^^
> This is wrong, it should say:
>   os=`uname | tr "[A-Z]" "[a-z"]`

> [snip]

> The script should work with that change.

> Regards.
> --
> R. Berber
> rberber AT mailandnews.com

 
 
 

1. Help to install Oracle Applications

To,
Anyone,
Anywhere.

When I try to install Oracle Applications on sun solaris 2.5, I face
relinking problem when I run adsetup.

The following is the message that was displayed while
trying to install Oracle Apps. The main error, I suppose is the symbols
which are defined in files in /home/oracle/lib.
So if you can help us in figuring out the actual problem and give us the
solution.

The Error Message:

===============================================================================

# make -f /u/apps/install/out/link_ad.mk
ld -dy /home/oracle/lib/crti.o /home/oracle/lib/crt1.o
/home/oracle/lib/__fstd.o -s -L/home/oracle/lib -o
/u/apps/ad/2.3.19/bin/adaimgr.new /u/apps/ad/2.3.19/lib/aimain.o \
        /u/apps/ad/2.3.19/lib/libad.a /u/apps/fnd/6.1.1/lib/libfnd.a
-lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr
-lsqlnet -lclient -lcommon -lgeneric /home/oracle/lib/libepc.a -lnlsrtl3
-lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3    `cat
/home/oracle/rdbms/lib/sysliblist` -R /opt/SUNWcluster/lib
-YP,:/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib  -Qy -lc
/home/oracle/lib/crtn.o   -lm
Undefined                       first referenced
 symbol                             in file
ds_shutdown                         /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_add_entry                        /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_modify_entry                     /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_unbind                           /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_read                             /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_modify_rdn                       /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_bind                             /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_initialize                       /home/oracle/lib/libsqlnet.a(nnfd.o)
ds_remove_entry                     /home/oracle/lib/libsqlnet.a(nnfd.o)
dce_cf_get_cell_name                /home/oracle/lib/libsqlnet.a(nnfd.o)

ld: fatal: Symbol referencing errors. No output written to
/u/apps/ad/2.3.19/bin/adaimgr.new
           --------------------------
*** Error code 1
make: Fatal error: Command failed for target
`/u/apps/ad/2.3.19/bin/adaimgr'

==============================================================================

2. SMC EtherPower-tulip.o module help!

3. Can't run root.sh after install Oracle

4. CD-ROM reading error

5. help needed: install Oracle v8 failed: get_platform unknown

6. Nagios notification by SMS

7. Problem Installing Oracle Application Server on Linux

8. sendmail config

9. first time installing, need help with partitioning and install

10. Help!-Debian 2.0 dselect always say need libc6 install- but shows already installed!

11. help needed - install - can't find initial directories for install SUSE5.2