Visit Counter

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/