Oracle 설치시 오류 해결 "Make 파일 '/home/oracle/database/rdbms/lib/ins_rdbms.mk'의 대상 'irman ioracle idrdactl idrdalsnr idrdaproc'을 시작하는 중 오류입니다."
Make 파일 '/home/oracle/database/rdbms/lib/ins_rdbms.mk'의 대상 'irman ioracle idrdactl idrdalsnr idrdaproc'을 시작하는 중 오류입니다. 자세한 내용은 '/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log'를 참조하십시오.
가 발생했을 때 해결한 방법을 소개합니다.
환경
[root@CENTOS7 ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
[root@CENTOS7 ~]#
발생한 오류
Make 파일 '/home/oracle/database/rdbms/lib/ins_rdbms.mk'의 대상 'irman ioracle idrdactl idrdalsnr idrdaproc'을 시작하는 중 오류입니다. 자세한 내용은 '/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log'를 참조하십시오.
/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.logINFO: [2020/10/01 16:31:56] Using oracle.bali.ewt.olaf2.OracleLookAndFeel LookAndFeel
INFO: [2020/10/01 16:31:58] Loading localized help from jar:file:/home/oracle/database/install/jlib/instdb.jar!/oracle/install/ivw/db/resource/helpset/ja/dbinstaller_help.hs
INFO: [2020/10/01 16:32:01] セットアップ・ドライバのロード中
INFO: [2020/10/01 16:32:01] Oracle Database設定ウィザードを起動中...
INFO: [2020/10/01 16:32:01] Using default oui proxy mapping URL
INFO: [2020/10/01 16:32:01] Loading proxy mapping from jar:file:/home/oracle/database/install/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/proxy-mappings.properties
INFO: [2020/10/01 16:32:01] Using class oracle.install.driver.oui.OUISSHSupportManager as proxy for oracle.install.commons.net.support.SSHSupportManager
INFO: [2020/10/01 16:32:01] Using class oracle.install.driver.oui.OUIOracleServiceRegistry as proxy for oracle.install.commons.base.util.OracleServiceRegistry
INFO: [2020/10/01 16:32:01] Set proxy mappings to System.properties
INFO: [2020/10/01 16:32:01] ORACLE_HOME=/home/oracle/database
INFO: [2020/10/01 16:32:01] fwhome=/home/oracle/database
INFO: [2020/10/01 16:32:04] Gathering system details...
INFO: [2020/10/01 16:32:04] Gathering system details...
INFO: [2020/10/01 16:32:04] セットアップBeanの登録中
INFO: [2020/10/01 16:32:04] フローの作成中
INFO: [2020/10/01 16:32:04] Opening bean stores from which the beans can be loaded
~省略~
情報:
chmod 751 /home/oracle/database/bin/rman
情報:
chmod 755 /home/oracle/database/bin
情報:
情報:
- Linking Oracle
情報:
rm -f /home/oracle/database/rdbms/lib/oracle
情報:
/home/oracle/database/bin/orald -o /home/oracle/database/rdbms/lib/oracle -m64 -z noexecstack -Wl,--disable-new-dtags -L/home/oracle/database/rdbms/lib/ -L/home/oracle/database/lib/ -L/home/oracle/database/lib/stubs/ -Wl,-E /home/oracle/database/rdbms/lib/opimai.o /home/oracle/database/rdbms/lib/ssoraed.o /home/oracle/database/rdbms/lib/ttcsoi.o -Wl,--whole-archive -lperfsrv18 -Wl,--no-whole-archive /home/oracle/database/lib/nautab.o /home/oracle/database/lib/naeet.o /home/oracle/database/lib/naect.o /ho
情報:
me/oracle/database/lib/naedhs.o /home/oracle/database/rdbms/lib/config.o -ldmext -lserver18 -lodm18 -lofs -lcell18 -lnnet18 -lskgxp18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lclient18 -lvsnst18 -lcommon18 -lgeneric18 -lknlopt -loraolap18 -lskjcx18 -lslax18 -lpls18 -lrt -lplp18 -ldmext -lserver18 -lclient18 -lvsnst18 -lcommon18 -lgeneric18 `if [ -f /home/oracle/database/lib/libavserver18.a ] ; then echo "-lavserver
情報:
18" ; else echo "-lavstub18"; fi` `if [ -f /home/oracle/database/lib/libavclient18.a ] ; then echo "-lavclient18" ; fi` -lknlopt -lslax18 -lpls18 -lrt -lplp18 -ljavavm18 -lserver18 -lwwg `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnro18 `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnnzst18 -lzt18 -lztkg18 -lmm -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -l
情報:
unls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lztkg18 `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnro18 `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnnzst18 -lzt18 -lztkg18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 `if /usr/bin/ar tv /home/oracle/database/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; th
情報:
en echo " " ; else echo "-lordsdo18 -lserver18"; fi` -L/home/oracle/database/ctx/lib/ -lctxc18 -lctx18 -lzx18 -lgx18 -lctx18 -lzx18 -lgx18 -lordimt -lclscest18 -loevm -lclsra18 -ldbcfg18 -lhasgen18 -lskgxn2 -lnnzst18 -lzt18 -lxml18 -lgeneric18 -locr18 -locrb18 -locrutl18 -lhasgen18 -lskgxn2 -lnnzst18 -lzt18 -lxml18 -lgeneric18 -lgeneric18 -lorazip -loraz -llzopro5 -lorabz2 -lipp_z -lipp_bz2 -lippdcemerged -lippsemerged -lippdcmerged -lippsmerged -lippcore -lippcpemerged -lippcpmerged -lsnls18 -lnls18 -
情報:
lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lsnls18 -lunls18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lasmclnt18 -lcommon18 -lcore18 -ledtn18 -laio -lons -lfthread18 `cat /home/oracle/database/lib/sysliblist` -Wl,-rpath,/home/oracle/database/lib -lm `cat /home/oracle/database/lib/sysliblist` -ldl -lm -L/home/oracle/database/lib `test -x /usr/
情報:
bin/hugeedit -a -r /usr/lib64/libhugetlbfs.so && test -r /home/oracle/database/rdbms/lib/shugetlbfs.o && echo -Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=2097152 -lhugetlbfs`
情報:
/home/oracle/database/bin/orald: 86 行: 12679 強制終了 "${cmdpfx[@]}" "${cmd[@]}" "${cmdsfx[@]}"
make: *** [/home/oracle/database/rdbms/lib/oracle] エラー 137
情報: 作成されたプロセスからの出力を終了します。
情報: ----------------------------------
情報: アクションからスローされた例外: make
例外名: MakefileException
例外文字列: Makeファイル'/home/oracle/database/rdbms/lib/ins_rdbms.mk'のターゲット'irman ioracle idrdactl idrdalsnr idrdaproc'を起動中のエラーです。詳細は'/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log'を参照してください。
例外の重大度: 1
원인
INFO: [2020/10/01 16:31:56] Using oracle.bali.ewt.olaf2.OracleLookAndFeel LookAndFeel
INFO: [2020/10/01 16:31:58] Loading localized help from jar:file:/home/oracle/database/install/jlib/instdb.jar!/oracle/install/ivw/db/resource/helpset/ja/dbinstaller_help.hs
INFO: [2020/10/01 16:32:01] セットアップ・ドライバのロード中
INFO: [2020/10/01 16:32:01] Oracle Database設定ウィザードを起動中...
INFO: [2020/10/01 16:32:01] Using default oui proxy mapping URL
INFO: [2020/10/01 16:32:01] Loading proxy mapping from jar:file:/home/oracle/database/install/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/proxy-mappings.properties
INFO: [2020/10/01 16:32:01] Using class oracle.install.driver.oui.OUISSHSupportManager as proxy for oracle.install.commons.net.support.SSHSupportManager
INFO: [2020/10/01 16:32:01] Using class oracle.install.driver.oui.OUIOracleServiceRegistry as proxy for oracle.install.commons.base.util.OracleServiceRegistry
INFO: [2020/10/01 16:32:01] Set proxy mappings to System.properties
INFO: [2020/10/01 16:32:01] ORACLE_HOME=/home/oracle/database
INFO: [2020/10/01 16:32:01] fwhome=/home/oracle/database
INFO: [2020/10/01 16:32:04] Gathering system details...
INFO: [2020/10/01 16:32:04] Gathering system details...
INFO: [2020/10/01 16:32:04] セットアップBeanの登録中
INFO: [2020/10/01 16:32:04] フローの作成中
INFO: [2020/10/01 16:32:04] Opening bean stores from which the beans can be loaded
~省略~
情報:
chmod 751 /home/oracle/database/bin/rman
情報:
chmod 755 /home/oracle/database/bin
情報:
情報:
- Linking Oracle
情報:
rm -f /home/oracle/database/rdbms/lib/oracle
情報:
/home/oracle/database/bin/orald -o /home/oracle/database/rdbms/lib/oracle -m64 -z noexecstack -Wl,--disable-new-dtags -L/home/oracle/database/rdbms/lib/ -L/home/oracle/database/lib/ -L/home/oracle/database/lib/stubs/ -Wl,-E /home/oracle/database/rdbms/lib/opimai.o /home/oracle/database/rdbms/lib/ssoraed.o /home/oracle/database/rdbms/lib/ttcsoi.o -Wl,--whole-archive -lperfsrv18 -Wl,--no-whole-archive /home/oracle/database/lib/nautab.o /home/oracle/database/lib/naeet.o /home/oracle/database/lib/naect.o /ho
情報:
me/oracle/database/lib/naedhs.o /home/oracle/database/rdbms/lib/config.o -ldmext -lserver18 -lodm18 -lofs -lcell18 -lnnet18 -lskgxp18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lclient18 -lvsnst18 -lcommon18 -lgeneric18 -lknlopt -loraolap18 -lskjcx18 -lslax18 -lpls18 -lrt -lplp18 -ldmext -lserver18 -lclient18 -lvsnst18 -lcommon18 -lgeneric18 `if [ -f /home/oracle/database/lib/libavserver18.a ] ; then echo "-lavserver
情報:
18" ; else echo "-lavstub18"; fi` `if [ -f /home/oracle/database/lib/libavclient18.a ] ; then echo "-lavclient18" ; fi` -lknlopt -lslax18 -lpls18 -lrt -lplp18 -ljavavm18 -lserver18 -lwwg `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnro18 `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnnzst18 -lzt18 -lztkg18 -lmm -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -l
情報:
unls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lztkg18 `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnro18 `cat /home/oracle/database/lib/ldflags` -lncrypt18 -lnsgr18 -lnzjs18 -ln18 -lnl18 -lngsmshd18 -lnnzst18 -lzt18 -lztkg18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 `if /usr/bin/ar tv /home/oracle/database/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; th
情報:
en echo " " ; else echo "-lordsdo18 -lserver18"; fi` -L/home/oracle/database/ctx/lib/ -lctxc18 -lctx18 -lzx18 -lgx18 -lctx18 -lzx18 -lgx18 -lordimt -lclscest18 -loevm -lclsra18 -ldbcfg18 -lhasgen18 -lskgxn2 -lnnzst18 -lzt18 -lxml18 -lgeneric18 -locr18 -locrb18 -locrutl18 -lhasgen18 -lskgxn2 -lnnzst18 -lzt18 -lxml18 -lgeneric18 -lgeneric18 -lorazip -loraz -llzopro5 -lorabz2 -lipp_z -lipp_bz2 -lippdcemerged -lippsemerged -lippdcmerged -lippsmerged -lippcore -lippcpemerged -lippcpmerged -lsnls18 -lnls18 -
情報:
lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lsnls18 -lunls18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lcore18 -lsnls18 -lnls18 -lxml18 -lcore18 -lunls18 -lsnls18 -lnls18 -lcore18 -lnls18 -lasmclnt18 -lcommon18 -lcore18 -ledtn18 -laio -lons -lfthread18 `cat /home/oracle/database/lib/sysliblist` -Wl,-rpath,/home/oracle/database/lib -lm `cat /home/oracle/database/lib/sysliblist` -ldl -lm -L/home/oracle/database/lib `test -x /usr/
情報:
bin/hugeedit -a -r /usr/lib64/libhugetlbfs.so && test -r /home/oracle/database/rdbms/lib/shugetlbfs.o && echo -Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=2097152 -lhugetlbfs`
情報:
/home/oracle/database/bin/orald: 86 行: 12679 強制終了 "${cmdpfx[@]}" "${cmd[@]}" "${cmdsfx[@]}"
make: *** [/home/oracle/database/rdbms/lib/oracle] エラー 137
情報: 作成されたプロセスからの出力を終了します。
情報: ----------------------------------
情報: アクションからスローされた例外: make
例外名: MakefileException
例外文字列: Makeファイル'/home/oracle/database/rdbms/lib/ins_rdbms.mk'のターゲット'irman ioracle idrdactl idrdalsnr idrdaproc'を起動中のエラーです。詳細は'/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log'を参照してください。
例外の重大度: 1
「 Oracle Database 설치의 서버 하드웨어 체크리스트 」의 「최소 RAM」에 이하의 기재가 있습니다.
체크 내용
작업
최소 RAM
· Oracle Database를 설치하려면 1GB 이상의 RAM이 필요합니다. 2GB RAM을 권장합니다. · Oracle Grid Infrastructure를 설치하려면 8GB 이상의 RAM이 필요합니다.
또한 "Oracle Database 설치의 서버 구성 체크리스트"의 "RAM에 상대적인 스왑 영역 할당 (Oracle Database)"에 다음이 포함되어 있습니다.
체크 내용
작업
RAM에 상대적인 스왑 공간 할당 (Oracle Database)
1GB ~ 2GB: RAM 크기의 1.5배 분을 사용 가능한 RAM에서 공제해야 합니다.
해결 방법
1. (그 1) 스왑 영역을 확장한다
다음 절차에 따라 스왑 공간을 확장하여 설치할 수 있습니다.
먼저 스왑 사용량을 장치별로 표시합니다.swapon -s
실행 결과[root@CENTOS7 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 1679356 624384 -2
/swapfile file 1048572 0 -3
[root@CENTOS7 ~]#
스왑 영역에 대한 파일(여기서는 "swapfile2")을 만듭니다.dd if=/dev/zero of=/swapfile2 bs=1M count=4096
(블록 사이즈:1M 4096개)
실행 결과[root@CENTOS7 ~]# dd if=/dev/zero of=/swapfile2 bs=1M count=4096
4096+0 レコード入力
4096+0 レコード出力
4294967296 バイト (4.3 GB) コピーされました、 89.4434 秒、 48.0 MB/秒
[root@CENTOS7 ~]#
작성한 「swapfile2」의 권한을 `-rw-------(600)
로 합니다.chmod 600 /swapfile2
실행 결과[root@CENTOS7 ~]# chmod 600 /swapfile2
[root@CENTOS7 ~]#
파일(swapfile2)을 스왑 영역으로 준비합니다.mkswap /swapfile2
실행 결과[root@CENTOS7 ~]# mkswap /swapfile2
スワップ空間バージョン1を設定します、サイズ = 4194300 KiB
ラベルはありません, UUID=720ce12a-69db-4880-88c7-7f91e19eadc0
[root@CENTOS7 ~]#
스왑 영역을 활성화합니다.swapon /swapfile2
실행 결과[root@CENTOS7 ~]# swapon /swapfile2
[root@CENTOS7 ~]#
다시 스왑 사용량을 장치별로 표시합니다.swapon -s
실행 결과[root@CENTOS7 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 1679356 622336 -2
/swapfile file 1048572 0 -3
/swapfile2 file 4194300 0 -4
[root@CENTOS7 ~#
여기에서는 일시적으로 스왑 영역을 확장했을 뿐이므로 「/etc/fstab」는 변경하고 있지 않습니다. 영속화하려면 "/etc/fstab"에 추가해야 합니다.
2. (그 2) 메모리(RAM)를 확장한다
스왑 영역을 확장해도 해결할 수 없는 경우 메모리(RAM)를 늘려 해결했습니다.
Virtualbox의 경우 OS를 종료합니다.systemctl poweroff
Oracle VN VairtualBox Manager에서 대상 OS를 선택하고 설정을 클릭합니다.
"시스템"을 선택하여 메인 메모리의 값을 늘리고("2048MB"이상 정도로 한다: 여기에서는 "3072MB") "확인"을 클릭한다.
대상 OS를 선택하고 "시작"을 클릭합니다.
메인 메모리의 값이 바뀌었으므로 다시 커널 파라미터를 설정합니다.
"etc/sysctl.d/97-oracle-database-sysctl.conf"를 재정의하여 재구성하십시오.
MEMTOTAL=$(free -b | sed -n '2p' | awk '{print $2}')
SHMMAX=$(expr $MEMTOTAL / 2)
SHMMNI=4096
PAGESIZE=$(getconf PAGE_SIZE)
cat > /etc/sysctl.d/97-oracle-database-sysctl.conf << EOF
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = $SHMMAX
kernel.shmall = $(expr \( $SHMMAX / $PAGESIZE \) \* \( $SHMMNI / 16 \))
kernel.shmmni = $SHMMNI
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
EOF
실행 결과[root@CENTOS7 ~]# MEMTOTAL=$(free -b | sed -n '2p' | awk '{print $2}')
[root@CENTOS7 ~]# SHMMAX=$(expr $MEMTOTAL / 2)
[root@CENTOS7 ~]# SHMMNI=4096
[root@CENTOS7 ~]# PAGESIZE=$(getconf PAGE_SIZE)
[root@CENTOS7 ~]# cat > /etc/sysctl.d/97-oracle-database-sysctl.conf << EOF
> fs.aio-max-nr = 1048576
> fs.file-max = 6815744
> kernel.shmmax = $SHMMAX
> kernel.shmall = $(expr \( $SHMMAX / $PAGESIZE \) \* \( $SHMMNI / 16 \))
> kernel.shmmni = $SHMMNI
> kernel.sem = 250 32000 100 128
> net.ipv4.ip_local_port_range = 9000 65500
> net.core.rmem_default = 262144
> net.core.rmem_max = 4194304
> net.core.wmem_default = 262144
> net.core.wmem_max = 1048576
> EOF
[root@CENTOS7 ~]#
다음 명령으로 커널 매개변수를 설정합니다.sysctl --system
실행 결과[root@CENTOS7 ~]# sysctl --system
* Applying /usr/lib/sysctl.d/00-system.conf ...
* Applying /usr/lib/sysctl.d/10-default-yama-scope.conf ...
kernel.yama.ptrace_scope = 0
* Applying /usr/lib/sysctl.d/50-default.conf ...
kernel.sysrq = 16
kernel.core_uses_pid = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.conf.all.promote_secondaries = 1
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /usr/lib/sysctl.d/60-libvirtd.conf ...
fs.aio-max-nr = 1048576
* Applying /etc/sysctl.d/97-oracle-database-sysctl.conf ...
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 1576521728
kernel.shmall = 98532608
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
* Applying /etc/sysctl.d/99-sysctl.conf ...
fs.file-max = 6815744
* Applying /etc/sysctl.conf ...
fs.file-max = 6815744
[root@CENTOS7 ~]#
참고
CentOS7 스왑 파일(swap file)을 만드는 방법
이상
Reference
이 문제에 관하여(Oracle 설치시 오류 해결 "Make 파일 '/home/oracle/database/rdbms/lib/ins_rdbms.mk'의 대상 'irman ioracle idrdactl idrdalsnr idrdaproc'을 시작하는 중 오류입니다."), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/yasushi-jp/items/3c26158427af00971676
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
[root@CENTOS7 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 1679356 624384 -2
/swapfile file 1048572 0 -3
[root@CENTOS7 ~]#
[root@CENTOS7 ~]# dd if=/dev/zero of=/swapfile2 bs=1M count=4096
4096+0 レコード入力
4096+0 レコード出力
4294967296 バイト (4.3 GB) コピーされました、 89.4434 秒、 48.0 MB/秒
[root@CENTOS7 ~]#
[root@CENTOS7 ~]# chmod 600 /swapfile2
[root@CENTOS7 ~]#
[root@CENTOS7 ~]# mkswap /swapfile2
スワップ空間バージョン1を設定します、サイズ = 4194300 KiB
ラベルはありません, UUID=720ce12a-69db-4880-88c7-7f91e19eadc0
[root@CENTOS7 ~]#
[root@CENTOS7 ~]# swapon /swapfile2
[root@CENTOS7 ~]#
[root@CENTOS7 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 1679356 622336 -2
/swapfile file 1048572 0 -3
/swapfile2 file 4194300 0 -4
[root@CENTOS7 ~#
SHMMAX=$(expr $MEMTOTAL / 2)
SHMMNI=4096
PAGESIZE=$(getconf PAGE_SIZE)
cat > /etc/sysctl.d/97-oracle-database-sysctl.conf << EOF
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = $SHMMAX
kernel.shmall = $(expr \( $SHMMAX / $PAGESIZE \) \* \( $SHMMNI / 16 \))
kernel.shmmni = $SHMMNI
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
EOF
[root@CENTOS7 ~]# MEMTOTAL=$(free -b | sed -n '2p' | awk '{print $2}')
[root@CENTOS7 ~]# SHMMAX=$(expr $MEMTOTAL / 2)
[root@CENTOS7 ~]# SHMMNI=4096
[root@CENTOS7 ~]# PAGESIZE=$(getconf PAGE_SIZE)
[root@CENTOS7 ~]# cat > /etc/sysctl.d/97-oracle-database-sysctl.conf << EOF
> fs.aio-max-nr = 1048576
> fs.file-max = 6815744
> kernel.shmmax = $SHMMAX
> kernel.shmall = $(expr \( $SHMMAX / $PAGESIZE \) \* \( $SHMMNI / 16 \))
> kernel.shmmni = $SHMMNI
> kernel.sem = 250 32000 100 128
> net.ipv4.ip_local_port_range = 9000 65500
> net.core.rmem_default = 262144
> net.core.rmem_max = 4194304
> net.core.wmem_default = 262144
> net.core.wmem_max = 1048576
> EOF
[root@CENTOS7 ~]#
[root@CENTOS7 ~]# sysctl --system
* Applying /usr/lib/sysctl.d/00-system.conf ...
* Applying /usr/lib/sysctl.d/10-default-yama-scope.conf ...
kernel.yama.ptrace_scope = 0
* Applying /usr/lib/sysctl.d/50-default.conf ...
kernel.sysrq = 16
kernel.core_uses_pid = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.conf.all.promote_secondaries = 1
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /usr/lib/sysctl.d/60-libvirtd.conf ...
fs.aio-max-nr = 1048576
* Applying /etc/sysctl.d/97-oracle-database-sysctl.conf ...
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 1576521728
kernel.shmall = 98532608
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
* Applying /etc/sysctl.d/99-sysctl.conf ...
fs.file-max = 6815744
* Applying /etc/sysctl.conf ...
fs.file-max = 6815744
[root@CENTOS7 ~]#
CentOS7 스왑 파일(swap file)을 만드는 방법
이상
Reference
이 문제에 관하여(Oracle 설치시 오류 해결 "Make 파일 '/home/oracle/database/rdbms/lib/ins_rdbms.mk'의 대상 'irman ioracle idrdactl idrdalsnr idrdaproc'을 시작하는 중 오류입니다."), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/yasushi-jp/items/3c26158427af00971676텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)