[unix] 如何遠程登入ORACLE

來源:互聯網
上載者:User
作者:oases     時間:01-11-01 11:48

如何遠程登入ORACLE

現有一ORACLE資料庫,系統平台是SUN OS

我想用TELNET登入ORACLE,操作如下步驟:
1. 用ROOT使用者登入
2. 用SU -ORACLE命令進入ORACLE
3. 運行$svrmgrl
可是這以後並沒有出現 svrmgrl> 這樣的提示符。

我哪裡做錯?請指教,謝謝!

作者:snowhite2000     時間:01-11-01 11:51

use su - oracle

-oracle will not run oracle user profile
- oracle will run oracle user profile

you may not have oracle environment setup for root user.

作者:jimin.duan     時間:01-11-01 12:38

你可以看一下路徑,
$ echo $PATH 或者直接用
$ $ORACLE_HOME/bin/svrmgrl

作者:strongenough     時間:01-11-01 13:05

同意snowhite2000的一種情況……

su - oracle
哈哈~我就犯過這毛病。

作者:ArthurXu     時間:01-11-02 14:10

要想使用Oracle的工具,首先必須有正確的環境變數才可以!

要想使用Oracle的工具,首先必須有正確的環境變數才可以!

作者:zhuyg     時間:01-11-02 14:16

check your path and env oracle_sid etc.

作者:oases     時間:01-11-02 14:50

quote:

最初由 snowhite2000 發布
use su - oracle

-oracle will not run oracle user profile
- oracle will run oracle user profile

you may not have oracle environment setup for root user.

老天!這麼微妙的區別呀!!!!

這UNIX真是……

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.