http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.html
安裝依賴時報錯:
No match for argument: compat-libstdc++-33 https://pkgs.org/download/compat-libstdc++-33 compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm https://centos.pkgs.org/7/centos-x86_64/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm.html http://mirror.centos.org/centos/7/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm 安裝rpm文件 rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm 卸載rpm里面的軟件 rpm -e 軟件名 升級軟件包 rpm -Uvh 升級包名.rpm
No match for argument: pdksh
http://mirror.centos.org/centos/
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
https://pkgs.org/download/pdksh
https://altlinux.pkgs.org/sisyphus/classic-x86_64/pdksh-5.2.14-alt5.x86_64.rpm.html
http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/x86_64/RPMS.classic/pdksh-5.2.14-alt5.x86_64.rpm
[root@localhost 下載]# rpm -ivh pdksh-5.2.14-alt5.x86_64.rpm
錯誤:依賴檢測失敗:
pdksh 與 (已安裝) ksh-20120801-254.el8.x86_64 沖突
[root@localhost 下載]# rpm -ivh --nodeps pdksh-5.2.14-alt5.x86_64.rpm
Verifying... ################################# [100%]
准備中... ################################# [100%]
試圖安裝 pdksh-1:5.2.14-alt5.x86_64 和 pdksh-1:5.2.14-alt5.x86_64 會導致文件 /usr/bin/ksh 沖突
[root@localhost 下載]# rpm -e ksh
chown -R oracle:oinstall /u01/oracle
chmod -R 775 /u01/oracle
准備從以下地址啟動 Oracle Universal Installer /tmp/OraInstall2020-06-23_08-00-54PM. 請稍候...Picked up _JAVA_OPTIONS: -Xms64m -Xmx64m -Xmn32m There was an error trying to initialize the HPI library. Please check your installation, HotSpot does not work correctly when installed in the JDK 1.2 Linux Production Release, or with any JDK 1.1.x release. Could not create the Java virtual machine.
錯誤: 問題 1: package ksh-20120801-254.el8.x86_64 conflicts with pdksh provided by pdksh-5.2.14-30.x86_64 - conflicting requests - problem with installed package pdksh-5.2.14-30.x86_64 問題 2: problem with installed package libcurl-7.61.1-12.el8.x86_64 - package libcurl-minimal-7.61.1-12.el8.x86_64 conflicts with libcurl provided by libcurl-7.61.1-12.el8.x86_64 - cannot install the best candidate for the job (嘗試在命令行中添加 '--allowerasing' 來替換沖突的軟件包 或 '--skip-broken' 來跳過無法安裝的軟件包 或 '--nobest' 來不只使用最佳選擇的軟件包)
yum -y install xz wget gcc-c++ ncurses ncurses-devel \
cmake make perl openssl openssl-devel gcc* libxml2 \
libxml2-devel curl-devel libjpeg* libpng* freetype* \
make gcc-c++ cmake bison perl perl-devel perl perl-devel \
glibc-devel.i686 glibc-devel libaio readline-devel \
zlib.x86_64 zlib-devel.x86_64 libcurl-* net-tool* \
sysstat lrzsz dos2unix telnet.x86_64 iotop unzip \
ftp.x86_64 xfs* expect vim psmisc openssh-client* \
libaio bzip2 epel-release automake binutils bzip2 \
elfutils expat gawk gcc --skip-broken ksh less make openssh-server \
rpm sysstat unzip unzip cifs-utils libXext.x86_64 \
glibc.i686 binutils compat-libstdc++-33 \
elfutils-libelf elfutils-libelf-devel \
expat gcc gcc-c++ glibc glibc-common \
glibc-devel glibc-headers libaio \
libaio-devel libgcc libstdc++ libstdc++-devel \
make sysstat unixODBC unixODBC-devel libnsl
[oracle@localhost database]$ No protocol specified Exception in thread "main" java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at java.awt.Toolkit$2.run(Toolkit.java:821) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804) at javax.swing.UIManager.initialize(UIManager.java:1262) at javax.swing.UIManager.maybeInitialize(UIManager.java:1245) at javax.swing.UIManager.getUI(UIManager.java:851) at javax.swing.JPanel.updateUI(JPanel.java:104) at javax.swing.JPanel.<init>(JPanel.java:64) at javax.swing.JPanel.<init>(JPanel.java:87) at javax.swing.JPanel.<init>(JPanel.java:95) at oracle.sysman.oii.oiif.oiifo.OiifoOCMUI.<init>(OiifoOCMUI.java:125) at oracle.sysman.oii.oiif.oiifo.OiifoOCMInterfaceManager.<init>(OiifoOCMInterfaceManager.java:79) at oracle.sysman.oii.oiif.oiifo.OiifoOCMInterfaceManager.getInstance(OiifoOCMInterfaceManager.java:124) at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:123) at oracle.install.commons.util.Application.startup(Application.java:869) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181) at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265) at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114) at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
WARNING: Failed to load beanstore from file:/home/oracle/db_install.rsp. Reason: invalid character % in name WARNING: [WARNING] [INS-07009] Unable to load bean store CAUSE: Unexpected error while loading the bean store. ACTION: Refers logs or contact Oracle Support Services SUMMARY: - invalid character % in name. Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:96
WARNING: A log of this session is currently saved as: /tmp/OraInstall2020-06-23_10-34-04PM/installActions2020-06-23_10-34-04PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
[INS-07003]Unexpected error occured while accessing the bean store
ADMIN password entered is invalid
Error in invoking target 'links proc gen_pcscfg' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/precomp/lib/ins_precomp.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'idg4odbc' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/rdbms/lib/ins_rdbms.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details
Error in invoking target 'itnsping' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/network/lib/ins_net_client.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'install' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'agent nmhs' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'all_no_orcl' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/rdbms/lib/ins_rdbms.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'install' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/network/lib/ins_net_client.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'install' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/sqlplus/lib/ins_sqlplus.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'clientonlyinstall' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/ldap/lib/ins_ldap.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'ioklist' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/network/lib/ins_nau.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'utilities' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/rdbms/lib/ins_rdbms.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
Error in invoking target 'iokdstry iokinit' of makefile '/home/oracle/tools/oracle11g/product/11.2.0/dbhome_1/network/lib/ins_nau.mk'. See '/home/oracle/tools/oraInventory/logs/installActions2020-06-24_09-42-31AM.log' for details.
[INS-20802] Oracle Net Configuration Assistant failed.
