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 setULIMIT=4194303in /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 fromftp://ftpput.sco.com/tmp/support/ISO/Oracle/v7.1.6/cd_linkand place it in:/usr/binand 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 /mntto 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 /mntAs 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.tarplace it in/u/oracle7/patchand extract it using:tar xvf /u/oracle7/patch/SCO_OS_6.tar3) 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\;1When 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_HOMEcd $ORACLE_HOME/cdlink/orainst./rootpre.shWhen the rootpre.sh script prompts, answer as follows:
Are you installing Oracle from CDROM? (Y/N) yDo you want to install Oracle Icons for SCO ODT System? (Y/N) n
Continue with rootpre.sh ? (Y/N) yPlease enter the name of oracle user: oraclePlease enter the group the oracle user belongs to: dba
Continue with the above settings? (Y/N) yAre 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 patchsh READMEYou 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/orafilesas 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./orainstand 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.logNote 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.6Once 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/sbinand uncomment the old PATH entry.As the oracle user you can test connectivity by running the command:
sqlplusand logging using the username:systemand the password you set for SYSTEM at install time.