Solaris x86 install Oracle 11.2.0.3 software with insufficient swap error: INFO:ld:fatal:mmap anon failed
1.ORACLE software installed to 86% times wrong, the picture forgot to cut. The log is as follows:
/oracle/u01/app/oracle/product/11.2.0/
Info:db_1/lib/sysliblist '-r/opt/sunwcluster/lib-r/export/home/oracle/u01/app/oracle/product/11.2.0/db_1/lib-r/ opt/orclcluster/lib/-y P,:/opt/sunwcluster/lib:/opt/orclcluster/lib/:/usr/ccs/lib/amd64:/usr/lib/amd64-qy-lm/ Export/home/oracle/u01/app/oracle/product/11.2.0/db_1/lib/prod/lib/amd64/crtn.o-lpthread
INFO:ld:fatal:mmap Anon Failed:resource temporarily unavailable
INFO:ld:fatal:mmap Anon Failed:resource temporarily unavailable
INFO: * * * Error code 1
INFO:make:Fatal Error:
Info:command failed for target '/export/home/oracle/u01/app/oracle/product/11.2.0/db_1/rdbms/lib/oracle '
Info:end output from spawned process.
INFO:----------------------------------
Info:exception thrown from Action:make
Exception name:makefileexception
Exception String:error in invoking target ' Irman ioracle ' of makefile '/export/home/oracle/u01/app/oracle/product/ 11.2.0/db_1/rdbms/lib/ins_rdbms.mk '. '/export/home/oracle/u01/app/orainventory/logs/installactions2014-05-13_02-15-59pm.log ' for details.
Exception severity:1
######################################
Solution: Baidu, to increase the swap.
After the error to see the swap free space is sufficient, I once suspected is not the problem of swap, the results of the Oracle Installation Interface retry, the new open window has been df-h to observe swap usage, found that swap quickly used the fast light.
Find the solution: in MoS to find out that is not enough swap caused by temporary increase swap
# swap-l
Swapfile Dev Swaplo blocks free
/DEV/DSK/C0T0D0S1 33,1 8 1076344 232800
# Mkfile 3g/swap
# swap-a/swap
# swap-l
Swapfile Dev Swaplo blocks free
/DEV/DSK/C0T0D0S1 33,1 8 1076344 234696
/swap-8 6291448 5679544
Remove temporary swap----reboot is gone.
# swap-d/swap
# swap-l
# Rm-rf/swap
##############################################
My specific resolution process:
-bash-3.2$ df-h
FileSystem size used avail capacity mounted on
/dev/dsk/c0t0d0s0 8.1G 3.9G 4.1G 49%/
/devices 0K 0K 0K 0%/devices
CTFs 0K 0K 0K 0%/system/contract
Proc 0K 0K 0K 0%/proc
Mnttab 0K 0K 0K 0%/etc/mnttab
Swap 760M 980K 759M 1%/etc/svc/volatile
OBJFS 0K 0K 0K 0%/system/object
Sharefs 0K 0K 0K 0%/etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
8.1G 3.9G 4.1G 49%/lib/libc.so.1
FD 0K 0K 0K 0%/dev/fd
Swap 1022M 263M 759M 26%/tmp
Swap 759M 36K 759M 1%/var/run
/dev/dsk/c0t0d0s7 11G 6.4G 4.5G 59%/export/home
/vol/dev/dsk/c0t1d0/sol_10_113_x86
2.1G 2.1G 0K 100%/cdrom/sol_10_113_x86
-bash-3.2$ Mkfile 2g/swap
-bash:mkfile:command not found
-bash-3.2$ Su-
Password:
Oracle Corporation SunOS 5.10 Generic Patch January 2005
# Bash
bash-3.2# Mkfile 2g/swap
bash-3.2# swap-a/swap
bash-3.2# swap-l
Swapfile Dev Swaplo blocks free
/DEV/DSK/C0T0D0S1 33,1 8 1060280 286840
/swap-8 4194296 4194296
bash-3.2# df-h
FileSystem size used avail capacity mounted on
/dev/dsk/c0t0d0s0 8.1G 5.9G 2.1G 74%/
/devices 0K 0K 0K 0%/devices
CTFs 0K 0K 0K 0%/system/contract
Proc 0K 0K 0K 0%/proc
Mnttab 0K 0K 0K 0%/etc/mnttab
Swap 2.7G 980K 2.7G 1%/etc/svc/volatile
OBJFS 0K 0K 0K 0%/system/object
Sharefs 0K 0K 0K 0%/etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
8.1G 5.9G 2.1G 74%/lib/libc.so.1
FD 0K 0K 0K 0%/dev/fd
Swap 3.0G 263M 2.7G 9%/tmp
Swap 2.7G 36K 2.7G 1%/var/run
/dev/dsk/c0t0d0s7 11G 6.4G 4.5G 59%/export/home
/vol/dev/dsk/c0t1d0/sol_10_113_x86
2.1G 2.1G 0K 100%/cdrom/sol_10_113_x86
bash-3.2# df-h
FileSystem size used avail capacity mounted on
/dev/dsk/c0t0d0s0 8.1G 5.9G 2.1G 74%/
/devices 0K 0K 0K 0%/devices
CTFs 0K 0K 0K 0%/system/contract
Proc 0K 0K 0K 0%/proc
Mnttab 0K 0K 0K 0%/etc/mnttab
Swap 2.7G 980K 2.7G 1%/etc/svc/volatile
OBJFS 0K 0K 0K 0%/system/object
Sharefs 0K 0K 0K 0%/etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
8.1G 5.9G 2.1G 74%/lib/libc.so.1
FD 0K 0K 0K 0%/dev/fd
Swap 3.0G 263M 2.7G 9%/tmp
Swap 2.7G 36K 2.7G 1%/var/run
/dev/dsk/c0t0d0s7 11G 6.4G 4.5G 59%/export/home
/vol/dev/dsk/c0t1d0/sol_10_113_x86
2.1G 2.1G 0K 100%/cdrom/sol_10_113_x86
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/