©
This document uses PHP Chinese website manual Release
If you want to run the intelligent agent, you'll also need to install the Red Hat tcl package:
tcl-8.0.3-20.i386.rpmThe general command for installing packages with the official RPM port is:
rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm <package>Installation of the package should not generate any errors.
options SHMMAXPGS=10000Set these options to suit your intended use of Oracle.
options SHMMNI=100
options SHMSEG=10
options SEMMNS=200
options SEMMNI=70
options SEMMSL=61
Also, make sure you have the following options in your kernel config-file:
options SYSVSHM #SysV shared memory
options SYSVSEM #SysV semaphores
options SYSVMSG #SysV interprocess communication
LD_LIBRARY_PATH=$ORACLE_HOME/libIt is advised to set all the environment variables in .profile. A complete example is:
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip
PATH=/compat/linux/bin:/compat/linux/sbin: \
/compat/linux/usr/bin:/compat/linux/usr/sbin: \
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin: \
$ORACLE_HOME/bin
ORACLE_BASE=/oracle; export ORACLE_BASE
ORACLE_HOME=/oracle; export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH
ORACLE_SID=ORCL; export ORACLE_SID
ORACLE_TERM=386x; export ORACLE_TERM
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip
export CLASSPATHPATH=/compat/linux/bin:/compat/linux/sbin: \
/compat/linux/usr/bin:/compat/linux/usr/sbin:/bin: \
/sbin:/usr/bin:/usr/sbin:/usr/local/bin: \
$ORACLE_HOME/bin;
export PATH
A frequent problem is that the TCP protocol adapter is not installed right. As a consequence, you cannot start any TCP listeners. The following actions help solve this problem:
cd $ORACLE_HOME/network/libDon't forget to run root.sh again!
make -f ins_network.mk ntcontab.o
cd $ORACLE_HOME/lib
ar r libnetwork.a ntcontab.o
cd $ORACLE_HOME/network/lib
make -f ins_network.mk install
*** orainst/root.sh.orig Tue Oct 6 21:57:33 1998When you don't install Oracle from CD, you can path the source for root.sh. It is called rthd.sh and is located in the orainst directory in the source tree.
--- orainst/root.sh Mon Dec 28 15:58:53 1998
***************
*** 31,37 ****
# This is the default value for CHOWN
# It will redefined later in this script for those ports
# which have it conditionally defined in ss_install.h
! CHOWN=/bin/chown#
# Define variables to be used in this script
--- 31,37 ----
# This is the default value for CHOWN
# It will redefined later in this script for those ports
# which have it conditionally defined in ss_install.h
! CHOWN=/usr/sbin/chown#
# Define variables to be used in this script
*** bin/genclntsh.orig Wed Sep 30 07:37:19 1998
--- bin/genclntsh Tue Dec 22 15:36:49 1998
***************
*** 32,38 ****
#
# Explicit path to ensure that we're using the correct commands
#PATH=/usr/bin:/usr/ccs/bin export PATH
! PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin export PATH#
# each product MUST provide a $PRODUCT/admin/shrept.lst
--- 32,38 ----
#
# Explicit path to ensure that we're using the correct commands
#PATH=/usr/bin:/usr/ccs/bin export PATH
! #PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin export PATH#
# each product MUST provide a $PRODUCT/admin/shrept.lst