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. 创建之。


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值