Technical article 127329

How can I install and run Oracle 7.1.6 on OpenServer 6.0.0?

OpenServer 6.0.0

Written · Last revised

Problem

How can I install and run Oracle 7.1.6 on OpenServer 6.0.0?

Solution

What follows is a step by step guide on how to install Oracle 7.1.6 onto OpenServer 6.0.0.

1) Requirements for installing Oracle 7.1.6 on OpenServer 6.0.0:

- an installed and configured OpenServer 6.0.0 server with the SCO OpenServer Release 6.0.0 Development System and Maintenance Pack 4 installed.

- Oracle 7.1.6 on CD or as an ISO image

2) Before installing Oracle 7.1.6:
As root do the following:
- Using your favourite editor set
ULIMIT=4194303
in /etc/default/login

- Using the SCOAdmin Account Manager create:

- A group called dba - A user called oracle with dba as its default group and /u/oracle7 is its home directory

- Edit /etc/profile to add the following parameters lines:

PATH=/osr5/usr/bin:/osr5/usr/ccs/bin:$PATH
LD_LIBRARY_PATH=/osr5/lib:/osr5/usr/lib:/osr5/usr/ccs/lib:$LD_LIBRARY_PATH
export PATH LD_LIBRARY_PATH

- Using your favourite editor comment out the existing PATH entry in /.profile and add the entry:

PATH=$PATH:/bin:/etc:/usr/bin:/tcb/bin:/sbin:/usr/sbin

- Edit the file /u/oracle7/.profile and add the following:

ORACLE_HOME=/u/oracle7
ORACLE_SID=mydb
ORACLE_TERM=ansi
CDLINK=$ORACLE_HOME/cdlink
LD_LIBRARY_PATH=/osr5/usr/ccs/lib:/osr5/usr/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
PATH=/osr5/usr/bin:/osr5/usr/ccs/bin:$PATH
export ORACLE_HOME
export ORACLE_SID
export LD_LIBRARY_PATH
export ORACLE_TERM
export CDLINK
- Many of the scripts in $(ORACLE_HOME)/bin and the component
install scripts have hard-coded uses of /bin/idar.  SCO OpenServer
6.0.0 does not this binary so you will need to run:
ln -s /usr/bin/ar /bin/idar
- Download cd_link from
ftp://ftpput.sco.com/tmp/support/ISO/Oracle/v7.1.6/cd_link
and place it in:
/usr/bin

and make sure that it is executable.

Do not use the cd_link binary on the Oracle 7.1.6 CD.

- If you are installing from CD, then place the Oracle 7.1.6 CD into the CD river of the server and type:

mount -r -f cdfs -ouid=0,gid=2,fperm=555,dperm=555,nmconv=c /dev/cd0 /mnt
to mount the CD.

- If you are installing from an ISO image, then, assuming the image is called /Oracle716.iso do the following to mount the image:

marry -a /Oracle716.iso
mount -r -f cdfs -ouid=0,gid=2,fperm=555,dperm=555,nmconv=c /dev/marry/Oracle716.iso /mnt

As the oracle user do the following:

- Make the directories orainst, patch, cdlink and doc using:

cd /u/oracle7
mkdir orainst patch cdlink doc
- Download the SCO Patch from:
ftp://ftpput.sco.com/tmp/support/ISO/Oracle/v7.1.6/SCO_OS_6.tar
place it in
/u/oracle7/patch
and extract it using:
tar xvf /u/oracle7/patch/SCO_OS_6.tar
3) Installing Oracle 7.1.6:

- Login to the server as the oracle user and run the Oracle start.sh script as follows:

 cd /mnt/ORAINST
./START.SH\;1

When prompted for the Oracle Link directory enter:

/u/oracle7/cdlink

- Login to the server as the root user and run the Oracle Root Preinstall script as follows:

ORACLE_HOME=/u/oracle7
export ORACLE_HOME
cd $ORACLE_HOME/cdlink/orainst
./rootpre.sh

When the rootpre.sh script prompts, answer as follows:

Are you installing Oracle from CDROM? (Y/N) y

Do you want to install Oracle Icons for SCO ODT System? (Y/N) n

Continue with rootpre.sh ? (Y/N) y
Please enter the name of oracle user: oracle

Please enter the group the oracle user belongs to: dba

Continue with the above settings? (Y/N) y

Are you installing Oracle through a floppy device? (Y/N) n

- Login to the server as the oracle user and install the SCO patch as follows:

cd patch
sh README
You should see the message:
Running.....
cp: cannot access /u/oracle7/orainst/orafiles.tmp: No such file or directory (	error 2)
chmod: WARNING: cannot change /u/oracle7/orainst/orafiles: Operation not permitted (error 1)
 Done. Continue with installation
- As root, correct the permissions on
/u/oracle7/orainst/orafiles
as follows:
chgrp dba /u/oracle7/orainst/orafiles
chown oracle /u/oracle7/orainst/orafiles

- As the oracle user start the Oracle Installer as follows:

cd /u/oracle7/cdlink/orainst
./orainst

and follow your "Installation Steps of Oracle Enterprise Server V716 for SCO Unix" documentation for details on how to navigate through the installation.

Note that by default installation logging will be written to the file

/u/oracle7/orainst/install.log

Note also that you should not install any products that require technologies that are not available on OpenServer 6.0.0. Examples of products include:

SPX/IPX Protocol Adapter (V2) 2.1.6.0.0 SQL*Net SPX (V1) 1.2.7.10.1 SQL*Net VINES (V1) 1.0.0.0.4 Pro*Cob 1.6 1.6.7.0.0

If you do choose to install the above products then the installation will fail with "Relinking Errors" and you will see messages similar to:

UX:ld: ERROR: cannot open file /usr/lib/vines/libvnstkS.a for reading: No such file or directory *** Error code 1 (bu21) UX:make: ERROR: fatal error.

in the installation log file.
4) After installing Oracle 7.1.6

Once Oracle 7.1.6 has been installed you should, as root:

- Edit /etc/profile and remove or comment out the lines

PATH=/osr5/usr/bin:/osr5/usr/ccs/bin:$PATH
LD_LIBRARY_PATH=/osr5/lib:/osr5/usr/lib:/osr5/usr/ccs/lib:$LD_LIBRARY_PATH
export PATH LD_LIBRARY_PATH

- Using your favourite editor, edit /.profile, remove the line:

PATH=$PATH:/bin:/etc:/usr/bin:/tcb/bin:/sbin:/usr/sbin
and uncomment the old PATH entry.

As the oracle user you can test connectivity by running the command:

sqlplus
and logging using the username:
system

and the password you set for SYSTEM at install time.

From the Xinuos technical article database, record 127329. Reproduced with permission. The original is at www.sco.com/ta/127329, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.