|
Oracle8i Installation
Issues on HP:
8i Generic:
Mounting
CDROM or chkdrvrs: No such file or directory
Oracle
for 10.20 or 11.0
Installer
Terminates Without Errors Using Xterminal
Quick Start
Guides:
HP/UX
- Oracle 8i installation
8.1.6:
Error
in getting current working directory
RunInstaller
Fails with: Unable to Initialize Java Error
Typical
install does not install
database
8i Generic:
Mounting CDROM or
chkdrvrs: No such file or directory
The Oracle Product Installation CD-ROM is in RockRidge
format.
- Use a
system editor to add the following line to the /etc/pfs_fstab
file.
Syntax: <device_file> <mount_point>
<filesystem_type>
<translation_method>
Example: /dev/dsk/c5t2d0
/SD_CDROM pfs-rrip xlat=unix 0 0
The
first entry is the CD-ROM device file; the second is the mount point.
The third indicates that the CD-ROM to be mounted is in IS09660 format
with Rockridge extension.
Attention: Perform Steps 2-5 as the root
user.
- Run
the following file:
# nohup
/usr/sbin/pfs_mountd &
- Run
the following file.
# nohup
/usr/sbin/pfsd &
- Insert the CD-ROM into the tray and run the following to mount
the CD-ROM:
#
/usr/sbin/pfs_mount /SD_CDROM
- Exit
the superuser account.
#
exit
- Change directories to /SD_CDROM where you can see a lower-case
listing of the directories and files on the CD-ROM. The mounted CD-ROM
should appear as another read-only file
system.
Start the Installer
The
Installer can be run in either Motif mode or character mode. To start
the Installer:
- Log
in as oracle user.
- cd
cdrom_ mount_point_directory/orainst.
- Start the Installer by entering ./orainst for character
mode, or ./orainst /m for Motif mode. If you are using Motif mode
make sure you set the DISPLAY to your current
workstation.
Warning: Do not run the Installer as the root
user. Top
of Page
Oracle for
10.20 or 11.0
Oracle has 2
separate versions of the same release to HP.
One for 10.20 and the other
for 11.0 Make sure you have the correct Oracle version for your HP
version.
If the cdrom doesn?t say
10.20 or 11.0, then it was meant to be used on 10.20. If the cdrom
says HP 11.0, it is for HP 11.0
For part numbers , please
look on http://platforms.oracle.com/
Top
of Page
Installer Terminates Without Errors
Using Xterminal
Problem
Description ------------------------------ OUI (Oracle Universal Installer)
terminates without any errors after selecting the type of install or
clicking on install.
Client is using an HP
Xterminal
Solution
Description ----------------------------- This will happen when the XServer
memory is topped out. The HP Xterminal will work with the
installer, however, it can only handle a small number of Xwindow
panes.
Close Down some of the open
windows that are not required and retry the installation.
Quick Start Guides:
HP/UX - Oracle 8i
installation
PURPOSE ========
This document is designed to
be a quick reference that can be used when installing Oracle 8.1.x on the HP/UX
platform. It is NOT designed to take the
place of the installation
guide. Please refer to the Installation and Configuration Guide,
ICG, for additional information on any of the steps listed
below.
OVERVIEW
=========
Quick and easy steps for
installing Oracle 8.1.x on HP/UX.
Each step should be done in
the order that it is listed. These steps are
the bare minimum that is necessary for a typical install of the
product.
Pre-requisite Requirements
for System Administrator:
For assistance with system
administration issues please contact your system
administrator or Operating
System, O/S, vendor.
Steps required as the Root
User (login as root to perform each of these items):
- Configure System
Resources:
Ensure that the system has at least the following
resources:
- 400 MB in
/tmp
- 256 MB of Physical
Memory (RAM)
- Three times the amount
of Physical Memory for Swap space
(unless the system exceeds 1 GB
of Physical Memory, in this case two times the amount of Swap space
is sufficient)
- Create a Software Owner
and Group:
Create a Unix user and group that will own the Oracle software
(oracle = user, dba = group)
- Use SAM (HP System
Administration Manager) to perform this step. This user must
be local to the machine.
- Create a Software Mount
Point and DataFile Mount Points:
Create a mount point for
the Oracle software installation (at least 1.2 GB, typically
/u01).
Create a second, third and
fourth mount point for the database files, control files, etc. to be
created, (typically /u02, /u03, /u04).
- Oracle should own these
mount points and all files below this directory.
- Test the
Permissions:
Ensure the oracle user can write to the new mount
points:
- cd to each of the new
mount point directories as the oracle user and create a file or
directory as a test.
- Configure Kernel
Resources:
Use SAM to modify the following kernel parameters (this is the
bare minimum recommnedation required).
- shmmax=1073741824 or
0X40000000
- shmmni=100
- shmseg=10
- semmns=500
- semmni=70
Note:
If installing 64-bit Oracle, also increase the kernel parameter
MAXDSIZ to 250M or higher in order to prevent an 'out of process
memory' error during relinking.
- Reboot
System:
After modifications are made to the parameters, you must
rebuild the kernel and reboot the system for the new values to
take affect.
- Mount
CD-ROM:
Note: The PFS Mount utility uses some aspects of
NFS. Please be sure the rpc.lockd and rpc.statd processes are
running. This applies to HP 10.20 and HP 11.00. If they
are not running before using PFS, the Installer will hang and require
an OS reboot to kill the porcess.
Mount the Oracle 8.1.x
CD-ROM using the PFS Mount utility:
- Make sure that the file
/etc/pfs_fstab has an entry as such:
/dev/dsk/c5t2d0 /SD_CDROM
pfs-rrip xlat=unix 0 0 The first entry is the CD-ROM
device file; the second is the mount point. The third indicates
that the CD-ROM to be mounted is in IS09660 format with Rockridge
extension.
- Insert the CD-ROM into
the tray and run the following to mount the CD-ROM:
# nohup
/usr/sbin/pfs_mountd & # nohup /usr/sbin/pfsd
& #
/usr/sbin/pfs_mount /SD_CDROM
INSTALLATION
STEPS ==================
Steps required to be
performed as the Oracle Unix user.
Set up the
Environment Variables: Set the following environment
variables in the .profile or .login file of the oracle account,
(whichever file you use when logging in), before starting the
Installer.
The values in the examples
are assuming that your software mount point is /u01 and you are
installing 8.1.5.
Parameter |
Value |
ORACLE_HOME |
/u01/app/oracle/product/8.1.5 |
ORACLE_BASE |
/u01/app/oracle |
SHLIB_PATH |
/u01/app/oracle/product/8.1.5/lib:/usr/lib |
ORACLE_TERM |
vt100 |
PATH |
/u01/app/oracle/product/8.1.5/bin:/usr/ccs/bin:
and whatever else
you want to have set follows these two items in the
PATH |
ORACLE_SID |
Set this to
what you will call your database instance. (Typically 4 to 6
character length) |
DISPLAY |
<ip-address>:0.0 |
ENSURE THAT CLASS_PATH IS NOT SET IN THE ENVIORNMENT
- Set the
umask:
Set
the oracle user's umask to 022 in your .login or .profile
file. Verify the Environment: Log off and logon as the Oracle
user to ensure all environment settings are present.
Type env at the Unix
prompt to view all the environment variables.
Once you can run a xclock,
you should be able to run the Oracle Universal
Installer.
- Start the Installer and
Install the Oracle Software:
Change directories to the CD-ROM
and start the installer.
cd
/cdrom/cdrom0 ./runInstaller
will start the Oracle Universal Installer
- Verify that the
Destination listed for File Location is your
ORACLE_HOME.
Note: If this is the first installation of Oracle 8i on
this
machine, you will be prompted to run the script,
/tmp/orainstRoot.sh, before proceeding.
It creates a pointer file to the oraInventory
directory
location.
- Select "Enterprise
Edition" for the Install Category.
- Select Typical to
install the software, create a database and start the database
(Other selections are available for minimal or custom
installs).
- The install will
begin.
- Follow instructions
regarding runnin root.sh and other prompts.
- When completed, the
install will have created a default database, configured a Listener
and started both for you.
Top
of Page
8.1.6:
Error in getting current working
directory
Problem
Description ===================
While installing
Oracle 8.1.6 on HP/UX 11.0, you get the following errors
in the
"installActions.log":
exception thrown from
action: make Exception Name: GetDirException Exception String: Error in getting
current working directory Exception Severity:
1 ***
Cancel Dialog: *** User selected: Stop installation of
all products.
Solution
Description ==================== You are running out of space in the
/tmp directory. The Installer uses between 150-250 MB of temp space to
relink the product executables. The Installer copies files to "/tmp".
The "ar" and "as" commands also use temp when relinking. By increasing
temp space, the relink of product executables should complete
successfully. Note: A manual relink of executables requires less temp
than the Installer.
Increase the amount of free
space available in the /tmp directory. The Installer uses between 150-250 MB
of /tmp space for holding temporary files.
Top
of
Page
RunInstaller Fails with: Unable to
Initialize Java Error
Problem
Description ------------------------------ You are attempting to install version
8.1.6 on HP 11.0 and recieve the following error when trying to bring up the
installer:
./runInstaller
Initializing Java Virtual
Machine from ../stage/Components/oracle.swd.
jre/1.1.8.0.1/1/DataFiles/Expanded/jre/hpunix/bin/jre. Please
wait...
Program exit: Unable to
initialize Java runtime If running java or jre: Check that the required
patches are installed If libjava.sl dynamically loaded from a C or C++
program: Ensure that main is linked with -llwp and check that the
required patches are installed.
Solution
Description -----------------------------
You need to verify that all
the HP patches required for an Oracle 8.1.6 Install have been applied to the
box:
Required patches are listed
in the 8.1.6 Release Notes for HP:
The following patches are
required to install Oracle8i Release 2 (8.1.6) on
HP-UX 11.0:
* Patch bundle
9905 * PHCO_17556 * PHCO_17792 (Dependency
for PHKL_18543) * PHCO_18229 *
PHCO_19491 * PHCO_19666 *
PHKL_14750 * PHKL_17038 (Dependency for
PHKL_18543) * PHKL_18543 * PHKL_19800 (Dependency
for PHKL_18543) * PHKL_20016 * PHKL_20079 (Dependency
for PHKL_18543) * PHNE_19616 (Dependency for
PHSS_19748) * PHSS_14582 *
PHSS_15853 * PHSS_16849 *
PHSS_17535 * PHSS_18066 *
PHSS_18110 * PHSS_18430 (Dependency for
PHSS_19748) * PHSS_18649 *
PHSS_19178 * PHSS_19593 *
PHSS_19178 * PHSS_19748 *
PHSS_19866 * PHSS_20544 Without the required patches
installed the runInstaller will fail to execute
successfully.
Top
of
Page
Typical
install does not install database
Problem
Description ------------------- After performing a typical
installation of Management Infrastructure (OID) on the HP platform the
database does not seem to have been installed. Root.sh has been
executed and the listener is up and running. The system
configuration files have been updated and all the HP patch sets have
been applied, per the 8.1.6 release notes.
Solution
------------
The database is not
installed is because the postcfg.sh script has not been executed
yet. This script is located in the $ORACLE_HOME/ldap/postcfg
directory and can be run as oracle.
Unlike the installation on
Solaris and Windows NT, where once the typical installation is complete
the database and OID are both installed. Then post install task needs to be
done such as running root.sh and appending the
init<sid>.ora.
Top
of Page
|