分类: Oracle
2006-01-18 17:30:40
Oracle Database Version | Red Hat OS Version | Architecture | Comments |
---|---|---|---|
Oracle 10g R2 (10.2.0.1.0) New! |
Red Hat Enterprise Linux Advanced Server 4 Update 2 (RHEL AS 4 U2) |
x86-64 | See also |
Oracle 10g R2 (10.2.0.1.0) New! |
Red Hat Enterprise Linux Advanced Server 4 Update 2 (RHEL AS 4 U2) |
x86 | See also |
Oracle 10g R2 (10.2.0.1.0) |
Red Hat Enterprise Linux Advanced Server 3 Update 5 (RHEL AS 3 U5) |
x86 | See also |
Oracle 10g R1 (10.1.0.3) |
Red Hat Enterprise Linux Advanced Server 4 Update 1 (RHEL AS 4 U1) |
x86-64 | No certification projected for 10g R1 64-bit on RHEL AS 4 x86_64 at the time of this writing |
Oracle 10g R1 (10.1.0.3) |
Red Hat Enterprise Linux Advanced Server 4 (RHEL AS 4) |
x86 | See also |
Oracle 10g R1 (10.1.0.3) |
Red Hat Enterprise Linux Advanced Server 3 Update 5 (RHEL AS 3 U5) |
x86-64 | See also |
Oracle 10g R1 (10.1.0.3) |
Red Hat Enterprise Linux Advanced Server 3 Update 5 (RHEL AS 3 U5) |
x86 | See also |
Oracle 10g R1 (10.1.0.2) |
Red Hat Enterprise Linux Advanced Server 2.1 (RHEL AS 2.1) |
x86 | See also |
Oracle 10g R2 (10.2.0.1.0) |
Red Hat Fedora Core 4 (FC 4) |
x86 | Not supported |
Oracle 10g R1 (10.1.0.3) |
Red Hat Fedora Core 3 (FC 3) |
x86 | Not supported |
Oracle 10g R1 (10.1.0.2) |
Red Hat Fedora Core 3 (FC 3) |
x86 | Not supported |
Oracle 10g R1 (10.1.0.2) |
Red Hat Fedora Core 1 (FC 1) |
x86 | Not supported |
Oracle 10g R1 (10.1.0.2) |
Red Hat 9 (RH 9) |
x86 | Not supported |
cksum ship.db.lnx32.cpio.gzUncompress the downloaded file(s):
gunzip ship.db.lnx32.cpio.gzUnpack ship.db.lnx32.cpio:
$ cpio -idmv < ship.db.lnx32.cpioI executed the following command to burn the Disk1 directory on a CD:
Disk1/stage/Components/oracle.server/10.1.0.3.0/1
Disk1/stage/Components/oracle.server/10.1.0.3.0
Disk1/stage/Components/oracle.server
Disk1/stage/Components/oracle.tg/10.1.0.3.0/1/DataFiles
Disk1/stage/Components/oracle.tg/10.1.0.3.0/1
Disk1/stage/Components/oracle.tg/10.1.0.3.0
Disk1/stage/Components/oracle.tg
Disk1/stage/Components/oracle.assistants.dbca/10.1.0.3.0/1/DataFiles/doc.3.1.jar
Disk1/stage/Components/oracle.assistants.dbca/10.1.0.3.0/1/DataFiles/class.jar
...
# mkisofs -r Disk1 | cdrecord -v dev=0,0,0 speed=20 -(Drives' speed varies; you can get the dev numbers when you execute cdrecord -scanbus).
grep MemTotal /proc/meminfoTo check the size of swap space, execute:
grep SwapTotal /proc/meminfo
su - rootTo disable the temporary swap space execute the following commands:
dd if=/dev/zero of=tmpswap bs=1k count=900000
chmod 600 tmpswap
mkswap tmpswap
swapon tmpswap
su - root
swapoff tmpswap
rm tmpswap
binutils-2.15.92.0.2-10.EL4Also ensure to install the libaio-0.3.96 RPM or a newer version! Otherwise the OUI prerequisite check will fail.
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
# uname -miTo check the RPMs, run:
x86_64 x86_64
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' \It is important to have these x86_64 RPMs installed. The above command will list the architecture of each binary package. You will see that some RPMs are installed twice when you run this command (x86 RPM and x86_64 RPM). You need to ensure that all required x86-64 RPMs listed here are installed.
binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs \
libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio
binutils-2.15.92.0.2-10.EL4Also ensure to install the libaio-0.3.96 RPM or a newer version! Otherwise the OUI prerequisite check will fail.
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs \
libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio
make-3.79.1Also ensure to install the libaio-0.3.96-5 RPM or a newer version! Otherwise the OUI prerequisite check will fail.
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1
rpm -q make gcc glibc compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel openmotif21 setarch libaio
make-3.79.1To check if you are running the x86_64 kernel on a x86_64 platform, run:
gcc-3.2.3-34
glibc-2.3.2-95.20
glibc-devel-2.3.2-95.20
glibc-devel-2.3.2-95.20 (32 bit)
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
gnome-libs-1.4.1.2.90-34.1 (32 bit)
openmotif21-2.1.30-8
setarch-1.3-1
libaio-0.3.96-3
libaio-devel-0.3.96-3
# uname -miTo check the RPMs, run:
x86_64 x86_64
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' \It is important to have the right x86 and x86_64 RPMs installed. The above command will list the architecture of each binary package. And as you can see in the above list, glibc-devel and other RPMs are listed twice. This means that you have to install packages for both architectures, x86 and x86_64.
gcc glibc glibc-devel compat-db compat-gcc compat-gcc-c++ compat-libstdc++ \
compat-libstdc++-devel gnome-libs openmotif21 setarch libaio libaio-devel
make-3.79.1To check the RPMs, run:
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1
rpm -q make gcc glibc compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel openmotif21 setarch
make-3.79.1To check these RPMs, run:
glibc-2.2.4-32
gcc-2.96-128
gcc-c++-2.96-128
libstdc++-2.96-128
openmotif-2.1.30-11
rpm -q make glibc gcc gcc-c++ libstdc++ openmotif
rpm -q binutilsNOTE: OUI for x86 will also complain if the openmotif package is missing (don't confuse it with the openmotif21 package). Also, Red Hat changed the version naming schema from openmotif-2.2.2-16 in the original release to openmotif-2.2.3-5.RHEL3.2 in RHEL3 Update 5. This seems to confuse OUI in RHEL3 U5 since it complaining that it can't find the right openmotif version. I ignored this. The openmotif-2.2.3-5.RHEL3.2 is just a newer version of openmotif-2.2.2-16 which worked fine and I didn't have any problems. To check the RPM, run:
rpm -q openmotifAlso, make sure the redhat-release package is installed. Earlier versions of e.g. RHEL 3 didn't install it by default when you selected a minimum system installation:
rpm -q redhat-releaseThe setarch utility is new in RHEL4, RHEL3 and Fedora Core. It is used to tell the kernel to report a different architecture than the current one. It is also used to emulate a 3GB virtual address space for applications that don't run properly with a larger virtual address space. To check the RPM, run:
rpm -q setarch
rpm -Uvh gcc-3.4.4-2.x86_64.rpm \Note that you also need to install the following i386 and x86_64 RPMs if not already installed, otherwise you will get various different error messages.
gcc-c++-3.4.4-2.x86_64.rpm \
libstdc++-devel-3.4.4-2.x86_64.rpm \
cpp-3.4.4-2.x86_64.rpm \
glibc-devel-2.3.4-2.13.x86_64.rpm \
glibc-headers-2.3.4-2.13.x86_64.rpm \
glibc-kernheaders-2.4-9.1.98.EL.x86_64.rpm
rpm -Uvh gnome-libs-1.4.1.2.90-44.1.x86_64.rpm \
compat-db-4.1.25-9.x86_64.rpm \
ORBit-0.5.17-14.x86_64.rpm \
gtk+-1.2.10-33.x86_64.rpm \
imlib-1.9.13-23.x86_64.rpm \
libpng10-1.0.16-1.x86_64.rpm \
gdk-pixbuf-0.22.0-16.el4.x86_64.rpm \
libungif-4.1.3-1.x86_64.rpm
rpm -Uvh sysstat-5.0.5-1.x86_64.rpm
rpm -Uvh xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm \
xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm \
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.20.i386.rpm \
expat-1.95.7-4.i386.rpm \
fontconfig-2.2.3-7.i386.rpm \
freetype-2.1.9-1.i386.rpm \
zlib-1.2.1.2-1.2.i386.rpm
rpm -Uvh libaio-0.3.103-3.x86_64.rpmAnd don't forget to install the binutils RPM from :
rpm -Uvh compat-libstdc++-33-3.2.3-47.3.x86_64.rpm
rpm -Uvh glibc-devel-2.3.4-2.13.i386.rpm \
libgcc-3.4.4-2.i386.rpm
rpm -Uvh --force binutils-2.15.92.0.2-13.0.0.0.2.x86_64.rpmIf you don't install the binutil RPM from Oracle, then you will get the following error message:
/usr/bin/ld: /u01/app/oracle/oracle/product/10.2.0/db_1/lib//libirc.a(fast_memcpy.o):For more information on this bug, see .
relocation R_X86_64_PC32 against `_memcpy_mem_ops_method' can not be usedwhen making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
rpm -Uvh control-center-2.8.0-12.rhel4.2.x86_64.rpm \
xscreensaver-4.18-5.rhel4.9.x86_64.rpm \
eel2-2.8.1-2.x86_64.rpm \
gail-1.8.0-2.x86_64.rpm \
gnome-desktop-2.8.0-5.x86_64.rpm \
gnome-icon-theme-2.8.0-1.el4.1.3.noarch.rpm \
libgail-gnome-1.1.0-1.x86_64.rpm \
libxklavier-1.02-3.x86_64.rpm \
metacity-2.8.6-2.8.x86_64.rpm \
nautilus-2.8.1-4.x86_64.rpm \
startup-notification-0.7-1.x86_64.rpm \
xloadimage-4.1-34.RHEL4.x86_64.rpm \
xorg-x11-Mesa-libGLU-6.8.2-1.EL.13.20.x86_64.rpm \
at-spi-1.6.0-3.x86_64.rpm \
desktop-backgrounds-basic-2.0-26.2.1E.noarch.rpm \
eog-2.8.1-2.x86_64.rpm \
gnome-panel-2.8.1-3.3E.x86_64.rpm \
gnome-vfs2-smb-2.8.2-8.2.x86_64.rpm \
hicolor-icon-theme-0.3-3.noarch.rpm \
libexif-0.5.12-5.1.x86_64.rpm \
librsvg2-2.8.1-1.x86_64.rpm \
nautilus-cd-burner-2.8.3-6.x86_64.rpm \
redhat-artwork-0.120.1-1.2E.x86_64.rpm \
scrollkeeper-0.3.14-3.x86_64.rpm \
cdrecord-2.01.1-5.x86_64.rpm \
docbook-dtds-1.0-25.noarch.rpm \
evolution-data-server-1.0.2-9.x86_64.rpm \
intltool-0.31.2-1.x86_64.rpm \
libcroco-0.6.0-4.x86_64.rpm \
libgnomeprint22-2.8.0-3.x86_64.rpm \
libgnomeprintui22-2.8.0-1.x86_64.rpm \
libgsf-1.10.1-1.x86_64.rpm \
libwnck-2.8.1-1.rhel4.1.x86_64.rpm \
mkisofs-2.01.1-5.x86_64.rpm \
samba-common-3.0.10-1.4E.2.x86_64.rpm \
ghostscript-7.07-33.x86_64.rpm \
ghostscript-fonts-5.50-13.noarch.rpm \
gnutls-1.0.20-3.2.1.x86_64.rpm \
libgnomecups-0.1.12-5.x86_64.rpm \
libsoup-2.2.1-2.x86_64.rpm \
openjade-1.3.2-14.x86_64.rpm \
perl-XML-Parser-2.34-5.x86_64.rpm \
sgml-common-0.6.3-17.noarch.rpm \
urw-fonts-2.2-6.1.noarch.rpm \
xml-common-0.6.3-17.noarch.rpm \
VFlib2-2.25.6-25.x86_64.rpm \
chkfontpath-1.10.0-2.x86_64.rpm \
perl-URI-1.30-4.noarch.rpm \
perl-libwww-perl-5.79-5.noarch.rpm \
xorg-x11-font-utils-6.8.2-1.EL.13.20.x86_64.rpm \
perl-HTML-Parser-3.35-6.x86_64.rpm \
xorg-x11-xfs-6.8.2-1.EL.13.20.x86_64.rpm \
perl-HTML-Tagset-3.03-30.noarch.rpm \
ttmkfdir-3.0.9-14.1.EL.x86_64.rpm
rpm -Uvh gcc-3.4.4-2.i386.rpm \I don't know why the control-center RPM and the xscreensaver RPM are listed as requirements. On my system I did not install these RPMs since I'm against installing desktop stuff on servers. When I installed 10g R2 I did not experience any problems when these RPMs were missing. When you want to install control-center RPM and the xscreensaver, then have fun. The list can be very long with all the dependencies like gnome-desktop, cdrecord etc..
gcc-c++-3.4.4-2.i386.rpm \
libstdc++-devel-3.4.4-2.i386.rpm \
glibc-devel-2.3.4-2.13.i386.rpm \
glibc-headers-2.3.4-2.13.i386.rpm \
glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
rpm -Uvh gnome-libs-1.4.1.2.90-44.1.i386.rpm \
compat-db-4.1.25-9.i386.rpm \
ORBit-0.5.17-14.i386.rpm \
gtk+-1.2.10-33.i386.rpm \
imlib-1.9.13-23.i386.rpm \
libpng10-1.0.16-1.i386.rpm \
gdk-pixbuf-0.22.0-16.el4.i386.rpm \
libungif-4.1.3-1.i386.rpm \
alsa-lib-1.0.6-5.RHEL4.i386.rpm \
audiofile-0.2.6-1.i386.rpm \
esound-0.2.35-2.i386.rpm
rpm -Uvh sysstat-5.0.5-1.i386.rpm
rpm -Uvh libaio-0.3.103-3.i386.rpm
rpm -Uvh xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm
rpm -Uvh compat-libstdc++-33-3.2.3-47.3.i386.rpm
rpm -Uvh gcc-3.4.3-22.1.x86_64.rpm \You will get various different error messages during the installation if not all of these RPMs are installed on your system for 10g R1 64-bit.
cpp-3.4.3-22.1.x86_64.rpm \
glibc-devel-2.3.4-2.9.x86_64.rpm \
glibc-headers-2.3.4-2.9.x86_64.rpm \
glibc-kernheaders-2.4-9.1.87.x86_64.rpm
rpm -Uvh glibc-devel-2.3.4-2.9.i386.rpm
rpm -Uvh openmotif-2.2.3-9.RHEL4.1.x86_64.rpm \
xorg-x11-deprecated-libs-6.8.2-1.EL.13.6.x86_64.rpm
rpm -Uvh xorg-x11-deprecated-libs-6.8.2-1.EL.13.6.i386.rpm \
xorg-x11-libs-6.8.2-1.EL.13.6.i386.rpm \
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.6.i386.rpm \
expat-1.95.7-4.i386.rpm fontconfig-2.2.3-7.i386.rpm \
freetype-2.1.9-1.i386.rpm zlib-1.2.1.2-1.i386.rpm
rpm -Uvh libgcc-3.4.3-22.1.i386.rpm
rpm -Uvh gcc-3.4.3-9.EL4.i386.rpm \Note that the 10g 10.1.0.3 OUI Product-specific Prerequisite check will fail for the gcc, binutils, and openmotif versions. You can ignore these failed checks and proceed.
glibc-devel-2.3.4-2.i386.rpm \
glibc-headers-2.3.4-2.i386.rpm \
glibc-kernheaders-2.4-9.1.87.i386.rpm
rpm -Uvh openmotif-2.2.3-6.RHEL4.2.i386.rpm \
xorg-x11-deprecated-libs-6.8.1-23.EL.i386.rpm
rpm -Uvh gcc-3.2.3-52.i386.rpm \
cpp-3.2.3-52.i386.rpm \
glibc-devel-2.3.2-95.33.i386.rpm \
glibc-headers-2.3.2-95.33.i386.rpm \
glibc-kernheaders-2.4-8.34.1.i386.rpm
rpm -Uvh compat-db-4.0.14-5.1.i386.rpm \
compat-gcc-7.3-2.96.128.i386.rpm \
compat-gcc-c++-7.3-2.96.128.i386.rpm \
compat-libstdc++-7.3-2.96.128.i386.rpm \
compat-libstdc++-devel-7.3-2.96.128.i386.rpm \
tcl-8.3.5-92.2.i386.rpm
rpm -Uvh libaio-0.3.96-5.i386.rpm
rpm -Uvh openmotif21-2.1.30-9.RHEL3.6.i386.rpm
rpm -Uvh openmotif-2.2.3-5.RHEL3.2.i386.rpm
rpm -Uvh gcc-3.2.3-52.x86_64.rpm \Make sure to use the right i386 and x86_64 RPMs as listed above!
cpp-3.2.3-52.x86_64.rpm \
glibc-devel-2.3.2-95.33.x86_64.rpm \
glibc-headers-2.3.2-95.33.x86_64.rpm \
glibc-kernheaders-2.4-8.34.1.x86_64.rpm
rpm -Uvh glibc-devel-2.3.2-95.33.i386.rpm
rpm -Uvh compat-db-4.0.14-5.1.x86_64.rpm \
compat-gcc-7.3-2.96.128.i386.rpm \
compat-gcc-c++-7.3-2.96.128.i386.rpm \
compat-libstdc++-7.3-2.96.128.i386.rpm \
compat-libstdc++-devel-7.3-2.96.128.i386.rpm \
tcl-8.3.5-92.2.x86_64.rpm \
libgcc-3.2.3-52.i386.rpm
rpm -Uvh libaio-0.3.96-5.x86_64.rpm \
libaio-devel-0.3.96-5.x86_64.rpm
# RHEL AS 3 x86_64 U5 does not come with a i386 gnome-libs RPM
rpm -Uvh gnome-libs-1.4.1.2.90-34.2.x86_64.rpm \
ORBit-0.5.17-10.4.x86_64.rpm \
audiofile-0.2.3-7.1.x86_64.rpm \
esound-0.2.28-6.x86_64.rpm \
gtk+-1.2.10-31.x86_64.rpm \
imlib-1.9.13-13.4.x86_64.rpm \
gdk-pixbuf-0.22.0-12.el3.x86_64.rpm \
libpng10-1.0.13-15.x86_64.rpm \
libungif-4.1.0-15.x86_64.rpm
# RHEL AS 3 x86_64 U5 does not come with a x86_64 openmotif21 RPM
rpm -Uvh openmotif21-2.1.30-9.RHEL3.6.i386.rpm \
XFree86-libs-4.3.0-81.EL.i386.rpm \
XFree86-Mesa-libGL-4.3.0-81.EL.i386.rpm \
expat-1.95.5-6.i386.rpm \
fontconfig-2.2.1-13.i386.rpm \
freetype-2.1.4-4.0.i386.rpm \
zlib-1.1.4-8.1.i386.rpm
/tmp/OraInstall2005-06-15_07-36-25AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directoryFor more information, see .
rpm -Uvh glibc-2.2.4-32.11.i686.rpm \I had to upgrade glibc in order to pass Oracle's "Product-specific Prerequisite" checks. Oracle's recommended glibc version is 2.2.4.31.7 or higher.
glibc-common-2.2.4-32.11.i386.rpm
rpm -Uvh gcc-2.96-108.1.i386.rpm \
binutils-2.11.90.0.8-12.i386.rpm \
cpp-2.96-108.1.i386.rpm \
glibc-devel-2.2.4-32.11.i386.rpm \
kernel-headers-2.4.9-e.3.i386.rpm
rpm -Uvh openmotif-2.1.30-11.i386.rpm
rpm -Uvh redhat-release-as-2.1AS-4.noarch.rpm
rpm -Uvh gcc-4.0.0-8.i386.rpm \NOTE: I also had to patch the SELinux policy by upgrading the selinux-policy-targeted RPM. You can download the latest version from . If you don't upgrade to a newer version you will get the following error:
cpp-4.0.0-8.i386.rpm \
glibc-devel-2.3.5-10.i386.rpm \
glibc-headers-2.3.5-10.i386.rpm \
glibc-kernheaders-2.4-9.1.94.i386.rpm
rpm -Uvh compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
rpm -Uvh openmotif-2.2.3-10.i386.rpm \
xorg-x11-deprecated-libs-6.8.2-31.i386.rpm
rpm -Uvh openmotif21-2.1.30-14.i386.rpm
rpm -Uvh libaio-0.3.104-2.i386.rpm
rpm -Uvh selinux-policy-targeted-1.25.2-4.noarch.rpm
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-07-24_09-03-19AM/jre/1.4.2/lib/i386/libawt.so:You could also disable SELinux which I don't recommend. For more information, see .
/tmp/OraInstall2005-07-24_09-03-19AM/jre/1.4.2/lib/i386/libawt.so: cannot restore segment prot after reloc: Permission denied
rpm -Uvh gcc-3.4.2-6.fc3.i386.rpm \The gcc version that comes with FC3 will not pass Oracle's "Product-specific Prerequisite" checks. I ignored this warning on FC3.
cpp-3.4.2-6.fc3.i386.rpm \
glibc-devel-2.3.3-74.i386.rpm \
glibc-headers-2.3.3-74.i386.rpm \
glibc-kernheaders-2.4-9.1.87.i386.rpm
rpm -Uvh openmotif-2.2.3-6.i386.rpm \
xorg-x11-deprecated-libs-6.8.1-12.i386.rpm
rpm -Uvh openmotif21-2.1.30-11.i386.rpm
rpm -Uvh setarch-1.6-1.i386.rpm
rpm -Uvh gcc-3.3.2-1.i386.rpm \FC1 is not supported by Oracle and you will have a hard time to find the right RPM version for Oracle10g. I tried to use the RPMs that came with the FC1 CDs which are easily available to everyone. I did not had any problems installing an Oracle Database 10g (General Purpose Database) on FC1 with these RPMs.
glibc-devel-2.3.2-101.i386.rpm \
cpp-3.3.2-1.i386.rpm \
glibc-headers-2.3.2-101.i386.rpm \
glibc-kernheaders-2.4-8.36.i386.rpm \
binutils-2.14.90.0.6-3.i386.rpm
rpm -Uvh openmotif-2.2.2-16.1.i386.rpm
rpm -Uvh setarch-1.0-1.i386.rpm
rpm -Uvh openmotif-2.2.2-14.i386.rpmThere is no setarch RPM for RH9. RH9 is not supported by Oracle.
rpm -Uvh gcc-3.2.2-5.i386.rpm \
glibc-devel-2.3.2-5.i386.rpm \
cpp-3.2.2-5.i386.rpm \
glibc-kernheaders-2.4-8.10.i386.rpm \
binutils-2.13.90.0.18-9.i386.rpm
shmmax = 2147483648 (To verify, execute: cat /proc/sys/kernel/shmmax)Adding these lines to the /etc/sysctl.conf file will cause the system to change these kernel parameters after each boot using the /etc/rc.d/rc.sysinit script which is invoked by /etc/inittab. But in order that these new added lines or settings in /etc/sysctl.conf become effective immediately, execute the following command: .
shmmni = 4096 (To verify, execute: cat /proc/sys/kernel/shmmni)
shmall = 2097152 (To verify, execute: cat /proc/sys/kernel/shmall) (for 10g R1)
shmmin = 1 (To verify, execute: ipcs -lm |grep "min seg size")
shmseg = 10 (It's hardcoded in the kernel - the default is much higher)
semmsl = 250 (To verify, execute: cat /proc/sys/kernel/sem | awk '{print $1}')
semmns = 32000 (To verify, execute: cat /proc/sys/kernel/sem | awk '{print $2}')
semopm = 100 (To verify, execute: cat /proc/sys/kernel/sem | awk '{print $3}')
semmni = 128 (To verify, execute: cat /proc/sys/kernel/sem | awk '{print $4}')
file-max = 65536 (To verify, execute: cat /proc/sys/fs/file-max)
ip_local_port_range = 1024 65000
(To verify, execute: cat /proc/sys/net/ipv4/ip_local_port_range)
nofile = 65536 (To verify, execute: ulimit -n)The nofile option denotes the maximum number of open file descriptors, and nproc denotes the maximum number of processes available to a single user.
nproc = 16384 (To verify, execute: ulimit -u)
/u01/app/oracle/product/10.1.0/db_1If you would install a second Oracle 10g Database 10g (10.1.0) on the same system, the Oracle home directory would be as follows:
/u01/app/oracle/product/10.1.0/db_2If the Oracle10g software is not owned by the user oracle but by the user "oraowner", then the path of the Oracle home directory would be:
/u01/app/oraowner/product/10.1.0/db_1The standard directory name for Oracle10g is "app":
/u01/app/oraowner/product/10.1.0/db_2
/u01/app/oracle/product/10.1.0/db_1Oracle recommends to use mount points such as /u01, /u02, etc. which complies with the OFA guidelines. But others can be used, for example:
/disk_1/app/oracle/product/10.1.0/db_1The subtree for database files not stored in ASM disk groups should be named as follows:
/u02/oradata/<db_name_1>The mount point /u01 should be used for the Oracle software only. /u02, /u03, /u04 etc. should be used for the database files. The db_name stands for the DB_NAME initialization parameter which is typically the same as the SID name for single instance databases.
/u02/oradata/<db_name_2>
/u03/oradata/<db_name_1>
/u03/oradata/<db_name_2>
su - oracleTo execute runInstaller from the mounted CD, run the following command as the oracle user:
oracle$ set
oracle$ /mnt/cdrom/runInstallerOn RHEL AS 4, RHEL AS 3, and FC3 run the following command:
oracle$ /media/cdrom/runInstaller
.
Note that the "Retry" button doesn't work after you fixed one of the failed checks.
Click Next
- Select Database Configuration:
I selected "General Purpose".
Click Next
- Specify Database Configuration Options:
- Global Database Name: I used "orcl".
- SID: I used "orcl".
Click Next
- Select Database Management Option:
I selected "Use Database Control for Database Management".
Click Next
- Specify Database File Storage Option:
I selected "File System".
- File System
- Specify Database file location: /u01/app/oracle/oradata/
If you want to comply with OFA, you might want to select another mount point
than '/u01', e.g. /u02/oradata.
Click Next
- Specify Backup and Recovery Options:
For my test installation I selected "Do no enable Automated Backups".
Click Next
- Specify Database Schema Passwords:
Make sure that the password(s) don't start with a digit number! Otherwise you
will later get error message(s) like "ORA-00988 missing or invalid password".
Click Next
- Summary: Click Install
If Enterprise manager configuration fails due to port allocation problems,
check out .
When a window pops up to run the root.sh script, execute the script
in another terminal as root:
su - root
# /u01/app/oracle/product/10.1.0/db_1/root.sh
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/10.1.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
\nCreating /etc/oratab file...
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/var/opt/oracle does not exist. Creating it now.
/etc/oracle does not exist. Creating it now.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Oracle Cluster Registry for cluster has been initialized
Adding to inittab
Checking the status of Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
mars
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
#
Click OK
- End of Installation:
Click Exit
Checking for gcc-2.96; found Not found. Failed <<<<
Checking for openmotif-2.1.30-11; found Not found. Failed <<
Checking for shmmax=2147483648; found shmmax=33554432. Failed <<<<
Checking for semopm=100; found semopm=32. Failed <<<<
Checking for filemax=65536; found filemax=26163. Failed <<<<
ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory or ORA-01034: ORACLE not available
ORA-00988 missing or invalid password(s).
oracle$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib
X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown).
$ ssh -X oracle@oracle_remote_server_nameNow when you try to run any GUI tool on the remote server, it will automatically be relinked to your local desktop. If this is not working, verify that the ForwardX11 setting is not set to "no" in /etc/ssh/ssh_config on your remote server:
su - root # grep ForwardX11 /etc/ssh/ssh_config | grep -v "^#" ForwardX11 yes #NOTE: If you use for example Red Hat Fedora Core 3 as your desktop and you want to install the database on another machine, then you need to set the DisallowTCP entry in /etc/X11/gdm/gdm.conf for the GNOME Display Manager to read:
DisallowTCP=falseAfter that you need to restart your X server. I usually do this with the init command:
su - root init 3 init 5If you are using telnet, however, you will have to set DISPLAY manually, see my other article for more information.
$ which rman /usr/X11R6/bin/rman
ORA-00988 missing or invalid password(s).
/tmp/OraInstall2005-06-15_07-36-25AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directoryOn my RHEL3 x86_64 system for 10g (10.1.0.3) I had to install the i386 XFree86-libs package (XFree86-libs-4.3.0-81.EL.i386.rpm). In order to satisfy dependencies for this i386 package, I had to install a few other i386 RPMs as well:
# rpm -ivh XFree86-libs-4.3.0-81.EL.i386.rpm \ XFree86-Mesa-libGL-4.3.0-81.EL.i386.rpm \ expat-1.95.5-6.i386.rpm \ fontconfig-2.2.1-13.i386.rpm \ freetype-2.1.4-4.0.i386.rpm \ zlib-1.1.4-8.1.i386.rpmOn my RHEL4 x86_64 U1 system for 10g (10.1.0.3) I had to install the i386 xorg-x11-deprecated-libs package (xorg-x11-deprecated-libs-6.8.2-1.EL.13.6.i386.rpm). In order to satisfy dependencies for this i386 package, I had to install a few other i386 RPMs as well:
# rpm -Uvh xorg-x11-deprecated-libs-6.8.2-1.EL.13.6.i386.rpm \ xorg-x11-libs-6.8.2-1.EL.13.6.i386.rpm \ xorg-x11-Mesa-libGL-6.8.2-1.EL.13.6.i386.rpm \ expat-1.95.7-4.i386.rpm \ fontconfig-2.2.3-7.i386.rpm \ freetype-2.1.9-1.i386.rpm \ zlib-1.2.1.2-1.i386.rpmOn my RHEL4 x86_64 U2 system for 10g R2 (10.2.0.1.0) I had to install the i386 xorg-x11-deprecated-libs package (xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm). In order to satisfy dependencies for this i386 package, I had to install a few other i386 RPMs as well:
rpm -Uvh xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm \ xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm \ xorg-x11-Mesa-libGL-6.8.2-1.EL.13.20.i386.rpm \ expat-1.95.7-4.i386.rpm \ fontconfig-2.2.3-7.i386.rpm \ freetype-2.1.9-1.i386.rpm \ zlib-1.2.1.2-1.2.i386.rpmOn my RHEL4 x86 U2 system for 10g R2 (10.2.0.1.0) I had to install the following RPM:
rpm -Uvh xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpmIf you get this error message on Fedora Core 3 x86, install the xorg-x11-deprecated-libs RPM. For example:
# rpm -Uvh xorg-x11-deprecated-libs-6.8.1-12.FC3.21After I installed these RPMs I had to restart the installation. If you know a more elegant way to continue, please drop me an email.
# rpm -Uvh glibc-devel-2.3.4-2.9.i386.rpmOn my RHEL4 U2 x86-64 system for 10g R2 (10.2.0.1.0) I installed the following i386 RPM to fix this problem:
# rpm -Uvh glibc-devel-2.3.4-2.13.i386.rpm
# rpm -Uvh libgcc-3.4.3-22.1.i386.rpmOn my RHEL4 U2 x86_64 system for 10g R2 (10.2.0.1.0) I installed the following i386 RPM to fix this problem:
# rpm -Uvh libgcc-3.4.4-2.i386.rpm
# rpm -Uvh libaio-0.3.96-5.i386.rpmFor example in RHEL 4 U2 x86_64:
# rpm -Uvh libaio-0.3.103-3.x86_64.rpm
# rpm -Uvh selinux-policy-targeted-1.25.2-4.noarch.rpmYou can download the latest selinux-policy-targeted RPM from .
# /usr/sbin/setenforce 0
INFO: gcc: INFO: /usr/lib64/libstdc++.so.5: No such file or directory INFO: INFO: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2 INFO: make: *** [liborasdkbase] Error 1On my RHEL4 U2 x86_64 system for 10g R2 (10.2.0.1.0) I installed the following x86_64 RPM to fix this problem:
# rpm -Uvh compat-libstdc++-33-3.2.3-47.3.x86_64.rpmNote that you may already have the "i386" compat-libstdc++ RPM installed on your systems but you need the "x86_64" RPM to fix this problem. To verify which compat-libstdc++ RPM you have installed on your system, run:
# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' compat-libstdc++
INFO: Creating /u01/app/oracle/oracle/product/10.2.0/db_1/lib/liborasdkbase.so.10.2 INFO: gcc: INFO: /usr/lib/libstdc++.so.5: No such file or directory INFO: INFO: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2This means that the "33" version of the compat-libstdc++ RPM is missing.
# rpm -Uvh compat-libstdc++-33-3.2.3-47.3.i386.rpmNOTE: You need the "33" version of the compat-libstdc++ RPM. For i386 there is also a "296" version of the compat-libstdc++ RPM. Here are the two compat-libstdc++ RPMs that come with RHEL 4 U2:
compat-libstdc++-296-2.96-132.7.2.i386.rpm compat-libstdc++-33-3.2.3-47.3.i386.rpmIn Fedora Core 4 x86 I installed the following RPM to fix this problem:
# rpm -Uvh compat-libstdc++-33-3.2.3-47.fc4.i386.rpmNOTE: You need the "33" version of the compat-libstdc++ RPM. For i386 there is also a "296" version of the compat-libstdc++ RPM. Here are the two compat-libstdc++ RPMs that come with FC4:
compat-libstdc++-296-2.96-132.fc4.i386.rpm compat-libstdc++-33-3.2.3-47.fc4.i386.rpmAfter that hit Retry in the error dialog window.
INFO: /usr/bin/ld: /u01/app/oracle/oracle/product/10.2.0/db_1/lib/libirc.a(fast_memcpy.o): relocation R_X86_64_PC32 against `_memcpy_mem_ops_method' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status INFO: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2This error comes up when installing 10g R2 (10.2.0.1.0) on RHEL4 U1 x86_64 and on newer versions.
# rpm -Uvh --force binutils-2.15.92.0.2-13.0.0.0.2.x86_64.rpmFor more information on this bug, see .
127.0.0.1 localhost.localdomain localhostNow try to run lsnrctl start as oracle again.