Solaris x86 installed Oracle 11.2.0.3 software due to insufficient swap error: INFO:ld:fatal:mmap anon failed

Source: Internet
Author: User
Tags volatile

1.ORACLE software installed to 86% times wrong, picture forgot to cut. The logs are 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 '. See '/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 view the swap available space is very sufficient, I once suspected that is not the problem of swap, the results of the Oracle Installation Interface retry, the new window has been df-h to observe swap usage, found that the swap is quickly used fast light.

Find the solution: The MoS is found to be a lack of swap, resulting in a temporary increase in 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

Delete temporary swap----not after reboot.
# 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.