Error installing Oracle on AIX 5.1 64 bit

Error installing Oracle on AIX 5.1 64 bit

Post by Big Dad » Thu, 29 Aug 2002 23:23:42



I am receiving an error while installing Oracle 8.1.7 on a p671 with
3 LPAR's.  While running the rootpre.sh I recieved the following
error.

Oracle Kernel Extension Loader for AIX
Copyright (c) 1998,1999 Oracle Corporation
Kernel Extension Version: 3
SYS_SINGLELOAD: Exec format error
kmid: 0 (0x0)
path: '/etc/pw-syscall'
libpath: ''

Configuring Asynchronous I/O...
Asynchronous I/O is already defined

  I've install the same software on other pseries AIX servers
without any issues.  

Does anyone have any suggestions???

Rodney

 
 
 

Error installing Oracle on AIX 5.1 64 bit

Post by Randy Peters » Fri, 30 Aug 2002 04:33:12



> I am receiving an error while installing Oracle 8.1.7 on a p671 with
> 3 LPAR's.  While running the rootpre.sh I recieved the following
> error.

> Oracle Kernel Extension Loader for AIX
> Copyright (c) 1998,1999 Oracle Corporation
> Kernel Extension Version: 3
> SYS_SINGLELOAD: Exec format error
> kmid: 0 (0x0)
> path: '/etc/pw-syscall'
> libpath: ''

> Configuring Asynchronous I/O...
> Asynchronous I/O is already defined

>   I've install the same software on other pseries AIX servers
> without any issues.  

> Does anyone have any suggestions???

> Rodney

What you are seeing is normally caused by one of two reasons.
1. if you are missing any libraries that are needed by the
kernel extension then it will report Exec format error. Check
using a tool like "ldd" to see that all required kernel modules
are loaded already. You can check using "nm" to determine if
you have some external references undefined. Check in the
directory /usr/lib/drivers for the various kernel *.ext s.
Look in /usr/lib for the *.exp files. See if the name of your
missing external references are in one of those files. If so
then make sure that they are loaded. Use the "genkex" utility
to see what kernel extensions are loaded.
2. make sure you have a 64 bit kernel and 64 bit kernel extension
modules. 32 and 64 bit components will not play together well.

Hope that this info helped.
Cheers
Randy Petersen

 
 
 

Error installing Oracle on AIX 5.1 64 bit

Post by Pierre HIRT » Fri, 30 Aug 2002 06:21:13


Look on the site : metalink.oracle.com there is a note about it :

You receive this error because AIX 5.1 introduces the option to run the AIX
kernel in 64-bit mode. This mode is not supported, as Oracle 8i uses at
least one 32-bit kernel extension.
Oracle 8.1.7 Server Enterprise Edition 32-bit cannot be loaded on an
AIX 5L 64-bit server.
The solution for this is that AIX-based systems must be booted with kernels
in 32-bit mode.
For further details on this please refer to the article:
Note:109843.1
Hope that helps.

The note is :
Note:109843.1
Subject:  AIX: Quick Start Guide - 8.1.X RDBMS Installation
Type:  BULLETIN
Status:  PUBLISHED
 Content Type:  TEXT/PLAIN
Creation Date:  23-MAY-2000
Last Revision Date:  05-AUG-2002

QUICK START GUIDE:
Oracle 8.1.x Installation Guide for AIX

PURPOSE
=======

This document is designed to be a quick reference that can be used when
installing Oracle 8.1.x on the AIX platform.  It is NOT designed to take the
place of the Installation Guide.  Please refer to the 'Oracle8i Installation
Guide Release x (8.1.x) for AIX-Based Systems' for additional information on
any
of the steps listed below.

OVERVIEW
========

Quick and easy steps for installing Oracle 8.1.x on AIX.

Each step should be done in the order that it is listed.  These steps are
the
bare minimum that is necessary for a typical installation of the 8i RDBMS.

Verification of Version Certification:
======================================

Steps required to verify the version of Oracle is certified with the version
of the Operating System.

1. Enter http://metalink.oracle.com into a web brower

2. Click button labeled "Certify & Availability"

3. Click button labeled "Certification"

4. Click link "View Certifications by Product"

5. Select "Oracle Server" ... Click Submit

6. Select "Oracle Server - Enterprise Edition" ... Click Submit

7. Select "IBM RS/6000 AIX" or "IBM SP AIX" ... Click Submit

8. Select the version of Oracle ... Click Submit

9. Check the column "Status" for Certification Status

10. Click link "Yes" in the column "Addtl. Info." for PatchSet information.

Pre-requisite Requirements for System Administrator:
====================================================

For a successful installation of Oracle Rdbms software, make sure to
meet the requirements below. You can check them manually or use the
convenient "Unix InstallPrep script" to generate a report of configuration
steps that you need to perform prior the installation. Please refer to
[NOTE:189256.1] Unix InstallPrep script

For assistance with system administration issues please contact your system
administrator or operating system vendor.

NOTE: As of 25-Oct-2001, the only version of Oracle8i certified for use on
AIX 5.1 is 32-bit 8.1.7, which requires that the AIX 5.1 system is booted in
32-bit kernel mode.  Booting the AIX 5.1 system in 64-bit kernel mode will
not
work with either 32-bit or 64-bit 8.1.7.

Steps required as the Root User (login as root to perform each of the
following
tasks):

1. 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, where two times the amount
of
         Physical Memory for Swap space is sufficient)

      * You may also redirect /tmp by setting the TEMP environment variable.
        This is only recommended in rare circumstances where /tmp cannot be
        expanded to meet free space requirements

2. Create a Software Owner and Group:

   Create a Unix user and group that will own the Oracle software
   (user = oracle, group = dba)

        Use the "smit mkuser" command to add a new user.

        Use the "smit mkgroup" command to add a new group.

        This user must be local to the machine.

3. 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, and log files to be created, (typically /u02, /u03, /u04).

        The oracle user should own these mount points and all of the
         directories below the mount point.

4. Test the Permissions:

   Ensure the oracle user can write to the new mount points

        As a test, change directories to each of the new mount point
         directories as the oracle user and create a file or directory.

         Example:

            % touch /u01/test

5. Ensure that AIO is configured at system restart:

       # lsdev -Cc aio

       Verify that the status shown is "Available".  If the status shown is
       "Defined", then change the "STATE to be configured at system restart"
       to "Available" after running the following command:

          # smit chaio

6. Ensure that the math library is installed on your system:

       # lslpp -l bos.adt.libm

       If this fileset is not installed and "COMMITTED", then you must
install
       it from the AIX operating system CD-ROM from IBM.  With the correct
       CD-ROM mounted, run the following command to start the process to
load
       the bos.adt.libm fileset:

          # smit install_latest

7. Mount CD-ROM:

   Mount the Oracle 8.1.x CD-ROM using the command:

       # mount -rv cdrfs /dev/cd0 /cdrom

8. Run the rootpre.sh script:

 # cd /cdrom
 # ./rootpre.sh

    NOTE: You must shutdown ALL Oracle instances (if any) before running the
          rootpre.sh script.  Do not run the rootpre.sh script if you have a
          newer version of an Oracle database already installed on this
system.

INSTALLATION STEPS
==================

Steps required to be performed as the Oracle user.

1. Set up the Environment Variables:

   Set the following environment variables in the .profile or .login file of
   the oracle user, (depending on the default shell for the oracle user),
before
   starting the Installer.

   The values in the examples are assuming that your software mount point is
   /u01 and you are installing 8.1.7.

            Parameter                 Value
            ----------               --------
            ORACLE_HOME         /u01/app/oracle/product/8.1.7

            ORACLE_BASE         /u01/app/oracle

            PATH
/u01/app/oracle/product/8.1.7/bin:/usr/ccs/bin:
                                /usr/bin/X11:
                                and whatever else you want to have set
follows
                                these three items in the PATH

            ORACLE_SID          Set this to what you will call your database
                                instance.
                                (Typically 4 characters in length)

            DISPLAY             <ip-address>:0.0

 If installing 8.1.5, you must set LINK_CNTRL:

     LINK_CNTRL   L_PTHREADS_D7

 If installing 8.1.6 or higher, ensure that LINK_CNTRL is not set.

            ENSURE THAT 'CLASS_PATH' AND 'EXTSHM' ARE NOT SET IN
        THE ENVIORNMENT

2. Set the umask:

      Set the oracle user's umask to 022 in your .login or .profile file.

3. 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.

     Before attempting to run the Oracle Universal Installer, verify that
you
     can successfully run the following command:

        % /usr/bin/X11/xclock

4.   Start the Oracle Universal Installer and install the Oracle software:

     Change directories to the CD-ROM and start the installer.

         cd /cdrom
         ./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.  This script
will
                     create the pointer file /etc/oraInst.loc which contains
                     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 running root.sh and other
prompts.

              When completed, the install will have created a default
database,
               configured a Listener and started both for you.

Note: If you are installing 8.1.7, depending on the products that are being
      installed, the installer may prompt you to "insert Oracle8i disk 2
      into your disk drive or supply an alternative location".

      You may get "Device busy" messages when attempting to unmount/eject
      the 1st cdrom of the product set, because on the session that started
      the installer the current working directory is the cdrom mount point.

      To overcome this problem:
        . Return to the session/window where the installer was launched.
        . Press the Return key once or twice to get the unix prompt.
        . Change directory to a location other than the cdrom mount point,
          for example 'cd /tmp'.
        . You should now be able to 'umount' the 1st cd-rom.

APPENDIX A
==========

Documentation is available from the following resources:

        You can find the "Oracle8i Installation Guide Release x (8.1.x) for
         AIX-based Systems" on:

            MetaLink - http://metalink.oracle.com

                Click on 'Technical Libraries' > 'Data Server'
                > 'System Administration and Platforms: UNIX'
                > 'Documentation' >
...

read more »

 
 
 

1. AIX 5.1 nfs cannot mount if booted in 64 bit mode?

I have a brand new pSeries 610 with AIX 5.1 (oslevel -r is 5100-01) and
I can mount filesystems from other machines via NFS fine if in 32 bit
mode. If I boot in 64 bit mode I get the following error upon attempting
a NFS mount:

nfsmnthelp: Cannot run a file that does not have a valid format.
exec(): 0509-036 Cannot load program /usr/lib/drivers/nfs_kdes.ext because of the following errors:
        0509-022 Cannot load module /usr/lib/drivers/nfs_kdes.ext.
        0509-124 The program is a discontinued 64-bit object file.

What is wrong here? Is there a file set I am missing or is there a PTF
that fixes this? Why do I need this kdes thing at all, I am not using
secure RPC. The server is a plain old AIX 4.1.5 machine.

--
Jens-Uwe Mager  <pgp-mailto:62CFDB25>

2. XWindows with Trident GUI9660 Chipset

3. Do some AIX servers require 64-bit Oracle?

4. Info on POSIX Thread library

5. 32 bits vs. 64 bits Oracle

6. ip-up.d and portforwarding

7. 32 bit oracle on Solaris 9 64 bits ?

8. Creator 3D and GDM-1962B

9. Apache 2.0.35-Solaris8(64 bit)-make install error- [exports.lo] Error 1

10. Is AIX 4.3 64 bit or 32 bit?

11. difference between 32 bit and 64 bit AIX server (new to unix)

12. 64 bit Unix (esp. 64 bit IO)

13. host mastered 64 bit wide transfers to 64 bit PCI slot?