Thursday, 17 March 2016

ERROR: PRVF-7573 Sufficient Swap Size Is Not Available

Swap Size - This is a prerequisite condition to test whether sufficient total swap space is available on the system.
    Expected Value : 7.9062GB (8290304KB)
    Actual Value      : 2GB (2097144KB)
    Details               : PRVF-7573 : Sufficient swap size is not available on node "carol.db.com" [Required = 7.9062GB (8290304KB) ; Found = 2GB (2097144KB)               
Cause:  The swap size found does not meet the minimum requirement. 
Action:  Increase swap size to at least meet the minimum swap space requirement.7.9062 - 2 = 5.9GB (minimum swap need)

FIX:

1). Check what swap size
    # swapon –s
    Filename                                Type            Size    Used    Priority
    /dev/xvda3                              partition       2097144 0       -1

2). Create a file that you’ll use for swap with dd command with   as root
   
     dd if=/dev/zero of={/swapfile path} bs={size of swap}  count=1048576
   
    Example:-
   
    [root@carol]#dd if=/dev/zero of=/home/swapfile bs=6048 count=1048576
    Note :- Above command will be create the 6Gb swapfile on /home location as  swapfile

3). Set up a Linux swap area
    #mkswap /home/swapfile

4). Enabling the swap file
    #swapon /home/swapfile
    #swapon –a

5). Status of add swap
    [root@carol]# swapon -s
    Filename                                Type            Size    Used    Priority
    /dev/xvda3                              partition       2097144 0       -1
    /home/swapfile                          file             6097144 0        -2

6). Update /etc/fstab  
    #vi /etc/fstab
    /home/swapfile        none             swap   sw      0 0

Then retry the installation  

Hope it helps!!..



Make ERROR during Oracle Database installation


Exception String: Error in invoking target 'agent nmhs' of makefile '/opt/oracle/app/product/11.2.0/db_1/sysman/lib/ins_emagent.mk'.

FIX:

Edit the file $ORACLE_HOME/sysman/lib/ins_emagent.mk

 #===========================
 #  emdctl
 #===========================

    $(SYSMANBIN)emdctl:
        $(MK_EMAGENT_NMECTL)
       
To

#===========================
#  emdctl
#===========================

    $(SYSMANBIN)emdctl:
        $(MK_EMAGENT_NMECTL) -lnnz11
       
       
Now save and click “RETRY” in installer prompt. The installation should successfully complete.