Bei der Installation von Oracle 18c unter CentOS 7 Fehler beim Starten von target'irman ioracle idrdactl idrdalsnr idrdaproc'in Erstellen Sie die Datei '/ home / oracle / database / rdbms / lib / ins_rdbms.mk'. Weitere Informationen finden Sie unter '/ tmp / InstallActions2020-10-01_04-31-44PM / installActions2020-10-01_04-31-44PM.log'. </ b> </ font> Ich werde die zu lösende Methode vorstellen, wenn das Problem auftritt.
[root@CENTOS7 ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
[root@CENTOS7 ~]#
Fehler beim Starten von target'irman ioracle idrdactl idrdalsnr idrdaproc'in Erstellen Sie die Datei '/ home / oracle / database / rdbms / lib / ins_rdbms.mk'. Weitere Informationen finden Sie unter '/ tmp / InstallActions2020-10-01_04-31-44PM / installActions2020-10-01_04-31-44PM.log'. </ 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]Setup-Treiber wird geladen
INFO: [2020/10/01 16:32:01]Starten des 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]Setup Bean registrieren
INFO: [2020/10/01 16:32:04]Flow erstellen
INFO: [2020/10/01 16:32:04] Opening bean stores from which the beans can be loaded
~ Ausgelassen ~
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 Zeilen:12679 Zwangsbeendigung"${cmdpfx[@]}" "${cmd[@]}" "${cmdsfx[@]}"
make: *** [/home/oracle/database/rdbms/lib/oracle]Fehler 137
Information:Beendet die Ausgabe des erstellten Prozesses.
Information: ----------------------------------
Information:Ausnahme von der Aktion geworfen: make
Ausnahmename: MakefileException
Ausnahmezeichenfolge:Datei erstellen'/home/oracle/database/rdbms/lib/ins_rdbms.mk'Ziel'irman ioracle idrdactl idrdalsnr idrdaproc'Dies ist ein Fehler beim Start. Detail ist'/tmp/InstallActions2020-10-01_04-31-44PM/installActions2020-10-01_04-31-44PM.log'Bitte beziehen Sie sich auf.
Schweregrad der Ausnahme: 1
"[Checkliste der Serverhardware für die Installation der Oracle-Datenbank](https://docs.oracle.com/cd/E96517_01/ladbi/server-hardware-checklist-for-oracle-database-installation.html#GUID-D311E770" -9444-45D0-A122-6491D1B66B8A "Mindest-RAM" in "Checkliste der Serverhardware für die Installation der Oracle-Datenbank") enthält die folgende Beschreibung.
Überprüfen Sie den Inhalt | Aufgabe |
---|---|
Minimaler RAM | Für die Installation von Oracle Database sind mindestens 1 GB RAM erforderlich. 2 GB RAM werden empfohlen. Für die Installation von Oracle Grid Infrastructure sind mindestens 8 GB RAM erforderlich. |
Außerdem "[Checkliste der Serverkonfiguration für die Installation der Oracle-Datenbank](https://docs.oracle.com/cd/E96517_01/ladbi/server-configuration-checklist-for-oracle-database-installation.html#GUID-CD4657FB" -2DDC-4B30-AAB4-2C927045A86D "Speicherplatzzuweisung relativ zum RAM (Oracle-Datenbank) austauschen" in "Checkliste der Serverkonfiguration für die Installation der Oracle-Datenbank") enthält die folgende Beschreibung.
Überprüfen Sie den Inhalt | Aufgabe |
---|---|
Swap Space Allocation relativ zum RAM(Oracle Database) | 1 GB bis 2 GB:RAM-Größe 1.5 mal 2 GB bis 16 GB:Entspricht der Größe des Arbeitsspeichers Größer als 16 GB: 16GB Hinweis:Wenn Sie HugePages auf einem Linux-Server aktivieren, müssen Sie den HugePages zugewiesenen Speicher vom verfügbaren RAM abziehen, bevor Sie den Swap-Speicherplatz berechnen. |
Sie können es installieren, indem Sie den Swap-Bereich erweitern, indem Sie die folgenden Schritte ausführen.
Zunächst wird für jedes Gerät der Swap-Nutzungsstatus angezeigt.
swapon -s
Ausführungsergebnis
[root@CENTOS7 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 1679356 624384 -2
/swapfile file 1048572 0 -3
[root@CENTOS7 ~]#
Erstellen Sie eine Datei für den Swap-Bereich (hier "swapfile2").
dd if=/dev/zero of=/swapfile2 bs=1M count=4096
(Blockgröße: 4096 1M)
Ausführungsergebnis
[root@CENTOS7 ~]# dd if=/dev/zero of=/swapfile2 bs=1M count=4096
4096+0 Aufzeichnungseingabe
4096+0 Datensatzausgabe
4294967296 Bytes(4.3 GB)Kopiert, 89.4434 Sekunden, 48.0 MB/Sekunden
[root@CENTOS7 ~]#
Setzen Sie die Berechtigung der erstellten "swapfile2" auf "-rw ------- (600)".
chmod 600 /swapfile2
Ausführungsergebnis
[root@CENTOS7 ~]# chmod 600 /swapfile2
[root@CENTOS7 ~]#
Bereiten Sie die Datei (swapfile2) als Auslagerungsbereich vor.
mkswap /swapfile2
Ausführungsergebnis
[root@CENTOS7 ~]# mkswap /swapfile2
Stellen Sie die Größe des Swap Space Version 1 ein= 4194300 KiB
Kein Etikett, UUID=720ce12a-69db-4880-88c7-7f91e19eadc0
[root@CENTOS7 ~]#
Aktivieren Sie den Swap-Bereich.
swapon /swapfile2
Ausführungsergebnis
[root@CENTOS7 ~]# swapon /swapfile2
[root@CENTOS7 ~]#
Zeigen Sie die Swap-Nutzung für jedes Gerät erneut an.
swapon -s
Ausführungsergebnis
[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 ~#
Hier wird "/ etc / fstab" nicht geändert, da der Swap-Bereich nur vorübergehend erweitert wird. Sie müssen es zu "/ etc / fstab" hinzufügen, um es dauerhaft zu machen.
Wenn die Erweiterung des Swap-Bereichs nicht geholfen hat, haben wir ihn durch Erhöhen des Arbeitsspeichers (RAM) gelöst.
Fahren Sie das Betriebssystem für Virtualbox einmal herunter.
systemctl poweroff
Wählen Sie das Zielbetriebssystem im Oracle VN VairtualBox Manager aus und klicken Sie auf "Einstellungen".
Wählen Sie "System" und erhöhen Sie den Wert des Hauptspeichers ("2048 MB" oder mehr: "3072 MB" hier) und klicken Sie auf "OK".
Wählen Sie das Zielbetriebssystem und klicken Sie auf "Start".
Da sich der Wert des Hauptspeichers geändert hat, stellen Sie die Kernelparameter erneut ein. Konfigurieren Sie "etc / sysctl.d / 97-oracle-database-sysctl.conf" durch Überschreiben neu.
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
Ausführungsergebnis
[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 ~]#
Stellen Sie die Kernel-Parameter mit dem folgenden Befehl ein.
sysctl --system
Ausführungsergebnis
[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 ~]#
das ist alles