Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Oracle > What is wrong with this script install.sh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-28-02, 16:48
ceecil ceecil is offline
Registered User
 
Join Date: Jan 2002
Location: west haven
Posts: 33
What is wrong with this script install.sh

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
# install.sh

BUT I get this message: install.sh not found.

------------------------------
install.sh is there 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 $*
-----------------------------------------------------
directory structure on CD
-r-xr-xr-x 1 root sys 638 Aug 23 2000 install.sh
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 install.sh NOT found when it is there?.

Thanks for your hel
Reply With Quote
  #2 (permalink)  
Old 04-02-02, 14:28
BSchol BSchol is offline
Registered User
 
Join Date: Jun 2001
Location: The Netherlands
Posts: 38
The most probable cause is the current directory not being in your path.
You can solve this by changing to the location where the install.sh script is located and executing it by entering ./install.sh.
Reply With Quote
  #3 (permalink)  
Old 04-03-02, 23:31
exploder exploder is offline
Registered User
 
Join Date: Apr 2002
Posts: 2
try

./install.sh
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On