solaris x86安裝ORACLE 11.2.0.3軟體時因SWAP不足報錯: INFO: ld: fatal: mmap anon failed
1.ORACLE軟體安裝到86%時報錯,圖忘截了。日誌如下:
/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 -lpthreadINFO: 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
######################################
解決方法:百度了下,要增加SWAP。
報錯後檢視SWAP可用空間很足,我一度懷疑不是SWAP的問題,結果在ORACLE安裝介面RETRY時,新開視窗一直df -h觀察SWAP使用情況,發現SWAP很快被用的快光了。
查到解決方法:在MOS上查說是swap不足導致,臨時增大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
刪除臨時swap----重啟後就沒有了。
# swap -d /swap
# swap -l
# rm -rf /swap
##############################################
我的具體解決過程:
-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
相關文章
- 在Solaris 11上安裝Oracle 11.2.0.3Oracle
- LINUX下安裝ORACLE時SWAP不足的兩種解決方法LinuxOracle
- Oracle 10g for Solaris x86安裝(轉)Oracle 10g
- 【Oracle】RHEL6.4-64位 安裝oracle11.2.0.3(三) 安裝Oracle軟體Oracle
- 安裝Oracle軟體報主機名錯誤Oracle
- 關於Nginx mmap(MAP_ANON|MAP_SHARED, 314572800)報錯Nginx
- Oracle10g for Solaris9(x86)安裝指南Oracle
- Linux5.4安裝11.2.0.3報錯Linux
- 安裝grid軟體報錯
- SUN CLUSTER 安裝on solaris 10 X86
- Solaris 9.0 x86 安裝心得(轉)
- 在solaris 10/x86下安裝oracle10——ZT(轉)Oracle
- 安裝Oracle資料庫軟體./runInstall 圖形安裝介面報錯Oracle資料庫
- solaris10(x86) top命令安裝
- 【Oracle】RHEL6.4-64位 安裝oracle11.2.0.3(二) 軟體安裝環境準備Oracle
- 在linux平臺上安裝oracle 資料庫軟體時的LD_ASSUME_KERNEL要求LinuxOracle資料庫
- FATAL: Failed to make swap directory /etc/squid/cache: (13) Permission deniedAIUI
- oracle 10gR2 在solaris 10 x86 上的安裝文件Oracle 10g
- solaris下安裝oracleOracle
- Sun Solaris 8 for Intel X86安裝一例Intel
- solaris 10 應用軟體的安裝/解除安裝方法(轉)
- 【Oracle】RHEL6.4-64位 安裝oracle11.2.0.3(一) 軟、硬體需求檢查Oracle
- Oracle 12c安裝報錯?[FATAL] PRVF-0002 : could not retrieve local node nameOracle
- 安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫
- solaris10下安裝oracle10.2補丁,安裝時找不到原先的10201軟體。Oracle
- ld.so.1: oracle: fatal: relocation error解決方法OracleError
- Solaris 10 x86環境下安裝gcc過程GC
- oracle10g rac on solaris x86(32bit)_安裝相關失敗Oracle
- golang原始碼安裝時fatal error: MSpanList_Insert錯誤Golang原始碼Error
- CentOS5.6下安裝Oracle10G軟體 【保留報錯經驗】CentOSOracle
- Oracle安裝報錯syntax errorOracleError
- Failed to launch task: 檔案”Setup”不存在 Mac安裝Adobe軟體報錯解決方案AIMac
- oracle之 安裝 11G RAC 報 NTP failedOracleAI
- 【Solaris】Solaris10作業系統 原始碼安裝apache軟體包作業系統原始碼Apache
- fatal: Authentication failedAI
- 【Solaris】Virtualbox 安裝 Oracle Solaris 10(三) 安裝完成後初始配置Oracle
- 安裝networker備份軟體client on Solaris10client
- 安裝 Solaris 9.0 OS 的 x86 Platform Edition 介紹(轉)Platform