When installing Oracle 18c on CentOS 7 Error starting target'irman ioracle idrdactl idrdalsnr idrdaproc' for Make file'/home/oracle/database/rdbms/lib/ins_rdbms.mk'. See'/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log' for more information. </ b> </ font> I will introduce the method to solve when the problem occurs.
[root@CENTOS7 ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
[root@CENTOS7 ~]#
Error starting target'irman ioracle idrdactl idrdalsnr idrdaproc' for Make file'/home/oracle/database/rdbms/lib/ins_rdbms.mk'. See'/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log' for more information. </ b> </ font>
/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log
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]Loading setup driver
INFO: [2020/10/01 16:32:01]Starting the Oracle Database Configuration Wizard...
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]Registering setup bean
INFO: [2020/10/01 16:32:04]Creating a flow
INFO: [2020/10/01 16:32:04] Opening bean stores from which the beans can be loaded
~ Omitted ~
information:
chmod 751 /home/oracle/database/bin/rman
information:
chmod 755 /home/oracle/database/bin
information:
information:
- Linking Oracle
information:
rm -f /home/oracle/database/rdbms/lib/oracle
information:
/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
information:
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
information:
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
information:
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
information:
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 -
information:
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/
information:
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`
information:
/home/oracle/database/bin/orald:86 lines:12679 Forced termination"${cmdpfx[@]}" "${cmd[@]}" "${cmdsfx[@]}"
make: *** [/home/oracle/database/rdbms/lib/oracle]Error 137
information:Terminates the output from the created process.
information: ----------------------------------
information:Exception thrown from action: make
Exception name: MakefileException
Exception string:Make file'/home/oracle/database/rdbms/lib/ins_rdbms.mk'Target'irman ioracle idrdactl idrdalsnr idrdaproc'This is an error while starting. Detail is'/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log'Please refer to.
Exception severity: 1
"[Checklist of Server Hardware for Oracle Database Installation](https://docs.oracle.com/cd/E96517_01/ladbi/server-hardware-checklist-for-oracle-database-installation.html#GUID-D311E770" -9444-45D0-A122-6491D1B66B8A "Minimum RAM" in "Checklist of Server Hardware for Oracle Database Installation") "has the following description.
Check contents | task |
---|---|
Minimum RAM | -At least 1GB of RAM is required to install Oracle Database. 2GB of RAM is recommended. -8GB or more of RAM is required to install Oracle Grid Infrastructure. |
Also, "[Checklist for Oracle Database Installation Server Configuration](https://docs.oracle.com/cd/E96517_01/ladbi/server-configuration-checklist-for-oracle-database-installation.html#GUID-CD4657FB" -2DDC-4B30-AAB4-2C927045A86D "Swap space allocation relative to RAM (Oracle Database)" in "Checklist of Server Configuration for Oracle Database Installation") "has the following description.
Check contents | task |
---|---|
Swap space allocation relative to RAM(Oracle Database) | 1GB to 2GB:RAM size 1.5 times 2GB to 16GB:Equal to the size of RAM Larger than 16GB: 16GB Caution:If you enable HugePages on a Linux server, you must deduct the memory allocated to HugePages from the available RAM before calculating the swap space. |
You can install it by expanding the swap area by following the steps below.
First, the swap usage status is displayed for each device.
swapon -s
Execution result
[root@CENTOS7 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 1679356 624384 -2
/swapfile file 1048572 0 -3
[root@CENTOS7 ~]#
Create a file for swap space (here "swapfile2").
dd if=/dev/zero of=/swapfile2 bs=1M count=4096
(Block size: 4096 1M)
Execution result
[root@CENTOS7 ~]# dd if=/dev/zero of=/swapfile2 bs=1M count=4096
4096+0 Record input
4096+0 record output
4294967296 bytes(4.3 GB)Copied, 89.4434 seconds, 48.0 MB/Seconds
[root@CENTOS7 ~]#
Set the authority of the created "swapfile2" to `` -rw ------- (600) .
chmod 600 /swapfile2`
Execution result
[root@CENTOS7 ~]# chmod 600 /swapfile2
[root@CENTOS7 ~]#
Prepare the file (swapfile2) as a swap area.
mkswap /swapfile2
Execution result
[root@CENTOS7 ~]# mkswap /swapfile2
Set swap space version 1, size= 4194300 KiB
No label, UUID=720ce12a-69db-4880-88c7-7f91e19eadc0
[root@CENTOS7 ~]#
Enable swap space.
swapon /swapfile2
Execution result
[root@CENTOS7 ~]# swapon /swapfile2
[root@CENTOS7 ~]#
View swap usage again for each device.
swapon -s
Execution result
[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 ~#
Here, "/ etc / fstab" is not changed because the swap area is only temporarily expanded. You need to add it to "/ etc / fstab" to make it persistent.
If expanding the swap area did not help, we solved it by increasing the memory (RAM).
In case of Virtualbox, shut down the OS once.
systemctl poweroff
Select the target OS in the Oracle VN VairtualBox Manager and click "Settings".
Select "System" and increase the value of the main memory ("2048 MB" or more: "3072 MB" here) and click "OK".
Select the target OS and click "Start".
Since the value of the main memory has changed, set the kernel parameters again. Reconfigure "etc / sysctl.d/97-oracle-database-sysctl.conf" by overwriting.
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
Execution result
[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 ~]#
Set the kernel parameters with the following command.
sysctl --system
Execution result
[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 ~]#
that's all