zoukankan      html  css  js  c++  java
  • redhat6.4 安装Oracle11gR2 遇到的问题

     
    1、使用的时候出现一个错误: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
        
       是因为64位系统中安装了32位程序
       解决方法:
      
    yum install glibc.i686
       
       重新安装以后还有如下类系错误 再继续安装包
        
       error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
      
    yum install libstdc++.so.6
     

    2、Sql plus命令报command not found

    2.1问题描述
    环境:linux9, Oracle10g.
    在一台装有Oracle10g的Linux机器上,我运行sqlplus命令,报错"command not found",
    运行别的命令(如:lsnrctl)也同样的错误。初步怀疑是路径问题,然后我尝试cd $oracle_home/bin下,
    再次运行这些命令,还是同样的错误。但用ls能看到这些命令的存在。

    2.2分析和解决
    这种情况应该是路径的问题,应该Oracle刚刚安装成功的,而且安装过程中没有出现异常。
    我echo $ORACLE_HOME为空,echo $PATH也为空,问题就出在这里了。
    然后我
    export ORACLE_HOME=<your Oracle Home>//类似于:ORACLE_BASE/product/10.2.0/db_1
    export PATH=$ORACLE_HOME/bin:$PATH
    再次运行sqlplus命令,ok,可以了。

    最后,进入root用户使用gedit编辑 .profile文件,命令为:

    sudo gedit .profile


    export ORACLE_HOME=<your Oracle Home>
    export PATH=$ORACLE_HOME/bin:$PATH
    加入.profile中。保存。
    用source .profile启用该资源文件,命令为:

    source .profile

    重新进入Linux系统,sqlplus命令一切正常。

    //我按照该方法设置后,每次启动还是不行,需要重新配置

    3.安装过程中报错:
    This is a prerequisite condition to test whether the hard limit for "maximum open file descriptors" is set correctly. (more details)
    Expected Value
     : 65536
    Actual Value
     : 4096
     
     
  • 相关阅读:
    Dubbo限制大数据传输的解决方案
    出现The folder is already a source folder
    用Eclipse进行远程Debug代码
    Scanner和BufferReader之区别
    IO操作中的建议
    Android Serialization序列化
    flash画图API:解析obj格式
    UVA 6475 Effective Infection Time
    swift user guide.pdf下载
    【cocos2d-x制作别踩白块儿】第一期:游戏介绍
  • 原文地址:https://www.cnblogs.com/anan1688/p/4627566.html
Copyright © 2011-2022 走看看