zoukankan      html  css  js  c++  java
  • DBCA创建oracle时提示 file etc oratab is not accessible

    这种原因是安装oracle的时候,忘记去执行 一个root.sh文件了,当然,需要用root用户执行:
    解决办法:
    [root@localhost 10.2.0]#cd /oracle/product/10.2.0/db_1

    [root@localhost 10.2.0]# ./root.sh

    The following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME= /opt/oracle/product/10g

    Enter the full pathname of the local bin directory: [/usr/local/bin]:
       Copying dbhome to /oracle/product/10.2.0/db_1/bin


    ./root.sh: line 155: [: too many arguments
    ./root.sh: line 175: [: too many arguments
       Copying dbhome to Copying dbhome to /oracle/product/10.2.0/db_1/bin ...
    ./root.sh: line 175: [: too many arguments
       Copying oraenv to Copying dbhome to /oracle/product/10.2.0/db_1/bin ...
    ./root.sh: line 175: [: too many arguments
       Copying coraenv to Copying dbhome to /oracle/product/10.2.0/db_1/bin ...


    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.

  • 相关阅读:
    python+django+uwsgi 搭建环境
    python系列-3 pyenv的使用
    生产消费者队列(TaskCompletionSource)的应用
    socket
    Redis 参考
    webform调用windows服务
    文件编码格式获取
    webform版部分视图与请求拦截
    asp.net 自定义节配置 (configSections下的section)
    组合配置草稿
  • 原文地址:https://www.cnblogs.com/datalife/p/1985253.html
Copyright © 2011-2022 走看看