Mandriva




In install Oracle 10g on Mandrake 9.2

You can get it from http://otn.oracle.com.

extract using

  1. Run "gunzip " on all the files.
Eg.: gunzip ship.db.cpio.gz 2. Extract the cpio archives with the command "cpio -idcmv < " Eg.: cpio -idcmv < ship.db.cpio

Follow the quick http://download-uk.oracle.com/docs/html/B10813_01/toc.htm install guide to the letter (it matters1.1 ) except

Page 26 - Put the bash/c scripts in an exectable file in /etc/profile.d (see the others that and there and copy the naming).

Wherever you extracted Oracle to go to Disk1/stage/prereq and edit db_server_prereq.xml and change all instances of ~CertifiedVersions prereq to warning.

and in refhosts.xml add this

In install/oraparam.ini change certified versions to

~Certified Versions~?
Linux=redhat-2.1,~UnitedLinux-1.0,redhat-3,mandrake-9.2

Next run the installer as in the quickinstall instructions. It should be fooled into thinking Mandrake is a supported platform

Running it as a service

Oracle supply a scipt for this at http://download-uk.oracle.com/docs/html/B10812_01/chapter2.htm#sthref210 but it needs rsh.

I changed it to this and it works #1.1 /bin/sh -x

  1. Change the value of ORACLE_HOME to specify the correct Oracle home
  2. directory for you installation
ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1
  1. change the value of ORACLE to the login name of the
  2. oracle owner at your site
PATH=${PATH}:$ORACLE_HOME/bin HOST=`hostname` PLATFORM=`uname` export ORACLE_HOME PATH touch $LOG chmod a+r $LOG null
    1. null
    2. null
    3. $1 innullnull
  • null 'start') echo "$0: starting up" >> $LOG date >> $LOG
    1. Start Oracle Net
    if -f $ORACLE_HOME/bin/tnslsnr? ; then echo "starting Oracle Net Listener" sudo -u $ORACLE $ORACLE_HOME/bin/lsnrctl start >> $LOG 2>&1 & fi echo "Starting Oracle databases" sudo -u $ORACLE $ORACLE_HOME/bin/dbstart >> $LOG 2>&1 & ;; 'stop') echo "$0: shutting down" >> $LOG date >> $LOG
    1. Stop Oracle Net
    if -f $ORACLE_HOME/bin/tnslsnr? ; then echo "stopping Oracle Net Listener" sudo -u $ORACLE $ORACLE_HOME/bin/lsnrctl stop >> $LOG 2>&1 & fi echo "stopping Oracle databases" sudo -u $ORACLE $ORACLE_HOME/bin/dbshut >> $LOG 2>&1 & ;; *) echo "usage: $0 {start|stop}" exit ;; esac

    As mandrake does not have rsh anymore.

    Oracle Community Forums

    http://www.orafaq.com/

KB - Running it as a service
Version 1.5 last modified by Flink on 04/01/2005 at 10:31

 


Multilingualism
RSS
RSS

Creator: bgidley on 04/06/2004 at 15:54
(c) Mandriva 2007
1.1-SNAPSHOT.1715