The following is a series of Oracle/Linux Installation HOWTOs posted on Usenet.
They contain enough information so that you should be able to get any 7.x.x
version of Oracle up and running on your Linux box.
Oracle on Linux, once installed, runs quite well. Many reports say that it runs
about four times faster and is much more stable than on SCO. YMMV.
Where to get Oracle? ftp://ftp.oracle.com/pub/www/wgserver/SCO has a downloadable
90-day trial version of Workgroup Server 7.3.2.2, which is simply the real Oracle
but without the extra stuff (ConText option, etc.) you probably wouldn't use
anyway. It's a trial version, legally, but it won't turn into a pumpkin after 90
days, FYI.
-- Steve Abatangle, HOWTO compiler
<[EMAIL PROTECTED]>
__
The Original Oracle/Linux HOWTO by Georg Rehfeld
probably somewhat out-of-date
--
Installation of ORACLE V 7.0.16.4.0 for SCO Unix on Linux V 1.2.1
Prerequisites
Linux kernel
You didn't expect this!
make
We have a GNU make with Linux.
iBCS2 emulator V 1.2-950308
Allows to run binaries from other Unix systems on Linux. I had this
software in my Linux distribution in diskzc1 (german S.u.S.E.
distribution based on Slackware). You must recompile this, if you built
a new kernel.
five SCO Unix executables:
/bin/idar (archiver)
/bin/idas (assembler)
/bin/idld (linker)
/lib/idcpp (preprocessor)
/lib/idcomp (compiler)
Get them, where you can, they are required for installation only.
200MB space in /usr/local/oracle7
This includes the RDBMS, SQL*Plus, SQL*Net TCP V1 and V2, common files,
the installer, the stage area, messages for all languages and the
default database. With some care, it may be possible to reduce space
requirement to about 120 MB.
Problems during installation
Main problems were:
1. The install procedure did not make the scripts and executables
executable, the mount of the CD under Linux left permissions as 444, no
RockRidge extension (?)
2. The installer does not catch all errors, especially when attempting to
compile and link libraries. One must carefully examine the install.log.
3. It took some time and experiments to figure out that for an easy
installation the SCO executables are required. As an alternative, one
must generate gcc, ld, as ... for SCO systems and use them instead.
This should be possible, but I had the chance to use the idxx programs.
'Cookbook' for installation
# login as root
# make shure, iBCS2 is running, it is a loadable module
insmod /boot/iBCS
# add a group 'dba'
# add a user 'oracle7' belonging to group 'dba'
# mount CD
mkdir /cdrom
chmod 777 /cdrom
mount -t iso9660 -o ro /dev/cdrom /cdrom
# make executable executable
cd /cdrom/orainst
cp cd_link /usr/local/bin
chmod 555 /usr/local/bin/cd_link
# set environment and create directories
export ORACLE_HOME=/usr/local/oracle7
export ORACLE_SID=test
export ORACLE_TERM=vt100
export ORACLE_DOC=$ORACLE_HOME/oracle_doc
mkdir $ORACLE_HOME
mkdir $ORACLE_HOME/bin
mkdir $ORACLE_DOC # later required in installer
mkdir $ORACLE_HOME/stage # required by 'start.sh'
# start installation
bash start.sh
# enter '/usr/local/oracle7/stage' as your oracle_link directory
# ... oracle makes links to whole cd and copies orainst/ dir
chown -R oracle7.dba $ORACLE_HOME
cd $ORACLE_HOME/stage/orainst
# make binaries executable
chmod 755 b10run b10runm cd_link oiuncomp opendev orainst.cm
# make scripts executable
chmod 755 crrtsh.sh oitape oradoc oradocm orafiles orainst rootpre.sh rthd.sh start.sh
# make GNU 'make' available for ORACLE
# we don't need to compile the GNU make, delivered with the ORACLE
# software, as Linux has one by default
ln -s /usr/bin/make $ORACLE_HOME/bin/make
# create a dummy /usr/lbin dir
ln -s /usr/local/bin /usr/lbin
# install SCO utilities required for 'orainst'
cd $ORACLE_HOME
mkdir SCO
cd SCO
mkdir bin
mkdir lib
cd bin
cp ???/idar . # archiver
cp ???/idas . # assembler
cp ???/idld . # linker
cd ../lib
cp ???/idcomp . # compiler
cp ???/idcpp . # preprocessor
cd ..
chmod -R a+x *
# link them to where orainst expects them
cd /bin
ln -s /usr/local/oracle7/SCO/bin/idar
ln -s /usr/local/oracle7/SCO/bin/idas
ln -s /usr/local/oracle7/SCO/bin/idld
cd /lib
ln -s /usr/local/oracle7/SCO/lib/idcomp
ln -s /usr/local/oracle7/SCO/lib/idcpp
# install the installer
cd $ORACLE_HOME
mkdir newoi
cp stage/orainst/* newoi
chown -R oracle7.dba newoi
cd newoi
orainst
# answer all questions, ignore hint to run 'rootpre.sh' for now,
# select 'Install/Upgrade/Patch Software Only',
# then 'Install from Permanent Staging Area' and select
# $ORACLE_HOME/stage as the permanent staging area,
# select only the installer to install. When done, exit the
# installer in newoi with C-x.
cd $ORACLE_HOME/orainst
# Look into $ORACLE_HOME/orainst/install.log for any errors.
# Move 'install.log' anywhere.
# Some files here have now root owner and are later used by oracle7, so
chown oracle7.dba *
# remove temporary directory
cd $ORACLE_HOME
rm -r newoi
cd orainst
# prepare some files; do not install SCO icons, no floppy install
rootpre.sh
# correct permission problems of ORACLE CD
rm $ORACLE_HOME/stage/rdbms/install/dbsup.sh
cp /cdrom/rdbms/install/dbsup.sh $ORACLE_HOME/stage/rdbms/install/dbsup.sh
chmod 755 $ORACLE_HOME/stage/rdbms/install/dbsup.sh
chown oracle7.dba $ORACLE_HOME/stage/rdbms/install/dbsup.sh
# change header file temporarily
cp /usr/include/asm/types.h /usr/include/asm/types.h.ORG
# now edit /usr/include/asm/types.h:
# comment out this lines:
# /*typedef __signed__ char __s8;*/
# /*typedef __signed__ short __s16;*/
# /*typedef __signed__ long __s32;*/
# /*typedef __signed__ long long __s64;*/
# logoff and login as oracle7
export ORACLE_HOME=/usr/local/oracle7
export ORACLE_SID=test
export ORACLE_TERM=vt100
export ORACLE_DOC=$ORACLE_HOME/oracle_doc
export _ORCA_DEBUG=1 # if you want to see some internals
PATH=$ORACLE_HOME/bin:$PATH # $ORACLE_HOME/bin MUST be first
cd $ORACLE_HOME/orainst
# now install the wanted executables
orainst
# again select 'Install/Upgrade/Patch Software Only',
# then 'Install from Permanent Staging Area'
# and then 'ORACLE7 Distributed Database option 7.0.16'
# plus 'ORACLE7 Procedural Option (PL/SQL V2) 2.0.'
# plus 'ORACLE7 Server (RDBMS) 7.0.16.4.0'
# optionally you may select i.e. SQL*Plus, SQL*Net TCP/IP V1 and/or V2
# answer other questions, don't require relinking,
# say yes to 'Would you like to install TCP/IP Protocol Adapter (V2)?'.
# The installation now should take place without any serious error.
# Examine $ORACLE_HOME/orainst/install.log again
# (ignore install.log error '/usr/local/oracle7/bin/gennttab: [:
# too many arguments')
#
# Now you are ready to create a database. Leave the installer,
# move install.log elsewhere and restart the installer again with
orainst
# After the initial questions select 'Create New Database Objects',
# enter/confirm the System Identifier (ORACLE_SID) and you will
# (surprisingly for normal, not ORACLE proven people) again see
# the main window with 'available products' and 'installed products'.
# Select the point 'ORACLE7 Server (RDBMS) 7.0.16.4.0' and install.
# You are asked for some passwords and names/sizes of database
# files. Accept them for a first test, and then the creation of the
# database is done. You may want to have a second window open
# with a 'cd $ORACLE_HOME/orainst; tail -f install.log' to see,
# what's going on, but don't be surprised to find about 235 SQL
# errors, when the data dictionary is created. The scripts always
# do something like: 'drop table ...; create table ...' to be shure,
# the table can successfully be created, but the drop gives an error,
# because on an initial run the table does not exist.
# After the installer tells you about success and leaving the installer,
# you may check the log with:
grep ORA- install.log|grep -v ORA-00942|grep -v ORA-01432|grep -v ORA-01434
# you then should get this list of SQL errors:
ORA-04043: object DBMS_STANDARD does not exist
ORA-04043: object PIDL does not exist
ORA-04043: object PIDL does not exist
ORA-04043: object DIANA does not exist
ORA-04043: object DIANA does not exist
ORA-04043: object DIUTIL does not exist
ORA-04043: object DIUTIL does not exist
ORA-04043: object PSTUBT does not exist
ORA-04043: object PSTUB does not exist
ORA-04043: object SUBPTXT2 does not exist
ORA-04043: object SUBPTXT does not exist
ORA-04043: object DBMS_SNAPSHOT does not exist
ORA-02289: sequence does not exist
ORA-04043: object DBMS_LOCK does not exist
ORA-04043: object DBMS_PIPE does not exist
# I did not check, if this are serious errors until now, because
# the statements, that cause this errors are not echoed by the scripts,
# but I'm quite sure, they are expected errors of the same sort as above
# YOUR DATABASE SHOULD NOW BE UP AND RUNNING!
# Check with
ps -a
# you should see this 5 processes
9363 v02 S 0:00 ora_pmon_test
9364 v02 S 0:00 ora_dbwr_test
9365 v02 S 0:00 ora_lgwr_test
9366 v02 S 0:09 ora_smon_test
9367 v02 S 0:00 ora_reco_test
# Check access to the database with:
sqldba mode=line
SQLDBA> connect system
# give in the password, when asked
SQLDBA> select * from cat;
# you should see about 60 names of tables, views and synonyms.
# Try to shut down the database (as user oracle7):
SQLDBA> connect internal
SQLDBA> shutdown
# after a while you should see 3 messages:
Database closed.
Database dismounted.
ORACLE instance shut down.
# start it up again:
SQLDBA> startup
# after a while you should see messages similar to this:
ORACLE instance started.
Database mounted.
Database opened.
Total System Global Area 4448020 bytes
Fixed Size 40100 bytes
Variable Size 3990128 bytes
Database Buffers 409600 bytes
Redo Buffers 8192 bytes
# leave SQLDBA:
SQLDBA> exit
# as root, run $ORACLE_HOME/orainst/root.sh
cd $ORACLE_HOME/orainst
export ORACLE_SERVER=T # to get entries in /etc/services
root.sh
# as root, clean up
# change modified system files back to original
cp /usr/include/asm/types.h.ORG /usr/include/asm/types.h
# remove executables only required for installation
rm /usr/local/bin/cd_link
cd /
rm bin/idar bin/idas bin/idld lib/idcomp lib/idcpp
cd $ORACLE_HOME
rm -r SCO
# If the default sizes of the database are not, what you wanted,
# you find 2 scripts in $ORACLE_HOME/dbs: crdbtest.sql crdb2test.sql
# Feel free to modify the statements in it, shut down the database,
# remove all files in $ORACLE_HOME/dbs named '*test.dbf' and '*test.ctl',
# in 'crdb2test.sql' uncomment this lines:
# #set termout on
# #set echo on
# #spool crdb2test.lst
# then execute the scripts with SQLDBA
SQLDBA> connect internal
SQLDBA> @crdbtest.sql
SQLDBA> @crdb2test.sql
# to get a new database with your sizes created.
------------------------------------------------------------------------
Georg Rehfeld <[EMAIL PROTECTED]>, June 1995
__
Jan Andersen's HOWTO for Oracle 7.3.3/Workgroup Server
--
Oracle on Linux - a recipe
>From Jan Andersen <[EMAIL PROTECTED]>
Organization Federal Bureau of Investigation
Date Mon, 27 Oct 1997 12:08:33 +0100
Installing Oracle 7.3.3 on Linux
This text has - as all 'howtoids' - grown from just a couple of notes about
how to get around some troubles. Despite the name of the file, it isn't
quite a HOWTO; anyway - it does give a crude description of what one should
do to install Oracle 7.3.x - the Workgroup Server or the Enterprise Server.
It is (pt.) the policy of Oracle Corp. to give test licenses of their server
SW quite liberally. As a matter of fact you can even download it from
http://www.oracle.com - their home page is well worth looking at.
As I stated above, this is just a crude cook book description. It doesn't
tell you how to use Oracle when it's installed - maybe I, or someone else
will include this later. Oracle's own documentation is quite huge, to say
the least, but it's thorough, and now you get it as a set of HTML pages -
there even is a java based search engine in it - very useful feature.
This file also doesn't tell anything about Oracle Terminal, or any other
sofisticated utilities - but this may be added later.
A note about memory: Oracle needs a lot of it, though I'm not sure exactly
how much. I tried installing it on a SCO 5.04 with 32Mb RAM, but it failed.
But then SCO has absurd ideas about how much RAM one should have (If you
ever try to boot an SCO machine, you'll see that Microsoft owns a patent
in it - maybe that's part of the explanation). I guess that 64Mb will be
satisfying - I have it in 80Mb now, and free tells me it's all in use, but
I run fvwm95 (an X window manager), httpd and several others.
Most of this description came from Roland van Hout <[EMAIL PROTECTED]> - I
just brushed it up a little, tried it out and added a few points.
In short this is what I did (Oracle Enterprise Server 7.3.3):
0. You'll need to set (at least) three environment variables (see below):
ORACLE_HOME #The 'home directory' of the Oracle database
ORACLE_SID #The 'System ID' of your database - any four letter word
ORACLE_TERM #The terminal specification to use - vt100 always works
1. Create group dba and user oracle as a member of dba and with home
directory = $ORACLE_HOME. Look in 'man group' to see how to create a
user group in Linux - essentially it means adding a line to /etc/group
like this:
dba::101:oracle
'dba is the group name, '101' the group number and 'oracle' is a member of
the group 'dba'.
2. Log out and log in as oracle - this way you can 'connect internal' in svrmgrl
without getting asked for a password. Plus you don't have to change owner/group
on the files you create.
3. Copy the entire CD to $ORACLE_HOME. When you've done that, you must unpack
the packed files - they end with '_'. The program to do this is oiuncomp - it
is in the orainst directory. Copy it to eg. /bin and do something like:
find . -name "*_" -print -exec oiuncomp {} \;
This will find all the compressed files, print it's name and execute oiuncomp
on it.
4. There are some directories called mesg_ship in this new tree - copy
or move the content of these to their parent directory (they're called 'mesg')
- if you don't, you won't get meaningful error messages.
5. Create these directories:
$ORACLE_HOME/rdbms/log,
$ORACLE_HOME/rdbms/audit
$ORACLE_HOME/network/log
- if you don't you'll get messages like 'couldn't create audit trail ...'
when you start svrmgrl (see below)
6. Edit either /etc/profile or oracle's .profile to set ORACLE_HOME to the
directory where you placed the content of the CD. Set ORACLE_TERM=vt100
and ORACLE_SID=<a four letter word like orcl or test>
7. In $ORACLE_HOME/dbs create init<$ORACLE_SID>.ora from init.ora
and edit it to fit your needs. Remember to set the following:
compatible = 7.3.3.2.0 # or whatever your version (> 7.2.0.0.0)
license_max_sessions = <a number>
license_max_users = <a number>
NB: There's a link between 'processes' and 'license_max_users':
processes >= license_max_users + <number of background processes (at least 5)>
(Look in the sample file dbs/init.ora to see the option 'processes').
8. Now you can start svrmgrl (actually just sqldba) - there is a svrmgrm,
which requires Motif to run, but I couldn't get it to run. Anyway I prefer
the line interface.
9. CONNECT INTERNAL - the response should be 'connected to an idle instance'
10. STARTUP NOMOUNT - you get some lines of status info
11. CREATE DATABASE - look in the doc's for the details. Specify at least:
create database datafile '<filename>' size <a number>;
Do yourself a favour and make an SQL file, eg createdb.sql and run it from
svrmgrl with:
@createdb
This is because svrmgrl (and sqlplus) don't interpret your <backspace>
correctly - probably something about the ORACLE_TERM not being right.
This has caused me endless troubles :-)
12. Now you can start at running scripts from rdbms/admin:
@rdbms/admin/catalog #runs rdbms/admin/catalog.sql
@rdbms/admin/catproc #runs rdbms/admin/catproc.sql
- assuming that you started svrmgrl from $ORACLE_HOME.
13 When this is done, configure the listener - the daemon that accepts
connections from SQLnet. What you need is /etc/listener.ora:
TEST=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=linux)
(PORT=1521)
)
)
SID_LIST_TEST=
(SID_LIST=
(SID_DESC=
(SID_NAME=test)
(ORACLE_HOME=/usr/local/oracle7)
)
)
STARTUP_WAIT_TIME_TEST=0
CONNECT_TIMEOUT_TEST=10
TRACE_DIRECTORY_TEST=/usr/local/oracle7/network/log
TRACE_FILE_TEST=TEST
LOG_DIRECTORY_TEST=/usr/local/oracle7/network/log
LOG_FILE_TEST=TEST
The many occurrences of 'TEST' is the name of the listener - you
can replace it with what you like. If you omit the last 6 lines,
they should get sensible defaults. When you've made this file,
execute lsnrctl and issue the command 'start test' (or whatever
you've called your listener) - and that should be it! Now you
should be able to see the Oracle over the net - from ODBC and via
SQLnet. Use SQLnet clients whenever possible - it's far better
than ODBC (much faster).
__
David Mansfield's HOWTO written for Oracle 7.1 or 7.2
including info on getting around using the SCO compiler, linker, etc.
(which are normally required by the Oracle Installer)
__
>David Mansfield <[EMAIL PROTECTED]>
>
>Here are some things to keep in mind:
>
>1) Make a user oracle7 before installing. Give the user a >home dir where
>you want to install the system.
>
>2) export ORACLE_HOME = [oracle7's home dir] before starting. > The sysem has
>some trouble figuring this out for itself.
>3) At the beginning of the install, the script ran df piped >thru sed to find
>out some disk space availabilities. It somehow forgot that >the first line
>outputted by df has column headings, and therefore it was >trying to compare
>the *word* available (instead of the number beneath it on the >second line) to
>250000 or something like that. I moved my df to df.real and >made a script
>which just echo'ed a bogus line from df that said I had tons >of space. I
>wasn't into debugging their scripts!!!
>4) A note about replacing the binaries with scripts (like df >in #3). You must
>have the "#! /bin/sh" thing at the top of the script or it >won't run.
>5) Create a directories /var/opt/oracle and /usr/lbin before >starting. I don't
>know what permissions (I used 777!!!) because at the very end >of the install
>it will bomb if you don't have 'em. Very annoying.
>6) When you get the "can't execvp" message, just type the >command it couldn't
>exec and you will be ok.
>7) The most difficult part of this is getting the compiler >tools for SCO (or
>imitating them with the COFF-development tools that are in the >same place as
>iBCS) to work. They are *usually* called id** and here's a >list of what I
>made:
>/lib/idcomp -> /bin/idcomp
>/lib/idcpp -> /usr/bin/cpp
>/bin/idar -> /usr/i486-sysv4/bin/ar (from the coff dev. >tools)
>/bin/idas -> /usr/i486-sysv4/bin/as-coff (from the coff >dev.tools)
>/bin/idcomp (a shell script - see below)
>/bin/idcpp -> /usr/bin/cpp
>/bin/idld -> /usr/i486-sysv4/bin/ld (from the coff dev. tools)
>8) There is a reason why idcomp is not simply a link to gcc. > After realizing
>that I would need idas to compile a coff .o file, I set out to >make a .s
>(assembly file) that it could handle. My first attempts were >completely
>fruitless. It wouldn't even handle the .s files that gcc >produced. I
>tried uploading the .c file to a different machine with an >older gcc and
>compiling, and that would assemble, but it was compiled for a >SPARC processor
>so the definition of a WORD vs a LONG were different. In >addition, gcc
>placed underscores before the symbols in a way that oracle >wasn't expecting
>and the objects weren't found in the libraries. Eventually, I >realized that
>if I gave gcc the -b i486-linuxaout flag, it would make .s >files usable by
>as-coff. I also made a perl script to strip out extra >underscores to make
>the symbols correct. So.... Here's my idcomp script:
>----------------------------------------------
>#! /bin/sh
>
>gcc -b i486-linuxaout -S -o mytemp.s $2
>no_under.pl > $4
>
>----------------------------------------------
>And here's the perl script, no_under.pl:
>----------------------------------------------
>#! /usr/bin/perl
>
>open(MYTMP,"mytemp.s");
>
>while (<MYTMP>) {
> @TMP = split (/[\s+\t]/,$_);
> foreach $word (@TMP){
> $word =~ s/^_//;
> print $word, " ";
> }
> print "\n";
>}
>----------------------------------------------
>Believe it or not, idcomp and idas will produce a coff .o file >with the
>correct symbols (assuming it's executable :-).
>You may want to test this on a .c file of your own. Run >"file" against the
>resulting .o file, and you should see some nice results. By >the way,
>idcomp expects to be called with parameters a la oracle >install scripts, which
> means the file to compile is the second parameter and the >output file is the
>fourth parameter.
>I think this is all, but if you run into problems, drop me a >line.
>David Mansfield
>[EMAIL PROTECTED]
__
Stephane Lajeunesse's HOWTO for Workgroup Server 7.3.x
including patches to the Oracle Installer
__
Turns out that what I though was not enough swap space was in fact a bug
in iBCS-2 in the IPC code. This mini-mini-HOWTO describes how I got
Oracle Workgroup Server 4.1 SCO working on Linux. Please note that your
mileage may vary. I hope that one day, compagnies like Oracle will
produce native Linux versions of their software so that we don't have to
use emulators.
One nasty side effect of using Oracle on your Linux, it will not release
the memory when you exit Oracle (not sure if it's a bug in iBCS or
something wrong with Oracle).
Second nasty effect, for some reason, sqldba doesn't work in full-screen
mode. I'm working on finding why. In the mean time, use 'sqldba
mode=line' to use sqldba.
Thanks,
Stephane Lajeunesse.
[EMAIL PROTECTED]
So, here is the mini-HOWTO:
First, my setup:
- Linux 2.0.0 (Red Hat 3.0.3)
- iBCS2 (ibcs-960823.tar.gz -> need this version because it corrects a bug in
IPC..)
- Oracle Workgroup Server for SCO (from Oracle workgroup/2000 CD-ROM version
4.1 oder part #C10260-1)
- I did all the install portion thru X-Windows (a bit easier then text based
install)
Problems encountered:
- The scripts where NOT made for a Linux system
- Had the wrong version of iBCS (IPC was broken..)
Here is the way I did it:
First, you need some binaries from the SCO OpenServer FREE cd-rom:
put in /bin:
- idar
- idas
- idld
put in /lib:
- idcomp
- idcpp
You need these binairies in order to link the Oracle executables.
Then comes the fun part. Login as root and follow the steps below:
- Create a group dba
- Create a user oracle7 with group dba, make sure it's HOME is the
same as $ORACLE_HOME
- Load iBCS (insmod iBCS)
- Mount your OWS CD-ROM to /mnt (or somewhere else)
- cd /mnt and execute owsstart
this will isntall a "staging" area in /tmp/wgslink. It will ask
you to reboot your server in order to take into account some fine
tuning which is irrelevant due that the tunning is for SCO and not
Linux!
- Once this is finnished go to /tmp/wgslink/orainst
- Delete orainst (it is a symbolic link to the /mnt/.....)
- cp orainst from the /mnt/sco/server/orainst
to /tmp/wgslink/orainst
- Edit orainst to remove the root user check (patch below)
- Edit owsins.sh to remove the disk space check (doesn't work
on my system, patch below)
- Once this is done, owsins.sh, this will ask you a few questions
and proceed to the installation of the server portion
- Once the server is finnished installing, change to owner of the
ORACLE_HOME (chowd -R oracle7.dba $ORACLE_HOME)
- Once finnished, run restoredb.sh to install the demo DB
- If everything worked OK, you now have a working Oracle DB
And that is it... If I missed anything, e-mail me, I'll galdly answers all
e-mail.
Patch1 (apply to orainst -> "patch -p0 orainst <patch1"):
--- orainst.old Wed Dec 11 20:10:14 1996
+++ orainst Mon Dec 9 22:59:58 1996
@@ -30,12 +30,12 @@
INAME=/bin/ls -l /tmp/fil$$ | awk '{print $3}'
rm -f /tmp/fil$$
-case "$INAME" in
- root) echo "You have logged in as root ."
- echo "Exiting orainst procedure."
- exit 1 ;;
- *) ;;
-esac
+#case "$INAME" in
+# root) echo "You have logged in as root ."
+# echo "Exiting orainst procedure."
+# exit 1 ;;
+# *) ;;
+#esac
if [ ! -f ${ORACLE_TERMINAL}/tk2c${ORACLE_TERM}.res -a \
! -f ${ORACLE_TERMINAL}/tk2c${TERM}.res ] ; then
Patch2 (apply to owsins.sh -> "patch -p0 owsins.sh <patch2"):
--- owsins.old Wed Dec 11 20:10:30 1996
+++ owsins.sh Mon Dec 9 22:59:16 1996
@@ -217,29 +217,10 @@
if [ "$space" -gt 200000 ]; then
enough_space=1
-
-else
-if [ $OHexists != 1 ]; then
- rmdir $ORACLE_HOME
-fi
-rm -f /tmp/owsnospace
-./owsnospace
-owsnospace=`cat /tmp/owsnospace`
-rm -f /tmp/owsnospace
-
-case "$owsnospace" in
-1)
-#loop back to choose another ORACLE_HOME
- enough_space=0
- ;;
-
-0)
-# Cancel Install
-echo Installation terminated at user request.
- exit 3
- ;;
-esac
fi
+
+enough_space=1
+
fi
done
@@ -342,13 +323,13 @@
# Display Install status bar
nohup sh -c "XENVIRONMENT=`pwd`/resource.status;export XENVIRONMENT;rm -f
/tmp/product.out /tmp/percent.out /tmp/message.out /tmp/action.out; ./status &" 2>&1 >
/dev/null
-if [ -f /etc/.snum ]; then #UW
-/usr/X/bin/xterm -iconic -e "./orainst"
-elif [ -d /usr/openwin ]; then #Solaris
-/usr/openwin/bin/xterm -iconic -e "./orainst"
-else #SCO
-/usr/bin/X11/xterm -iconic -e "./orainst"
-fi
+#if [ -f /etc/.snum ]; then #UW
+#/usr/X/bin/xterm -iconic -e "./orainst"
+#elif [ -d /usr/openwin ]; then #Solaris
+#/usr/openwin/bin/xterm -iconic -e "./orainst"
+#else #SCO
+/usr/bin/X11/xterm -e "./orainst"
+#fi
echo $ORACLE_HOME > /tmp/owsoh
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.