Skip Headers

Oracle® Database Installation Guide
10g Release 1 (10.1) for UNIX Systems: AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux x86, and Solaris Operating System (SPARC)
Part No. B10811-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous Next  

2 Pre-installation Tasks

This chapter describes the tasks that you must complete before you start the Oracle Universal Installer. It includes information about the following tasks:

Log In to the System as root

Before you install the Oracle software, you must complete several tasks as the root user. To log in as the root user, complete one of the following procedures:


Note:

Unless you intend to complete a silent installation, you must install the software from an X Window System workstation, an X terminal, or a PC or other system with X server software installed.

For more information about non-interactive and silent installations, see Appendix B.


Check the Hardware Requirements

The system must meet the following minimum hardware requirements:

To ensure that the system meets these requirements, follow these steps:

  1. To determine the physical RAM size, enter one of the following commands:

    Platform Command
    AIX
    # /usr/sbin/lsattr -E -l sys0 -a realmem
    
    HP-UX
    # /usr/sbin/dmesg | grep "Physical:"
    
    Linux
    # grep MemTotal /proc/meminfo
    
    Solaris
    # /usr/sbin/prtconf | grep "Memory size"
    
    Tru64 UNIX
    # /bin/vmstat -P | grep "Total Physical Memory"
    

    If the size of the physical RAM installed in the system is less than the required size, you must install more memory before continuing.

  2. To determine the size of the configured swap space, enter one of the following commands:

    Platform Command
    AIX
    # /usr/sbin/lsps -a
    
    HP-UX
    # /usr/sbin/swapinfo -a
    
    Linux
    # grep SwapTotal /proc/meminfo
    
    Solaris
    # /usr/sbin/swap -s
    
    Tru64 UNIX
    # /sbin/swapon -s
    

    If necessary, see your operating system documentation for information about how to configure additional swap space.

  3. To determine the amount of disk space available in the /tmp directory, enter one of the following commands:

    • HP-UX:

      # bdf /tmp
      
      
    • Other operating systems:

      # df -k /tmp
      
      

    If there is less than 400 MB of disk space available in the /tmp directory, complete one of the following steps:

    • Delete unnecessary files from the /tmp directory to achieve the required disk space.

    • Set the TEMP and TMPDIR environment variables when setting the oracle user’s environment (described later).

    • Extend the file system that contains the /tmp directory. If necessary, contact your system administrator for information about extending file systems.

  4. To determine the amount of free disk space on the system, enter one of the following commands:

    • HP-UX:

      # bdf
      
      
    • Other operating systems:

      # df -k
      
      

    The following table shows the approximate disk space requirements for software files for each installation type:

    Platform Installation Type Requirement for Software Files (GB)
    AIX Enterprise Edition 3
    Standard Edition 3
    Custom (maximum) 3
    HP-UX Enterprise Edition 2.5
    Standard Edition 2.5
    Custom (maximum) 2.5
    Linux Enterprise Edition 1.5
    Standard Edition 1.5
    Custom (maximum) 1.5
    Solaris Enterprise Edition 1.5
    Standard Edition 1.5
    Custom (maximum) 1.5
    Tru64 UNIX Enterprise Edition 3
    Standard Edition 3
    Custom (maximum) 3

  5. To determine whether the system architecture can run the software, enter one of the following commands:


    Note:

    If you do not see the expected output, you cannot install the software on this system.

    Platform Command Expected Output
    AIX
    # /usr/bin/getconf HARDWARE_BITMODE
    
    
    64
    
    HP-UX
    # /bin/getconf KERNEL_BITS
    
    
    64
    
    Linux
    # grep "model name" /proc/cpuinfo
    
    
    This command displays the processor type. Verify that the processor architecture matches the Oracle software release that you want to install.
    Solaris
    # /bin/isainfo -kv
    
    64-bit sparcv9 kernel modules
    

Check the Software Requirements

Depending on your operating system, see one of the following sections for information about checking the software requirements:


Note:

The Oracle Universal Installer performs checks on your system to verify that it meets the requirements listed for your platform. To ensure that these checks pass, verify the requirements before you start the Installer.

Checking the Software Requirements on AIX

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system version and maintenance level:

AIX 5L version 5.2, Maintenance Level 1 or higher

Operating system filesets:
bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
Oracle Spatial AIXwindows Motif Libraries:
X11.motif.lib

Note: This software is required only to build the sample programs.

Oracle Messaging Gateways IBM WebSphere MQ V5.3, client and server:
mqm.Client.Bnd
mqm.Server.Bnd
Oracle JDBC/OCI Drivers You can use the following optional IBM JDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • JDK 1.4.1.1 (64-bit)

  • JDK 1.3.1.11 (32-bit)

  • JDK 1.2.2.18

Note: IBM JDK 1.4.1.2 (32-bit) is installed with this release.

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
C for AIX Compiler V6.0.0.4:

vac.C

VisualAge C++ Compiler V6.0:

vacpp.cmp.core

Oracle Transparent Gateway for Sybase Either of the following:
  • Sybase Adaptive Server Enterprise V12 or 12.5

  • Sybase Open Client V12 or 12.5

    Open Client is required if the Sybase server is not on the local node.


To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of AIX is installed, enter the following command:

    # oslevel -r
    
    

    If the operating system version is lower than AIX 5.2.0.0 Maintenance Level 1 (5200-01), upgrade your operating system to this level. AIX 5L version 5.2 maintenance packages are available from the following Web site:

    https://techsupport.services.ibm.com/server/aix.fdc
    
    
  2. To determine whether the required filesets are installed and committed, enter a command similar to the following:

    # lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat \ bos.perf.libperfstat bos.perf.proctools
    
    

    If a fileset is not installed and committed, then install it. See your operating system or software documentation for information about installing filesets.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Authorized Problem Analysis Reports (APARs):
  • IY43980: libperfstat.h not ANSI-compliant

  • IY44810: DSI IN BMRECYCLE

  • IY45462: Definition of isnan() in math.h incorrect

  • IY45707: J2 READAAHEAD/CIO INTERACTION

  • IY46214: dropping partial connections leaves them on so_q0

  • IY46605: exec of 32 bit application can fail on 64 bit kernel

  • IY48525: SDK 1.4.1 32-BIT SR1: CA141-20030930

  • IY51801: race condition in aio_nwait_timeout

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Program Technical Fixes (PTFs):
  • U489726 - vac.C.6.0.0.4 (or later)

Oracle JDBC/OCI Drivers Note: These APARs are required only if you are using the associated JDK version.

APARs required for JDK 1.4.1.1 (64-bit):

  • IY48526: SDK 1.4.1 64-BIT SR1: CAIX64141-20030930

APARs required for JDK 1.3.1.11 (32-bit):

  • IY47055: SDK 1.3.1 32-BIT PTF: CA131-20030630A

APARs required for JDK 1.2.2.18:

  • IY40034: SDK 1.2.2 PTF: CA122-20030115

Oracle Messaging Gateway Corrective service diskettes (CSDs) for WebSphere MQ:

CSD03 or later for WebSphere MQ V5.3 (U485561)


To ensure that the system meets these requirements, follow these steps:

  1. To determine whether an APAR is installed, enter a command similar to the following:

    # /usr/sbin/instfix -i -k "IY22854 IY26778 ..."
    
    

    If an APAR is not installed, download it from the following Web site and install it:

    https://techsupport.services.ibm.com/server/aix.fdc
    
    
  2. To determine whether a PTF is installed, enter a command similar to the following:

    # lslpp -l -B U489726 U485561 ...
    
    

    If a PTF is not installed, download it from the following Web site and install it:

    https://techsupport.services.ibm.com/server/aix.fdc
    
    
  3. If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:

    http://www.ibm.com/software/integration/mqfamily/support/summary/aix.html
    
    
  4. To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.

Checking the Software Requirements on HP-UX

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system version:

HP-UX 11i (11.11) PA-RISC

Oracle Spatial HP-UX Developer's Toolkit - X11, Motif, and Imake:
X11MotifDevKit

Note: This software is required only to build the sample programs.

Oracle Messaging Gateways IBM WebSphere MQ V5.3, client and server:
MQSERIES.MQM-CL-HPUX
MQSERIES.MQM-SERVER

TIBCO Rendezvous 7.2

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
HP C/ANSI C Compiler (B.11.11.08 or higher):
C-ANSI-C

HP aC++ Compiler (A.03.50 or higher):

ACXX
Oracle JDBC/OCI Drivers You can use the following optional Java SDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • Java SDK 1.3.1.02 with the JNDI extension

  • Java SDK 1.2.2.09

Note: Java SDK 1.4.2.00 is installed with this release.

Oracle DCE Integration (part of Oracle Advanced Security) or Oracle Net protocol support for DCE DCE (B.11.11.10 or higher):
DCE-C-Tools
DCE-CDS-Server
DCE-Core
DCE-CoreAdmin
DCE-CoreTools
DCE-SEC-Server
Oracle Transparent Gateway for Sybase Either of the following:
  • Sybase Adaptive Server Enterprise V12 or 12.5

  • Sybase Open Client V12 or 12.5

    Open Client is required if the Sybase server is not on the local node.

Oracle Transparent Gateway for Informix One of the following:
  • Informix Dynamic Server v7.3, 7.4, or 9.*

  • Informix ESQL/C v7.3, 7.4, or 9.*

    ESQL/C is required if the Informix server is not on the local node.

Note: This version of the gateway does not support Informix SE.

Oracle Transparent Gateway for Ingress Ingres II version 2.0, 2.5, or 2.6
Oracle Transparent Gateway for Teradata NCR Teradata ODBC Driver v02.04.00.00

To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of HP-UX is installed, enter the following command:

    # uname -a
    HP-UX hostname B.11.11 U 9000/800 109444686 unlimited-user license
    
    

    In this example, the version of HP-UX 11i is 11.11.

  2. To determine whether a bundle, product, or fileset is installed, enter a command similar to the following, where level is bundle, product, or fileset:

    # /usr/sbin/swlist -l level | more
    
    

    If a required bundle, product, or fileset is not installed, you must install it. See your operating system or software documentation for information about installing products.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.


Note:

There may be more recent versions of the patches listed installed on the system. If a listed patch is not installed, determine whether a more recent version is installed before installing the version listed.

Installation Type or Product Requirement
All installations Quality Pack bundle:

HP-UX 11i Quality Pack (GOLDQPK11i), June 2003 or later:

GOLDAPPS11i
GOLDBASE11i
All installations Patches for HP-UX 11i (11.11):
  • PHCO_28123: cumulative SAM patch

  • PHKL_29198: Psets Enablement Patch; top(1)

  • PHNE_28476: Cumulative STREAMS Patch

  • PHNE_28923: LAN product cumulative patch

  • PHSS_28871: ld(1) and linker tools cumulative patch

  • PHSS_28880: HP aC++ -AA runtime libraries (aCC A.03.50)

All installations Patches for JDK on HP-UX 11i (11.11):
  • PHCO_26331: mountall cumulative patch, Dev IDs enabler

  • PHCO_29109: Pthread enhancement and fixes

  • PHKL_25468: eventport (/dev/poll) pseudo driver

  • PHKL_25842: Thread Abort

  • PHKL_25993: thread nostop for NFS, rlimit, Ufalloc fix

  • PHKL_25994: Thread NOSTOP, Psets Enablement, Ufalloc

  • PHKL_25995: ufalloc;VxFS3.5;SPP fragmentation

  • PHKL_26468: Shared synchronization performance support

  • PHKL_28489: copyin EFAULT, LDCD access type

Note: See the following Web site for information about additional patches that might be required by JDK 1.4.2:

http://www.hp.com/products1/unix/java/patches/index.html
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Patches for HP-UX 11i (11.11):
  • PHSS_29484: ANSI C compiler B.11.11.08 cumulative patch

  • PHSS_29485: +O4/PBO Compiler B.11.11.08 cumulative patch

Oracle DCE Integration (part of Oracle Advanced Security) or Oracle Net protocol support for DCE Patches for HP-UX 11i (11.11):
  • PHSS_28386: HP DCE/9000 1.8 DCE Client IPv6 patch

  • PHSS_28387: HP DCE/9000 1.8 Server/DevTools cum. patch

  • PHSS_28388: HP DCE/9000 1.8 Integrated Login cum. patch

  • PHSS_29669: HP DCE/9000 1.8 DCE Client IPv6 patch

Oracle Messaging Gateway Corrective service diskettes (CSDs) for WebSphere MQ:
  • CSD05 or later for WebSphere MQ V5.3


To ensure that the system meets these requirements, follow these steps:

  1. To determine whether the HP-UX 11i Quality Pack is installed, enter the following command:

    # /usr/sbin/swlist -l bundle | grep GOLD
    
    

    If the Quality Pack is not installed, or if the date is before June 2003, download the latest Quality Pack from the following Web site and install it:

    http://www.software.hp.com/SUPPORT_PLUS/qpk.html
    
    
  2. To determine whether a patch is installed, enter a command similar to the following:

    # /usr/sbin/swlist -l patch | grep PHSS_28880
    
    

    Alternatively, to list all installed patches, enter the following command:

    # /usr/sbin/swlist -l patch | more
    
    

    If a required patch is not installed, download it from the following Web site and install it:

    http://itresourcecenter.hp.com
    
    

    If the Web site shows a more recent version of the patch, download and install that version.

  3. If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:

    http://www.ibm.com/software/integration/mqfamily/support/summary/hpx.html
    

Create Required Symbolic Links

Note:

This task is required only if the Motif 2.1 Development Environment package (X11MotifDevKit.MOTIF21-PRG) is not installed.

To allow you to successfully relink Oracle products after installing this software, enter the following commands to create required X library symbolic links in the /usr/lib directory:

# cd /usr/lib
# ln -s libX11.3 libX11.sl
# ln -s libXIE.2 libXIE.sl
# ln -s libXext.3 libXext.sl
# ln -s libXhp11.3 libXhp11.sl
# ln -s libXi.3 libXi.sl
# ln -s libXm.4 libXm.sl
# ln -s libXp.2 libXp.sl
# ln -s libXt.3 libXt.sl
# ln -s libXtst.2 libXtst.sl

To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.

Checking the Software Requirements on Linux

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations One of the following operating system versions:
  • Red Hat Enterprise Linux AS/ES 2.1 or 3 (x86)

  • UnitedLinux 1.0, service pack 3 or higher (x86)

The following packages (or higher versions) must be installed:

All distributions:

make-3.79
binutils-2.11.90.0.8-12

Red Hat Enterprise Linux 2.1 (x86):

gcc-2.96.108.1
openmotif-2.1.30-11

Red Hat Enterprise Linux 3:

gcc-3.2.3-2
compat-db-4.0.14.5
compat-gcc-7.3-2.96.122
compat-gcc-c++-7.3-2.96.122
compat-libstdc++-7.3-2.96.122
compat-libstdc++-devel-7.3-2.96.122
openmotif-2.2.2-16
setarch-1.3-1 

UnitedLinux 1.0 (x86):

gcc-3.2.2-38
openmotif-2.2.2-124
Oracle Spatial X Window System development package:
  • Red Hat:

    XFree86
    XFree86-devel
    
  • UnitedLinux:

    xf86
    xdevel
    

Note: This software is required only to build the sample programs.

Oracle Messaging Gateways IBM WebSphere MQ V5.3, client and server:
MQSeriesClient
MQSeriesServer
MQSeriesRuntime
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
The version of Gnu gcc listed previously for your distribution is supported for use with these products.

Note: Intel C++ Compiler v7.1.0.28 or higher is also supported, however it is not required for installation.

Oracle JDBC/OCI Drivers You can use the following optional JDK version with the Oracle JDBC/OCI drivers, however it is not required for the installation:
  • Sun JDK 1.3.1_09 with the JNDI extension

Note: JDK 1.4.2_02 is installed with this release.


To ensure that the system meets these requirements, follow these steps:

  1. To determine which distribution and version of Linux is installed, enter the following command:

    # cat /etc/issue
    
    

    Note:

    Only the distributions and versions listed in the previous table are supported. Do not install the software on other versions of Linux.

  2. On UnitedLinux 1.0 systems only, enter the following command to determine whether Service Pack 3 is installed:

    # uname -r
    2.4.21-138-default
    
    

    This command shows the kernel version (2.4.21-138) and type (default). If the kernel version is less than 2.4.21-138, contact your UnitedLinux vendor for information about obtaining and installing Service Pack 3.

  3. To determine whether the required packages are installed, enter a command similar to the following:

    # rpm -q package_name
    
    

    If a package is not installed, install it from your Linux distribution media.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.


Note:

If the following patches are superseded by later versions, install the latest version.

Installation Type or Product Requirement
All installations Red Hat Enterprise Linux 2.1 (x86) errata:
  • RHSA-2003:195-06
    Updated kernel addresses security vulnerabilities

  • RHSA-2003:022-09
    Updated glibc packages fix vulnerabilities in resolver

Oracle Messaging Gateway Corrective service diskette (CSD) for WebSphere MQ:

CSD05 or later for WebSphere MQ V5.3


To ensure that the system meets these requirements, follow these steps:

  1. On Red Hat Enterprise Linux 2.1 systems only, follow these steps:

    1. To determine whether kernel update RHSA-2003:195-06 or later is installed, enter the following command:

      # uname -r
      2.4.9-e.25
      
      

      This command shows the kernel version (2.4.9) and errata level (e.25). If the errata level is less than 25, install the latest kernel update. See the following Web site for information about kernel update RHSA-2003:195-06:

      https://rhn.redhat.com/errata/RHSA-2003-195.html
      
      
    2. To determine whether fix RHSA-2003:022-09 is installed, enter the following command:

      # rpm -q glibc
      glibc-2.2.4-31
      
      

      If the version shown is less than 2.2.4-31, see the following Web site for information about fix RHSA-2003:022-09:

      https://rhn.redhat.com/errata/RHSA-2003-022.html
      
      
  2. If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:

    http://www.ibm.com/software/integration/mqfamily/support/summary/lin.html
    
    
  3. To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.

Checking the Software Requirements on Solaris

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system versions:

Solaris 8 or Solaris 9, 64-bit

Operating system packages:
SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWsprox
SUNWtoo
SUNWi1of
SUNWi1cs
SUNWi15cs
SUNWxwfnt

Note: You might also require additional font packages for Java, depending on your locale. See the following Web site for more information:

http://java.sun.com/j2se/1.4.2/font-requirements.html
Oracle Spatial Motif RunTime Kit:

SUNWmfrun

Note: This software is required only to build the sample programs.

Oracle Messaging Gateways IBM WebSphere MQ V5.3, client and server:
mqm

TIBCO Rendezvous 7.2

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Sun ONE Studio 8 (C and C++ 5.5)
Oracle JDBC/OCI Drivers You can use the following optional JDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • Sun Java 2 SDK Standard Edition 1.3.1_10 and the JNDI extension

  • Sun Java 2 SDK Standard Edition 1.2.2_17 and the JNDI extension

Note: JDK 1.4.2_01 is installed with this release.

Oracle Transparent Gateway for Sybase Either of the following:
  • Sybase Adaptive Server Enterprise V12 or 12.5

  • Sybase Open Client V12 or 12.5

    Open Client is required if the Sybase server is not on the local node.

Oracle Transparent Gateway for Informix One of the following:
  • Informix Dynamic Server v7.3, 7.4, or 9.*

  • Informix ESQL/C v7.3, 7.4, or 9.*

    ESQL/C is required if the Informix server is not on the local node.

Note: This version of the gateway does not support Informix SE.

Oracle Transparent Gateway for Ingress Ingres II version 2.0, 2.5, or 2.6
Oracle Transparent Gateway for Teradata NCR Teradata ODBC Driver v02.04.00.00

To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of Solaris is installed, enter the following command:

    # uname -r
    
    

    If the operating system version is lower than Solaris 8 (5.8), upgrade your operating system to this level.

  2. To determine whether the required packages are installed, enter a command similar to the following:

    # pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \ SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
    
    

    If a package is not installed, then install it. See your operating system or software documentation for information about installing packages.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.


Note:

The patch versions shown in the following table are minimum versions. Higher versions of the same patches are also supported.

Installation Type or Product Requirement
All installations Patches for Solaris 8:

All of the patches included in the J2SE Patch Cluster for Solaris 8:

  • 108528-23, SunOS 5.8: kernel update patch

  • 108652-66, X11 6.4.1: Xsun patch

  • 108773-18, SunOS 5.8: IIIM and X I/O Method patch

  • 108921-16, CDE 1.4: dtwm patch

  • 108940-53, Motif 1.2.7 and 2.1.1: Runtime lib. patch for Solaris 8

  • 108987-13, SunOS 5.8: Patch for patchadd and patchrm

  • 108989-02, /usr/kernel/sys/acctctl & /.../exacctsys patch

  • 108993-18, SunOS 5.8: LDAP2 client, libc, ... lib. patch

  • 109147-24, SunOS 5.8: linker patch

  • 110386-03, SunOS 5.8: RBAC Feature Patch

  • 111023-02, SunOS 5.8: /kernel/fs/mntfs and ... sparcv9/mntfs

  • 111111-03, SunOS 5.8: /usr/bin/nawk patch

  • 111308-03, SunOS 5.8: /usr/lib/libmtmalloc.so.1 patch

  • 111310-01, SunOS 5.8: /usr/lib/libdhcpagent.so.1 patch

  • 112396-02, SunOS 5.8: /usr/bin/fgrep patch

The following additional patches:

  • 111721-04, SunOS 5.8: Math Library (libm) patch

  • 112003-03, SunOS 5.8: Unable to load fontset ... iso-1 or iso-15

  • 112138-01, SunOS 5.8: usr/bin/domainname patch

All installations Patches for Solaris 9:
  • 112233-11: SunOS 5.9: Kernel Patch

  • 111722-04: SunOS 5.9: Math Library (libm) patch

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Patches for Solaris 8 and Solaris 9:
  • 112758-02, dbx 7.1: Patch for S1S8CC Debugger

  • 112760-05, C 5.5: Patch for S1S8CC C compiler

  • 112763-06, Compiler Common S1S8CC: Patch for S1S8CC C C++ F77 F95

  • 113817-03, C++ 5.5: Patch for S1S8CC C++ compiler

  • 113820-02, Compiler Common 7.1: Patch for S1S8CC Math Libraries

  • 113823-03, ILD 4.1: Patch for S1S8CC Incremental Linker

Oracle Messaging Gateway Corrective service diskettes (CSDs) for WebSphere MQ:

CSD06 or later for WebSphere MQ V5.3


To ensure that the system meets these requirements, follow these steps:

  1. To determine whether an operating system patch is installed, enter a command similar to the following:

    # /usr/sbin/patchadd -p | grep patch_number
    
    

    If an operating system patch is not installed, download it from the following Web site and install it:

    http://sunsolve.sun.com
    
    
  2. If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:

    http://www.ibm.com/software/integration/mqfamily/support/summary/sun.html
    
    
  3. To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.

Checking the Software Requirements on Tru64 UNIX

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system version:

HP Tru64 UNIX V5.1B

Software Development Kit (SDK) v 1.4.2 for the Tru64 UNIX Operating System for the Java Platform (JDK 1.4.2)
Operating system subsets:
OSFCMPLRS
OSFLIBA
OSFPGMR
OSFSER
OSFX11
Oracle DCE Integration (part of Oracle Advanced Security) or Oracle Net protocol support for DCE DCE v4.1 or later:
DCECDS
DECRTS
DCESEC
Oracle Spatial X Window and X/Motif software:
OSFXDEVX
OSFXINCLUDE
OSFXLIBA

Note: This software is required only to build the sample programs.

Oracle Messaging Gateways IBM MQSeries V5.1 client and server:
MQS_CLIENT
MQS_SERVER

MQSeries classes for Java and MQSeries classes for Java Message Service V5.2.2 (SupportPac MA88):

MQS_MQJAVA
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Compaq C Compiler V6.5-207 (dtk):
DTCCMPLR

Compaq C++ Version 6.5-014:

CXXBASE
CXXLIB
CXXOLD
Oracle JDBC/OCI Drivers You can use the following optional JDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • SDK v 1.3.1-5

  • SDK v 1.2.2-12

Note: SDK v 1.4.2 must be installed before you install the software.

Oracle Transparent Gateway for Sybase Either of the following:
  • Sybase Adaptive Server Enterprise V12 or 12.5

  • Sybase Open Client V12 or 12.5

    Open Client is required if the Sybase server is not on the local node.


To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of Tru64 UNIX is installed, enter the following command:

    # /usr/sbin/sizer -v
    Compaq Tru64 UNIX V5.1B (Rev. 2650); Mon Nov  3 10:13:28 PST 200 
    
    

    In this example, the version shown is V5.1B. If necessary, see your operating system documentation for information about upgrading the operating system.

  2. To determine whether Java SDK 1.4.2 is installed, enter the following command:

    # /usr/sbin/setld -i JAVA142 | more
    
    

    If Java SDK 1.4.2 is installed, this command displays the paths to all of the installed files. Note the path of the Java home directory. You must specify this value during the installation. The default path is:

    /usr/opt/java142
    
    

    If this command returns the message Unknown subset, Java SDK 1.4.2 is not installed. Download Java SDK 1.4.2.01 or higher from the following Web site and install it:

    http://www.compaq.com/java/download/index.html
    
    
  3. To determine whether the required software subsets are installed, enter one of the following commands:

    • To view the list of all software subsets installed on the system, enter the following command:

      # /usr/sbin/setld -i | more
      
      
    • To determine whether a particular software subset is installed, enter a command similar to the following:

      # /usr/sbin/setld -i | grep subsetname
      
      

    If necessary, install the required software subset. If you require the Compaq C Compiler V6.5-207 (dtk), you can download it from the following Web site:

    http://www.tru64unix.compaq.com/dtk/
    
    
  4. If you intend to use Oracle Messaging Gateway and require MQSeries classes for Java and MQSeries classes for Java Message Service (SupportPac MA88), download it from the following Web site:

    http://www.ibm.com/software/integration/support/supportpacs/individual/ma88.html
    

Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Tru64 UNIX V5.1B Patch Kit 2 or higher:
T64V51BB22AS0002-20030415

HP Tru64 UNIX 5.1B PK2 BL22 Fixes for AdvFS Panic in _OtsMove; and Possible Memory Corruption:

T64KIT0020879-V51BB22-E-20031125
Oracle Messaging Gateway Corrective service diskette (CSD) for MQSeries:

CSD09 or later for MQSeries V5.1


To determine whether the required patch kits are installed, enter the following command:

# /usr/sbin/dupatch -track -type kit

If this command does not display the identifiers shown in the previous table for the required patch kits (or the identifier for a higher patch kit level), download the latest patch kit from the following Web site and install it (registration is required to access this Web site):

http://itrc.hp.com/service/patch/mainPage.do

If you require a CSD for MQSeries, see the following Web site for download and installation information:

http://www.ibm.com/software/integration/mqfamily/support/summary/dig.html

Create Required UNIX Groups and User

Depending on whether this is the first time Oracle software is being installed on this system and on the products that you are installing, you may need to create several UNIX groups and a UNIX user.

The following UNIX groups and user are required if you are installing Oracle Database:

The following UNIX group and user are required for all installations:

A single Oracle Inventory group is required for all installations of Oracle software on the system. After the first installation of Oracle software, you must use the same Oracle Inventory group for all subsequent Oracle software installations on that system. However, you can choose to create different Oracle software owner users, OSDBA groups, and OSOPER groups (other than oracle, dba, and oper) for separate installations. By using different groups for different installations, members of these different groups have DBA privileges only on the associated databases rather than on all databases on the system.


See Also:

The Oracle Database Administrator’s Reference for UNIX Systems and the Oracle Database Administrator’s Guide contain more information about the OSDBA and OSOPER groups and the SYSDBA and SYSOPER privileges.

The following sections describe how to create the required UNIX user and groups.


Note:

The following sections describe how to create local users and groups. As an alternative to creating local users and groups, you could create the appropriate users and groups in a directory service, for example, Network Information Services (NIS). For information about using directory services, contact your system administrator or see your operating system documentation.

Creating the Oracle Inventory Group

You must create the Oracle Inventory group if it does not already exist. The following subsections describe how to determine the Oracle Inventory group name, if it exists, and how to create it if necessary.


Determine Whether the Oracle Inventory Group Exists

When you install Oracle software on the system for the first time, the Installer creates the oraInst.loc file. This file identifies the name of the Oracle Inventory group and the path of the Oracle Inventory directory. To determine whether the Oracle Inventory group exists, enter the following command:

  • AIX or Linux:

    # more /etc/oraInst.loc
    
    
  • Other operating systems:

    # more /var/opt/oracle/oraInst.loc
    
    

If the oraInst.loc file exists, the output from this command is similar to the following:

inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall

The inst_group parameter shows the name of the Oracle Inventory group (oinstall).


Create the Oracle Inventory Group

If the oraInst.loc file does not exist, create the Oracle Inventory group as follows, depending on your operating system:

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to create the oinstall group.

    3. Press F10 to exit.

  • Other operating systems:

    Enter the following command to create the oinstall group:

    # /usr/sbin/groupadd oinstall
    
    

Creating the OSDBA Group

You must create an OSDBA group in the following circumstances:

  • An OSDBA group does not exist, for example, if this is the first installation of Oracle Database software on the system

  • An OSBDA group exists, but you want to give a different group of UNIX users database administrative privileges in a new Oracle installation

If the OSDBA group does not exist or if you require a new OSDBA group, create it as follows, depending on your operating system. In the following procedure, use the group name dba unless a group with that name already exists.

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to create the dba group.

    3. Press F10 to exit.

  • Other operating systems:

    Enter the following command to create the dba group:

    # /usr/sbin/groupadd dba
    

Creating an OSOPER Group (Optional)

Create an OSOPER group only if you want to identify a group of UNIX users with a limited set of database administrative privileges (SYSOPER operator privileges). For most installations, it is sufficient to create only the OSDBA group. If you want to use an OSOPER group, you must create it in the following circumstances:

  • If an OSOPER group does not exist, for example, if this is the first installation of Oracle Database software on the system

  • If an OSOPER group exists, but you want to give a different group of UNIX users database operator privileges in a new Oracle installation

If you require an new OSOPER group, create it as follows, depending on your operating system. In the following procedure, use the group name oper unless a group with that name already exists.

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to create the oper group.

    3. Press F10 to exit.

  • Other operating systems:

    Enter the following command to create the oper group:

    # /usr/sbin/groupadd oper
    
    

Creating the Oracle Software Owner User

You must create an Oracle software owner user in the following circumstances:

  • If an Oracle software owner user does not exist, for example, if this is the first installation of Oracle software on the system

  • If an Oracle software owner user exists, but you want to use a different UNIX user, with different group membership, to give database administrative privileges to those groups in a new Oracle Database installation


Determine Whether an Existing Oracle Software Owner User Exists

To determine whether an Oracle software owner user named oracle exists, enter one of the following commands:

  • Solaris:

    # id -a oracle
    
    
  • Other operating systems:

    # id oracle
    
    

If the oracle user exists, the output from this command is similar to the following:

uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)

If the user exists, determine whether you want to use the existing user or create a new user. If you want to use the existing user, ensure that the user’s primary group is the Oracle Inventory group and that it is a member of the appropriate OSDBA and OSOPER groups. See one of the following sections for more information:


Note:

If necessary, contact your system administrator before using or modifying an existing user.


Create a New Oracle Software Owner User

If the Oracle software owner user does not exist or if you require a new Oracle software owner user, create it as follows, depending on your operating system. In the following procedure, use the user name oracle unless a user with that name already exists.

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to create the oracle user, specifying the following information:

      • In the Primary GROUP field, specify the Oracle Inventory group, for example oinstall.

      • In the Group SET field, specify the OSDBA group and if required, the OSOPER group, for example dba or dba,oper.


      Note:

      The UID for the oracle user must be less than 65536.

    3. Press F10 to exit.

    4. Set the password of the oracle user:

      # passwd oracle
      
      
  • Other operating systems:

    1. To create the oracle user, enter a command similar to the following:

      # /usr/sbin/useradd -g oinstall -G dba[,oper] oracle
      
      

      In this command:

      • The -g option specifies the primary group, which must be the Oracle Inventory group, for example oinstall

      • The -G option specifies the secondary groups, which must include the OSDBA group and if required, the OSOPER group, for example dba or dba,oper

    2. Set the password of the oracle user:

      # passwd oracle
      
      

See one of the following sections to continue:


Modify an Existing Oracle Software Owner User

If the oracle user exists, but its primary group is not oinstall or it is not a member of the appropriate OSDBA or OSOPER groups, you can modify it as follows depending on your operating system:

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to modify the oracle user.

    3. In the Primary GROUP field, specify the Oracle Inventory group, for example oinstall.

    4. In the Group SET field, specify the secondary groups, for example dba and oper.

    5. Press F10 to exit.

  • Other operating systems:

    Enter a command similar to the following, specifying the primary group using the -g option and any required secondary groups using the -G option:

    # /usr/sbin/usermod -g oinstall -G dba[,oper] oracle
    
    

HP-UX Only: Creating an Unprivileged User


Note:

This section applies only to HP-UX systems. If you are installing the software on a different system, see the "Verifying That the UNIX User nobody Exists" section.

You must create an new unprivileged local user to own the extjob executable. You can use any user name for this user, but this document uses the name extjob. To create the extjob user, enter the following command on all cluster nodes:

# /usr/sbin/useradd extjob

To continue, see the "HP-UX Only: Grant Privileges to the OSDBA Group" section.

Verifying That the UNIX User nobody Exists


Note:

This section does not apply to installations on HP-UX systems.

Before installing the software, verify that the UNIX user nobody exists on the system:

  1. To determine whether the user exists, enter the following command:

    # id nobody
    
    

    If this command displays information about the nobody user, you do not have to create that user.

  2. If the nobody user does not exist, enter the one of the following commands to create it:

    • AIX:

      # smit security
      
      

      Specify the appropriate options to create an unprivileged nobody user, then press F10 to exit.

    • Other operating systems:

      # /usr/sbin/useradd nobody
      
      

HP-UX Only: Grant Privileges to the OSDBA Group


Note:

If you are installing Oracle Database on a platform other than HP-UX, go to the "Configure Kernel Parameters and Shell Limits" section.

To enhance the performance of the software on HP-UX systems, you must grant several system privileges to the OSDBA group. Complete the following steps if you are installing the software on HP-UX:

  1. Using any text editor, open the /etc/privgroup file, or create it if necessary.

  2. Add or edit the following line, which begins with the name of the OSDBA group, specifying the privileges MLOCK, RTPRIO, and RTSCHED, that you want to grant to this group every time the system reboots:

    dba MLOCK RTPRIO RTSCHED
    
    
  3. Save the file and exit from the text editor.

  4. Enter the following command to grant the privileges to the OSDBA group:

    # /usr/sbin/setprivgrp -f /etc/privgroup
    
    
  5. Enter the following command to verify that the privileges are set correctly:

    # /usr/sbin/getprivgrp dba
    
    

Configure Kernel Parameters and Shell Limits


Note:

The kernel parameter and shell limit values shown in the following sections are recommended values only. For production database systems, Oracle recommends that you tune these values to optimize the performance of the system. See your operating system documentation for more information about tuning kernel parameters.

Depending on your operating system, see one of the following sections for information about configuring the system kernel parameters and shell limits:

Configuring Shell Limits and System Configuration Parameters on AIX

On AIX systems, you do not need to configure kernel parameters. However, Oracle recommends that you set shell limits and system configuration parameters as described in this section.


Configure Shell Limits

Verify that the shell limits shown in the following table are set to the values shown. The procedure following the table describes how to verify and set the values.

Shell Limit (As Shown in smit) Recommended Value
Soft FILE size -1 (Unlimited)
Soft CPU time -1 (Unlimited)

Note: This is the default value.

Soft DATA segment -1 (Unlimited)
Soft STACK size -1 (Unlimited)

To view the current value specified for these shell limits, and to change them if necessary, follow these steps:

  1. Enter the following command:

    # smit chuser
    
    
  2. In the User NAME field, enter the user name of the Oracle software owner, for example oracle.

  3. Scroll down the list and verify that the value shown for the soft limits listed in the previous table is -1.

    If necessary, edit the existing value.

  4. When you have finished making changes, press F10 to exit.


Configure System Configuration Parameters

Verify that the maximum number of processes allowed per user is set to 2048 or greater. The procedure following the table describes how to verify and set the value.


Note:

For production systems, this value should be at least 128 plus the sum of the PROCESSES and PARALLEL_MAX_SERVERS initialization parameters for each database running on the system.

  1. Enter the following command:

    # smit chgsys
    
    
  2. Verify that the value shown for Maximum number of PROCESSES allowed per user is greater than or equal to 2048.

    If necessary, edit the existing value.

  3. When you have finished making changes, press F10 to exit.

Configuring Kernel Parameters on HP-UX

Verify that the kernel parameters shown in the following table are set either to the formula shown, or to values greater than or equal to the recommended value shown. The procedure following the table describes how to verify and set the values.

Parameter Recommended Formula or Value
ksi_alloc_max (nproc*8)
max_thread_proc 256
maxdsiz 1073741824 (1 GB)
maxdsiz_64bit 2147483648 (2 GB)
maxssiz 134217728 (128 MB)
maxssiz_64bit 1073741824 (1 GB)
maxswapchunks 16384
maxuprc