这是我的页面头部

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


 

posted @ 2009-02-24 09:19  范晨鹏  阅读(477)  评论(0)    收藏  举报