• Centos8 安装 Oracle 11g (还未成功)


     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
    View Code
    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.
    View Code
    [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.
  • 相关阅读:
    SpringBoot中mybatis配置自动转换驼峰标识没有生效
    mybatis-plus-扩展使用
    myabtis-plus使用
    mybatis-plus特性
    Mariadb Galera Cluster 故障快速拉起
    galera集群启动异常问题汇总
    Galera Cluster grastate.dat文件详解
    mongodb配置文件详解
    wsrep配置一览
    MySQL Galera cluster集群常用参数说明
  • 原文地址:https://www.cnblogs.com/xiaoruilin/p/13183432.html
Copyright © 2020-2023  润新知