ORACLE_SID環境變數設定的問題
明明在登錄檔裡存在環境變數ORACLE_SID的設定,可執行emctl時卻提示:
C:>emctl
Environment variable ORACLE_SID not defined. Please define it.
C:>
在系統環境變數增加ORACLE_SID的設定之後可以解決這個問題。
[@more@]在系統環境變數增加ORACLE_SID的設定之後再次執行emctl發現不會出現提示:Environment variable ORACLE_SID not defined. Please define it
印象中記得asmcmd也有這樣的問題(記不太清楚了),oracle的有些命令為什麼不去登錄檔中讀取oracle_sid?
C:>emctl start dbconsoe
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Invalid arguments
Unknown command option start
Usage::
Oracle Enterprise Manager 10g Database Control commands:
emctl start| stop| status| setpasswd dbconsole
emctl secure
emctl set ssl test|off|on em
emctl set ldap
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint options can be listed by typing "emctl ilint"
emctl deploy options can be listed by typing "emctl deploy"
C:>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting Oracle Enterprise Manager 10g Database Control ...OracleDBConsoleorcl
服務正在啟動 ...
OracleDBConsoleorcl 服務已經啟動成功。
C:>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1027181/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於環境變數設定的問題變數
- 設定環境變數變數
- RMAN環境變數的設定變數
- export 設定環境變數Export變數
- oracle環境變數設定Oracle變數
- CentOS環境變數設定CentOS變數
- redhatas 設定環境變數Redhat變數
- rman 設定環境變數變數
- JAVA環境變數設定Java變數
- 設定環境變數(轉)變數
- 環境變數的設定方法(轉)~變數
- crontab定時任務環境變數使用問題變數
- win10環境變數怎麼設定 win10設定環境變數的方法Win10變數
- java設定-JDK環境變數的設定(轉)JavaJDK變數
- Linux設定環境變數Linux變數
- c#環境變數設定C#變數
- XMLBeans 環境變數設定XMLBean變數
- Linux 環境變數設定Linux變數
- java JDK環境變數設定JavaJDK變數
- rust程式中設定和訪問環境變數Rust變數
- Mac 設定環境變數的位置、檢視和新增PATH環境變數Mac變數
- crontab定時任務環境變數丟失問題變數
- 什麼是環境變數?Python中如何設定環境變數?變數Python
- Golang環境變數設定詳解Golang變數
- JDK1.8環境變數設定JDK變數
- Centos7環境變數設定CentOS變數
- Vue 設定環境變數和模式Vue變數模式
- Mac上設定Java環境變數MacJava變數
- CentOS 6.5 Oracle 環境變數設定CentOSOracle變數
- npm scripts設定環境變數方法NPM變數
- JDK 1.6環境變數如何設定?JDK變數
- Oracle 環境變數設定標準Oracle變數
- 4.2.10.2 設定和取消設定環境變數變數
- win10環境變數設定怎麼編輯 win10設定環境變數的位置在哪Win10變數
- linux下的java環境變數設定LinuxJava變數
- win10 gcc環境變數怎麼設定_win10設定gcc環境變數步驟Win10GC變數
- 系統預設環境變數PATH設定變數
- 什麼是環境變數?python設定環境變數有什麼用?變數Python