Following requirements needs to be met for a successful installation of the new release 9.2.0.4 (a 3 CD set which includes the base release
and all fixes from prior patchsets including 9.2.0.4) on Red Hat Enterprise Linux AS/ES 4.0 (RHEL4) on platform Linux x86 .
You can download the 9.2.0.4 from following URL. But you require a valid OTN account for download.
http://www.oracle.com/technology/software/products/oracle9i/index.html
SCOPE & APPLICATION
-------------------
This procedure is meant for Oracle DBA and to person willing to install Oracle on Redhat 4.0
Requirements for Installing Oracle 9iR2 on RHEL4
------------------------------------------------
1. Software:
========
* Required OS Components
- compat-db-4.1.25-9
- compat-gcc-32-3.2.3-47.3
- compat-gcc-32-c++-3.2.3-47.3
- compat-oracle-rhel4-1.0-3
- compat-libcwait-2.0-1
- compat-libgcc-296-2.96-132.7.2
- compat-libstdc++-296-2.96-132.7.2
- compat-libstdc++-33-3.2.3-47.3
- gcc-3.4.3-9.EL4
- gcc-c++-3.4.3-9.EL4
- gnome-libs-1.4.1.2.90-44
- gnome-libs-devel-1.4.1.2.90-44
- libaio-devel-0.3.102-1
- libaio-0.3.102-1
- make-3.80-5
- openmotif21-2.1.30-11
- xorg-x11-deprecated-libs-devel-6.8.1-23.EL
- xorg-x11-deprecated-libs-6.8.1-23.EL
The compat-oracle-rhel4-1.0-3 and compat-libcwait-2.0-1 packages are available from Oracle Metalink Patch 4198954.
While installing the patch you might receive the warning. It is a normal behaviour.
rpm -ivh compat-libcwait-2.0-2.i386.rpm
Preparing... ########################################### [100%]
cat: /etc/ld.so.preload: No such file or directory
1:compat-libcwait ########################################### [100%]
You can recieve following error at the time of linking the binaries if any of the above packages are missed.
/usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4' collect2: ld returned 1 exit status
2. Environment:
============
* Required Environment Variable
- LD_ASSUME_KERNEL=2.4.19
* Modify your kernel settings in /etc/sysctl.conf (RedHat) as follows:
kernel.hostname = yourhost.yourdomain.com #<--- full qualified hostname !!
kernel.domainname = yourdomain #<--- correct domain name !!
fs.file-max = 327679
* Required kernel parameters
- SEMMNI 100 Defines the maximum number of semaphore sets in the entire system.
- SEMMNS 256 Defines the maximum semaphores on the system.
This setting is a minimum recommended value, for initial installation only.
The SEMMNS parameter should be set to the sum of the PROCESSES parameter
for each Oracle database, adding the largest one twice, and then adding
an additional 10 for each database.
- SEMOPM 100 Defines the maximum number of operations for each semop call.
- SEMMSL 100 Defines the minimum recommended value, for initial installation only.
- SHMMAX Set this parameter to half the size of physical RAM available on your system.
This value cannot exceed 4294967295
- SHMMNI 100 Defines the maximum number of shared memory segments in the entire system.
- SHMALL 2097152 Defines the maximum total shared memory system wide.
* Hostname command should return the fully qualified hostname as shown
below:
% hostname
hostname.domainname
* If any Java packages are installed on the system, unset the Java
environment variables, for example JAVA_HOME.
* The oracle account used to install Oracle 9.2.0.1, should not have
the Oracle install related variables set by default.
For example setting ORACLE_HOME, PATH, LD_LIBRARY_PATH to include
Oracle binaries in .profile, .login file and /etc/profile.d should
be completely avoided.
3. Now You are ready to invoke your Oracle Universal Installer.
ADDITIONAL NOTES
----------------
Generic Information
-------------------
* After installing the Patch 4198954. Following errors can be encountered
During the shutdown of the server
---------------------------------
Unmounting file systems: umount2: Device or resource busy
umount: /usr: device is busy
umount2: Device or resource busy
umount: /usr: device is busy
During the startup of the server
---------------------------------
ERROR: ld.so: object '/usr/lib/libcwait.so' from /etc/ld.so.preload cannot be
preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libcwait.so' from /etc/ld.so.preload cannot be
preloaded: ignored.
Setting clock (localtime): Mon Jun 13 08:32:36 EEST 2005 ERROR: ld.so:
object '/usr/lib/libcwait.so' from /etc/ld.so.preload cannot be preloaded:
ignored.
[ OK ]
Above error are only possible if the /usr has seperate mount point.
Workaround
----------
Move the libcwait.so library from /usr/lib to /lib
Modify the path in /etc/ld.so.preload.
% cat /etc/ld.so.preload
/usr/lib/libcwait.so ## Change this line to /lib/libcwait.so
After the changing the file should look like
% cat /etc/ld.so.preload
/lib/libcwait.so
This issue has been fixed
Please redownload the Patch 4198954 from the metalink site.
This issues was tracked in Bug 4435062 Abstract: Patch 4198954 RESULTS IN ERRORS DURING BOOT IF /USR IS OWN FILE SYSTEM
* To increase the SGA Address space on RedHat
Article-ID: Note 200266.1
Title: Increasing Usable Address Space for Oracle on 32-bit Linux
* During the linking phase you might recieve the error if you have installed the agent.
To overcome this problem. Please apply the Patch 3119415.
/u00/demo/demodb/9.2.0/network/lib/libnmi.a(snmite.o)(.text+0x1427): In function `snmitetn_tempName':
: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/u00/demo/demodb/9.2.0/network/lib/libnmi.a(nmijs.o)(.text+0x3571): In function `nmijsupper':
: undefined reference to `__ctype_b'
/u00/demo/demodb/9.2.0/network/lib/libnmi.a(snmifork.o)(.text+0x149): In function `snmifon2p_NameToPathname':
: undefined reference to `__ctype_b'
* To enable the Direct I/O support. Please read the note.
Article-ID: Note 297521.1
Title: DirectIO on Redhat and SuSe Linux
9.2.0.6.0 Related Notes
-----------------------
* Before installing the 9.2.0.6.0 patchset. You must download the Patch 4188455.
And the follow instruction from the README.txt of the patch.
If the above patch is not installed you will receive following errors
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be SuSE-7, redhat-2.1AS, redhat-2.1,
UnitedLinux-1.0, redhat-3 or SuSE-8
Failed <<<<
Exiting Oracle Universal Installer, log for this session can be found at /opt/oracle/oraInventory/logs/installActions2005-04-07_01-04-18PM.log
* After installing the 9.2.0.6.0 patchset. You should apply the Patch 4190568.
* For ASYNC-IO support on RHEL 4.0. Patch 3208258 is not required.
Because this issue has been fixed in Patch 4190568.
9.2.0.7.0 Related Notes
-----------------------
* To enable the ASYNC IO on the 9207. Please apply the Patch 4648194.
RELATED DOCUMENTS
-----------------
Oracle9i Release Notes Release 2 (9.2.0.4.0) for Linux x86 Part No. B13670-06
http://download-west.oracle.com/docs/html/B13670_06/toc.htm