oralce 安裝問題小結

來源:互聯網
上載者:User

在 $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. 建立之。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.