zoukankan      html  css  js  c++  java
  • oralce 安装问题小结

    在 $ORACLE_HOME/bin 目录下没有 JRE 文件夹。

    ---------------------------------------------------

    bin 目录下的 jar文件夹是一个软连接。

    我删除的时候,只删除了 product目录,致使没有生成 JRE 文件夹。

    最后的办法是删除  oracle_base 下的所有文件。

    root.sh[root@tsd01 Disk1]# /oracle/product/9204/root.sh
    Running Oracle9 root.sh script...
    "nThe following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME=  /oracle/product/9204

    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying dbhome to /usr/local/bin ...
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying oraenv to /usr/local/bin ...
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying coraenv to /usr/local/bin ...

    Adding entry to /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by

    Cannot mount database in Exclusive mode

     init 参数文件中,参数 remote_login_passwordfile在起作用。  = exclusive 起作用。

    remote_login_passwordfile = exclusive

     可设为  remote_login_passwordfile = shared

    在  exclusive 模式下,不能再启动另一个实例。可使用 ps 命令查看 oracle 实例的进程。kill them.

    ps -ef |grep <orcl>

    <orcl> 为数据库实例的名称。 

    如果报“找不到密码文件”,可以使用 oracle 提供的 orapwd tool. 创建之。


  • 相关阅读:
    代码大全第二版-阅读笔记01
    进度日报表15
    进度日报表14
    第七周总结
    进度日报表13
    进度日报表12
    进度日报表11
    系统图表联动
    算符优先分析法
    《软件需求模式》阅读笔记(一)
  • 原文地址:https://www.cnblogs.com/diylab/p/1396940.html
Copyright © 2011-2022 走看看