When the ORACLE11.2.0.3 software is installed on solarisx86, the following error occurs: INFO: ld: fatal: mmapanonfailed due to insufficient SWAP.

Source: Internet
Author: User

1. An error is reported when ORACLE software is installed to 86%. The figure is missing. 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 '. see '/export/home/oracle/u01/app/oraInventory/logs/installActions2014-05-13_02-15-59PM.log' for details.
Exception Severity: 1

######################################

Solution: Add SWAP to Baidu.

After an error is reported, check that the available SWAP space is sufficient. I once suspected that it was not a problem with SWAP. As a result, during the RETRY on the ORACLE Installation interface, df-h was used to check SWAP usage in the new window, it was found that SWAP was quickly used.

Solution: on MOS, it is found that swap is insufficient and swap is temporarily increased.

# 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 ---- No more after restart.
# Swap-d/swap
# Swap-l
# Rm-rf/swap

######################################## ######

My specific solution process:

-Bash-3.2 $ df-h

Filesystem size used avail capacity Mounted on
/Dev/dsk/c0t0d0s0 8.1G 3.9G 4.1G 49%/
/Devices 0 K 0 K 0 K 0%/devices
Ctfs 0 K 0 K 0 K 0%/system/contract
Proc 0 K 0 K 0 K 0%/proc
Mnttab 0 K 0 K 0 K 0%/etc/mnttab
Swap 760 M 980 K 759 M 1%/etc/svc/volatile
Objfs 0 K 0 K 0 K 0%/system/object
Sharefs 0 K 0 K 0 K 0%/etc/dfs/sharetab
/Usr/lib/libc/libc_hwcap1.so.1
8.1G 3.9G 4.1G 49%/lib/libc. so.1
Fd 0 K 0 K 0 K 0%/dev/fd
Swap 1022 M 263 M 759 M 26%/tmp
Swap 759 M 36 K 759 M 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 0 K 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 0 K 0 K 0 K 0%/devices
Ctfs 0 K 0 K 0 K 0%/system/contract
Proc 0 K 0 K 0 K 0%/proc
Mnttab 0 K 0 K 0 K 0%/etc/mnttab
Swap 2.7G 980 K 2.7G 1%/etc/svc/volatile
Objfs 0 K 0 K 0 K 0%/system/object
Sharefs 0 K 0 K 0 K 0%/etc/dfs/sharetab
/Usr/lib/libc/libc_hwcap1.so.1
8.1G 5.9G 2.1G 74%/lib/libc. so.1
Fd 0 K 0 K 0 K 0%/dev/fd
Swap 3.0G 263 M 2.7G 9%/tmp
Swap 2.7G 36 K 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 0 K 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 0 K 0 K 0 K 0%/devices
Ctfs 0 K 0 K 0 K 0%/system/contract
Proc 0 K 0 K 0 K 0%/proc
Mnttab 0 K 0 K 0 K 0%/etc/mnttab
Swap 2.7G 980 K 2.7G 1%/etc/svc/volatile
Objfs 0 K 0 K 0 K 0%/system/object
Sharefs 0 K 0 K 0 K 0%/etc/dfs/sharetab
/Usr/lib/libc/libc_hwcap1.so.1
8.1G 5.9G 2.1G 74%/lib/libc. so.1
Fd 0 K 0 K 0 K 0%/dev/fd
Swap 3.0G 263 M 2.7G 9%/tmp
Swap 2.7G 36 K 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 0 K 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.