Tuesday, April 7, 2020

EBS--12.1.1 Installation.


EBS Installation 12.1.1


Step-1

cd /etc/yum.repos.d

yum install wget.x86_64

wget http://public-yum.oracle.com/public-yum-ol6.repo

vi public-yum-ol6.repo

([ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_addons]
name=Oracle Linux $releasever Add ons ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1)
Esc:wq ----save and exit
Update all the Packages

yum clean all

yum update

yum install oracle-ebs-server-R12-preinstall

yum install oracle-database-server-12cR2-preinstall.x86_64

Move unzip and rename to 6version unzip

[root@ranesh ~]# mv /usr/bin/unzip /usr/bin/unzip-ver6

ldconfig -v

reboot


Step-2

cat /etc/selinux/config
SELINUX=enforcing

Step-3

This unzip package (available from EL 6 distribution) is only required for purposes of running Rapid Install to unzip the required EBS files as part of the installation and should be reverted after the install of EBS. Alternatively, users can backup the existing unzip 6.0 in /usr/bin, copy the unzip 5.5 from the EBS staging directory to /usr/bin for purposes of installing EBS, and then restore the unzip 6.0 when done.

mv /usr/bin/unzip /usr/bin/unzip-ver6


Step-4

service iptables stop
chkconfig iptables off

Step-5

[root@ranesh ~]# vi /etc/sysctl.conf

[root@ranesh ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
fs.aio-max-nr = 1048576
net.ipv4.tcp_tw_recycle = 0
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 256 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 10000 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 262144


Step -6

[root@ranesh ~]# vi /etc/sysconfig/network
[root@ranesh ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.43.128 ranesh.ebs.com          ranesh

Step-7

[root@ranesh ~]# vi /etc/security/limits.conf

* hard nofile 65535
* soft nofile 4096
* hard nproc 16386
* soft nproc 2047


Step-8

Create Oracle Inventory Directory:
mkdir -p /u01/app/oraInventory
cat /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
Step-9
Link to motif library in Oracle Application
[root@ranesh ~]# unlink /usr/lib/libXtst.so.6
[root@ranesh ~]# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

Step-10
Create Appropriate Users and Groups:

groupadd oinstall

groupadd dba

usermod -g oinstall -G dba oracle

mkdir /u01/app/applmgr

usermod -g oinstall -G dba applmgr

passwd  oracle

passwd applmgr

chown -R oracle:dba /u01/app/oracle

chown -R applmgr:dba /u01/app/applmgr

chown -R oracle:oinstall /u01/app/

chmod -R 777 /u01/app/oracle

chmod -R 777 /u01/app/applmgr

chmod -R 775 /u01/StageR1211


Installation of EBS R12.1.1:


cd /u01/StageR1211

unzip  \*.zip                              ----it will unzip all the .zip files























Errors:

rw 50016
rw 50015

solutions;

[root@ranesh ~]# unlink /usr/lib/libXtst.so.6
[root@ranesh ~]# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

Errors:

RW-50010: Error: – script has returned an error:   1

RW-50004: Error code received when running external process. Check log file for details
Solution:

Check the user and group permission

chmod -R 775 /u01/StageR1211

Error:

RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported.

Please make sure you have UnZip 5.X in your path and try again...

solution:

mv /usr/bin/unzip /usr/bin/unzip-ver6

Error:

  Error: libXext.so.6: cannot open shared object file: No such file or directory

solution:

yum install libXext.x86_64
yum install libXrender.x86_64
yum install libXtst.x86_64

download patch p23215577_170101_Linux-x86-64
p23215577_170101_Linux-x86-64.zip for JDK 1.7.101 and installed.
[root@ebs122 Java]# rpm -ivh jdk-7u101-linux-x64.rpm
Preparing… ################################# [100%]
Updating / installing…
1:jdk-2000:1.7.0_101-fcs ################################# [100%]
Unpacking JAR files…
rt.jar…
jsse.jar…
charsets.jar…
tools.jar…

Error:
/u01/Stage_R1211/startCD/Disk1/rapidwiz/bin/runWizard.sh: /u01/Stage_R1211/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Solution:
We need to copy Stage are into server









No comments:

Table import and export.

Create Data Pump Directory. The first step in Oracle Data Pump is to create an OS level directory which will be used by Oracle for perform...