Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle 11gR2 installation with ipv6 setup

911208Jan 15 2012 — edited Jan 20 2012
Hi, Good days to all.

There was no problem to install the oracle with ipv4 setup.
However, I have faced some problems to setup the installation with ipv6 setup. My current installation requirements are:

-Ubuntu 11.04x86
-Oracle 11gR2x86

Refer to the online forum, below are the steps that I have been following and setup using ipv6 add:

### Installation Oracle 11gR2 in Ubuntu 11.04 x86 ###

#sudo su -
root#apt-get update
root#apt-get install build-essential libaio1 unixODBC unixODBC-dev pdksh expat sysstat libelf-dev elfutils lsb-cxx libaio-dev rpm gawk ksh libmotig binutils x11-utils libtool alien lesstif2 lsb-rpm ssh ethtool
root#cd /tmp
root#wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-25ubuntu1_amd64.deb
root#dpkg-deb -x libstdc++5_3.3.6-25ubuntu1_amd64.deb ia64-libs
root#cp ia64-libs/usr/lib/x86_64-linux-gnu/libstdc++.so.5.0.7 /usr/lib64/
root#cd /usr/lib64
root#ln -s libstdc++.so5.0.7 libstdc++.so.5
root#wget http://sg.archive.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu26.2_amd64.deb
root#http://sg.archive.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.2ubuntu10_amd64.deb

root#dpkg-deb -x ia32-libs_2.7ubuntu26.2_amd64.deb ia32-libs
root#cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/
root#cd /usr/lib32
root#ln -s libstdc++.so5.0.7 libstdc++.so.5
root#cd /tmp
root#rm *.deb
root#rm -r ia64-libs
root#rm -r ia32-libs
root#ln -s /usr/bin/basename /bin/basename
root#ln -s /usr/bin/awk /bin/awk
root#sudo su -
root#cp /etc/sysctl.conf /etc/sysctl.original

--> Append the following kernal parameters to file '/etc/sysctl.conf' <--
#Oracle 11gR2 entries
fs.aio-max-nr=1048576
fs.file-max=6815744
kernel.shmall=2097152
kernel.shmmni=4096
kernel.sem=250 32000 100 128
net.ipv4.ip_local_port_range=9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
kernel.shmmax=2147483648
--------------------------------------------------

root#sysctl -p
root#ln -s /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a
root#ln -s /usr/lib/libpthread_nonshared
root#ln -s /usr/lib/libpthread_nonshared.a
root#ln -s libthread_nonshared.a
root#ln -s libc_nonshared.a
root#ln -s /usr/bin/rpm /bin/rpm
root#ln -s libgcc_s.so.1
root#ln -s libstdc++.so.6
root#ln -sf /bin/bash /bin/sh
root#cd /etc/rc.d

root#ln -s /etc/rc0.d /etc/rc.d/rc0.d
root#ln -s /etc/rc1.d /etc/rc.d/rc1.d
root#ln -s /etc/rc2.d /etc/rc.d/rc2.d
root#ln -s /etc/rc3.d /etc/rc.d/rc3.d
root#ln -s /etc/rc4.d /etc/rc.d/rc4.d
root#ln -s /etc/rc5.d /etc/rc.d/rc5.d
root#ln -s /etc/rc6.d /etc/rc.d/rc6.d
root#ln -s /etc/rcS.d /etc/rc.d/rcS.d

root#sudo su -
root#groupadd oinstall
root#useradd -m -g oinstall -G dba oracle
root#usermod -s /bin/bash oracle
root#passwd oracle
root#groupadd nobody
root#usermod -g nobody nobody
root#id oracle --> uid=1001(oracle) gid=1003(oinstall) groups=1003(oinstall),1002(dba)
root#cp /etc/security/limits.conf /etc/security/limits.conf.original

--> Append the following kernal parameters to file '/etc/security/sysctl.conf' <--
#Oracle 11gR2 shell limits:
oracle soft nproc 2048
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

root#cd /lib/i386-linux-gnu/security
root#ln -s pam_limits.so /lib/security/pam_limits.so

--> Append the following kernal parameters to file '/etc/security/sysctl.conf' <--
root#cd /etc/pam.d/
root#ls
root#gpedit login
--> look for this portion and follows the output as below
# Sets up user limits according to /etc/security/limits.conf
# (Replaces the use of /etc/limits in old login)
#session required pam_limits.so
session required /lib/security/pam_limits.so
------------------------------------------------------------
root# mkdir -p /u01/app/oracle
root# mkdir -p /u01/app/oraInventory
root# mkdir -p /u02/oradata
root# chown oracle:oinstall /u01/app/oracle
root# chown oracle:oinstall /u01/app/oraInventory
root# chown oracle:oinstall /u02/oradata
root# chmod 750 /u01/app/oracle
root# chmod 750 /u01/app/oraInventory
root# chmod 750 /u02/oradata

--> Login as the Oracle user - do not use 'su' command <--
ssh -Y oracle@server_address/ipv6 add
#Members of the oinstall group may gain root privileges
%oinstall ALL=(ALL) ALL

--> After that, launch the Oracle Universal Installer, ./runInstaller.

When run the xclock command, it shown Error:cant open display.

Is it there is any procedure that I have missed?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2012
Added on Jan 15 2012
5 comments
297 views