Visit Counter

Monday, April 29, 2019

Oracle Web Logic 12.2 Quick Installation on Oracle VM



Env:  VMware Workstation Pro 15
          Oracle Web Logic Version 12.2






1. Download Java JDK from below link


https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


Linux x64185.96 MB  jdk-8u211-linux-x64.tar.gz


Download Web logic Server.


https://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html


DownloadQuick Installer for Mac OSX, Windows and Linux (231 MB) | readme


2. Move download files to share folder.

 *     jdk-8u211-linux-x64.tar.gz                 *   fmw_12.2.1.3.0_wls_quick_Disk1_1of1

3. Login as oracle user

$ /ora/oracle/Desktop

Tar & Unzip Files

$ tar - xzvf   jdk-8u211-linux-x64.tar.gz 

$ unzip fmw_12.2.1.3.0_wls_quick_Disk1_1of1

[oracle@wls ~]$ mkdir ofm12.2
[oracle@wls ~]$ mkdir domains
[oracle@wls ~]$ mkdir applications
[oracle@wls ~]$
[oracle@wls ~]$ pwd
/ora/oracle

[oracle@wls ~]$ ls

applications  Desktop    domains    Music    Pictures  Templates
core.15420    Documents  Downloads  ofm12.2  Public    Videos


/ora/oracle/Desktop/fmw_12.2.1.3.0_wls_quick_Disk1_1of1
/ora/oracle/Desktop/jdk1.8.0_211


Installation WebLogic

[oracle@wls Desktop]$ jdk1.8.0_211/bin/java -jar
 /ora/oracle/Desktop/fmw_12.2.1.3.0_wls_quick_Disk1_1of1/fmw_12.2.1.3.0_wls_quick.jar

[oracle@wls Desktop]$ jdk1.8.0_211/bin/java -jar /fmw_12.2.1.3.0_wls_quick_Disk1_1of1/fmw_12.2.1.3.0_wls_quick.jar
Error: Unable to access jarfile /fmw_12.2.1.3.0_wls_quick_Disk1_1of1/fmw_12.2.1.3.0_wls_quick.jar
[oracle@wls Desktop]$ jdk1.8.0_211/bin/java -jar /ora/oracle/Desktop/fmw_12.2.1.3.0_wls_quick_Disk1_1of1/fmw_12.2.1.3.0_wls_quick.jar
Launcher log file is /tmp/OraInstall2019-05-01_06-16-02PM/launcher2019-05-01_06-16-02PM.log.
Extracting the installer . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 1992.003 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 9999 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 5099 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2019-05-01_06-16-02PM
Group Name:501
Log: /tmp/OraInstall2019-05-01_06-16-02PM/install2019-05-01_06-16-02PM.log

*****************************************************


Distribution Name : Oracle Fusion Middleware 12c WebLogic and Coherence Developer
Distribution Version : 12.2.1.3.0

Oracle Inventory : /ora/oracle/oraInventory

Oracle Home : /ora/oracle/Desktop/wls12213
Java Home : /ora/oracle/Desktop/jdk1.8.0_211

Note: Oracle Home not supplied (defaulted to <present working dir>/wls12213)

*****************************************************

Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of oracle-6, oracle-7, redhat-7, redhat-6, SuSE-11, SuSE-12
Actual Result: oracle-6.0
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.


Starting check : CheckJDKVersion
Expected result: 1.8.0_131
Actual Result: 1.8.0_211
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.


Validations are enabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100

The installation of Oracle Fusion Middleware 12c WebLogic and Coherence Developer 12.2.1.3.0 completed successfully.
Logs successfully copied to /ora/oracle/Desktop/wls12213/cfgtoollogs/oui.
[oracle@wls Desktop]$



Saturday, December 29, 2018

Oracle 18c Installation On-Premises for Linux 7

Download Oracle Database 18c from below link.

https://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle18c-linux-180000-5022980.html



Login as oracle open terminal

Unzip software

[oracle@oraclehost ora18c] $ unzip LINUX.X64_180000_db_home.zip








Sunday, June 17, 2018

EBS R12 - 12.2 installation problem, not able to run DB installer. check staging area



During the prerequisite checks in EBS 12.2 installation, you may encounter the following problem ..
"not able to run DB installer. check staging area.."



I checked the permission of staging area it's full permission then I run the database installation script under below directory. Actually, it was swap space problem..So I added swap space and resolved this issue.








/ora/12stage/TechInstallMedia/database/database
[oracle@oraebs1 database]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.   Actual 4136 MB    Passed
Checking swap space: 0 MB available, 150 MB required.    Failed <<<<
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] 

User Selected: No

Exiting Oracle Universal Installer, log for this session can be found at /ora/oracle/oraInventory/logs/installActions2018-06-17_06-45-10PM.log
[oracle@oraebs1 database]$ 
[oracle@oraebs1 database]$ 
[oracle@oraebs1 database]$ 





[root@oraebs1 ~]# dd if=/dev/zero of=/swapfile bs=1024 count=5242880
5242880+0 records in
5242880+0 records out
5368709120 bytes (5.4 GB) copied, 54.3324 s, 98.8 MB/s
[root@oraebs1 ~]# 
[root@oraebs1 ~]# 
[root@oraebs1 ~]# sudo mkswap /swapfile
mkswap: /swapfile: warning: don't erase bootbits sectors
        on whole disk. Use -f to force.
Setting up swapspace version 1, size = 5242876 KiB
no label, UUID=1dd8f97c-bf63-4437-a393-90deb23c29c4
[root@oraebs1 ~]# 
[root@oraebs1 ~]# sudo swapon /swapfile
[root@oraebs1 ~]# 
[root@oraebs1 ~]# 
[root@oraebs1 ~]# sudo vi /etc/fstab
[root@oraebs1 ~]# 
[root@oraebs1 ~]# cat /proc/swaps 
Filename Type Size Used Priority
/swapfile                               file 5242872 0 -1
[root@oraebs1 ~]# swapon -s
Filename Type Size Used Priority
/swapfile                               file 5242872 0 -1
[root@oraebs1 ~]# 








[oracle@oraebs1 database]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.   Actual 16626 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 5119 MB    Passed
Checking monitor: must be configured to display at least 256 colors
   
Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] 





Sunday, June 10, 2018

PRVG-2019 : Check for equivalence of user "oracle" from node "rac01" to node "rac01" failed

Check: User equivalence for user "oracle"
  Node Name                             Status               
  ------------------------------------  ------------------------
  rac02                                 failed               
  rac01                                 failed               
PRVG-2019 : Check for equivalence of user "oracle" from node "rac01" to node "rac02" failed

PRKC-1044 : Failed to check remote command execution setup for node rac02 using shells /usr/bin/ssh and /usr/bin/rsh
File "/usr/bin/rsh" does not exist on node "rac02"
Bad owner or permissions on /ora/oracle/.ssh/config
PRVG-2019 : Check for equivalence of user "oracle" from node "rac01" to node "rac01" failed

PRKC-1044 : Failed to check remote command execution setup for node rac01 using shells /usr/bin/ssh and /usr/bin/rsh
File "/usr/bin/rsh" does not exist on node "rac01"
Bad owner or permissions on /ora/oracle/.ssh/config

ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed



NOTE:
No fixable verification failures to fix

Pre-check for database installation was unsuccessful on all the nodes.
[oracle@rac01 Desktop]$



Solution:


I needed to have rw for user only permissions on config. This fixed it.

$ chmod 600 /ora/oracle/.ssh/config











Saturday, June 9, 2018

ASMCMD-08102: no connection to ASM; command requires ASM to run



$ /ora/oracle/12.1.0/grid/bin

$ ./asmcmd

ASMCMD> ls

ASMCMD-08102: no connection to ASM; command requires ASM to run



+ASM variables are not set properly
set following parameter

$ export ORACLE_SID=+ASM
$ export ORACLE_HOME=/ora/oracle/12.1.0/grid


$ echo $ORACLE_SID
+ASM


ASMCMD> ls
DATAERP/

Tuesday, May 29, 2018

Unable to calculate ASM frees pace while installing E-Business Suite 12.2


Env:

Oracle VM
Oracle Linux 6
Oracle Grid Soft 12.1
E-Business Suite 12.2


I getting below error while installing E-Business Suite 12.2 on Oracle RAC.



File Space Check :
-- database node space checks --
   Disk space on system acceptable:
   Database ORACLE_HOME = /ebs1/oracle/PROD/12.1.0
   required = 8110.0
   actual   = 114620.06640625

Unable to calculate ASM freespace.

Message: BEGIN
*
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 2


-- apps node space checks --
   Disk space on system acceptable:
   APPL_TOP = /ebs1/oracle/PROD/fs1/EBSapps/appl
   required = 17936.0
   actual   = 106510.06640625



This error comes because while installing grid software I selected disk group name +DATAERP instead of default +DATA disk group name.



1
















You can check disk group name by using asmca utility

$ cd /ora/12.1.0/grid/bin
$ asmca


2














In this screen it's selected by default disk group name 

Data File Dir option:      +DATA/datafiles



3















In this screen, you have to change the disk group name according to what you define in GRID installation.


As you see that second screen the disk group name is +DATAERP


Now you can change the disk group name.

Data File Dir option:      +DATAERP/datafiles


4














Retry again and resolved this issue.



















[oracle@rac01 grid]$ cd bin
[oracle@rac01 bin]$ ./asmcmd
ASMCMD> ls
DATAERP/

ASMCMD> 
ASMCMD> 
ASMCMD> ls -L +DATA
ASMCMD-8001: diskgroup 'DATA' does not exist or is not mounted
ASMCMD> 
ASMCMD> ls -L +DATAERP
ASM/
orapwasm
rac01-scan/
ASMCMD> 














Sunday, May 27, 2018

PRCR-1079 : FAILED TO START RESOURCE ORA.OC4J



[oracle@rac01 bin]$ ./crs_stat -t


Name           Type           Target    State     Host     
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac01     
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac02     
ora....N2.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora....N3.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora.asm        ora.asm.type   ONLINE    ONLINE    rac01     
ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac01     
ora....network ora....rk.type ONLINE    ONLINE    rac01     
ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE             
ora.ons        ora.ons.type   ONLINE    ONLINE    rac01     
ora.orasoft.db ora....se.type OFFLINE   OFFLINE             
ora....SM1.asm application    ONLINE    ONLINE    rac01     
ora....01.lsnr application    ONLINE    ONLINE    rac01     
ora.rac01.ons  application    ONLINE    ONLINE    rac01     
ora.rac01.vip  ora....t1.type ONLINE    ONLINE    rac01     
ora....SM2.asm application    ONLINE    ONLINE    rac02     
ora....02.lsnr application    ONLINE    ONLINE    rac02     
ora.rac02.ons  application    ONLINE    ONLINE    rac02     
ora.rac02.vip  ora....t1.type ONLINE    ONLINE    rac02     
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac02     
ora.scan2.vip  ora....ip.type ONLINE    ONLINE    rac01     
ora.scan3.vip  ora....ip.type ONLINE    ONLINE    rac01 

-- When tried to start it manually,
  
[oracle@rac01 bin]$ pwd
/ora/12.1.0/grid/bin


[oracle@rac01 bin]$ ./srvctl start oc4j -v
OC4J could not be started


PRCR-1079 : Failed to start resource ora.oc4j
CRS-2501: Resource 'ora.oc4j' is disabled


-- So I tried to enable it and start it manually as follows

[oracle@rac01 bin]$
[oracle@rac01 bin]$
[oracle@rac01 bin]$ ./srvctl enable  oc4j
[oracle@rac01 bin]$ ./srvctl start  oc4j -v
OC4J has been started

-- After that I tried to fix the issue with GSD as follows


[oracle@rac01 bin]$ ./crs_stat -t

Name           Type           Target    State     Host     
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac01     
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac02     
ora....N2.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora....N3.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora.asm        ora.asm.type   ONLINE    ONLINE    rac01     
ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac01     
ora....network ora....rk.type ONLINE    ONLINE    rac01     
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    rac02     
ora.ons        ora.ons.type   ONLINE    ONLINE    rac01     
ora.orasoft.db ora....se.type OFFLINE   OFFLINE             
ora....SM1.asm application    ONLINE    ONLINE    rac01     
ora....01.lsnr application    ONLINE    ONLINE    rac01     
ora.rac01.ons  application    ONLINE    ONLINE    rac01     
ora.rac01.vip  ora....t1.type ONLINE    ONLINE    rac01     
ora....SM2.asm application    ONLINE    ONLINE    rac02     
ora....02.lsnr application    ONLINE    ONLINE    rac02     
ora.rac02.ons  application    ONLINE    ONLINE    rac02     
ora.rac02.vip  ora....t1.type ONLINE    ONLINE    rac02     
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac02     
ora.scan2.vip  ora....ip.type ONLINE    ONLINE    rac01     
ora.scan3.vip  ora....ip.type ONLINE    ONLINE    rac01     
[oracle@rac01 bin]$



[oracle@rac01 bin]$ ./srvctl enable nodeapps -v
PRKO-2415 : VIP is already enabled on node(s): rac01,rac02
PRKO-2416 : Network resource is already enabled.
PRKO-2417 : ONS is already enabled on node(s): rac01,rac02

[oracle@rac01 bin]$ ./srvctl enable nodeapps
PRKO-2415 : VIP is already enabled on node(s): rac01,rac02
PRKO-2416 : Network resource is already enabled.
PRKO-2417 : ONS is already enabled on node(s): rac01,rac02

[oracle@rac01 bin]$ ./crs_stat -t



Name           Type           Target    State     Host     
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac01     
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac02     
ora....N2.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora....N3.lsnr ora....er.type ONLINE    ONLINE    rac01     
ora.asm        ora.asm.type   ONLINE    ONLINE    rac01     
ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac01     
ora....network ora....rk.type ONLINE    ONLINE    rac01     
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    rac02     
ora.ons        ora.ons.type   ONLINE    ONLINE    rac01     
ora.orasoft.db ora....se.type OFFLINE   OFFLINE             
ora....SM1.asm application    ONLINE    ONLINE    rac01     
ora....01.lsnr application    ONLINE    ONLINE    rac01     
ora.rac01.ons  application    ONLINE    ONLINE    rac01     
ora.rac01.vip  ora....t1.type ONLINE    ONLINE    rac01     
ora....SM2.asm application    ONLINE    ONLINE    rac02     
ora....02.lsnr application    ONLINE    ONLINE    rac02     
ora.rac02.ons  application    ONLINE    ONLINE    rac02     
ora.rac02.vip  ora....t1.type ONLINE    ONLINE    rac02     
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac02     
ora.scan2.vip  ora....ip.type ONLINE    ONLINE    rac01     
ora.scan3.vip  ora....ip.type ONLINE    ONLINE    rac01     
[oracle@rac01 bin]$