|
藍森林 http://www.lslnet.com 2006年8月26日 15:18
跪求良策,監聽器問題!!
[oracle@biodb1 ~]$ lsnrctl
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 08-MAR-2006 17:16:04
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Message 850 not found; No message file for product=network, facility=NL
LSNRCTL>
以上錯誤,我在網上找了好久,可能引起以上錯誤的原因有三:
1。環境變量設置有問題(我的環境變量
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=/home/oracle/product/10.1/db_1
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
export LC_CTYPE=en_US.UTF-8
export LD_ASSUME_KERNEL=2.4.19
export TERM=xterm
export ORAENV_ASK=NO
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
這個是我剛剛重新編輯的,有問題還請指出
)
2。沒有權限讀network/mesg文件夾中的內容(應該不是這個問題)
3。listener.ora配置文件有誤(曾經在本論壇貼出,被告知無誤)
根據以上原因,我對照檢查了很久,甚至刪掉oracle用戶重裝了oracle10g問題還是會出現。
請各位高人幫偶,看看,偶已經鬱悶好幾天了!!感激涕零!! |
env檢查一下環境變量,感覺沒生效... |
tnsping service_name |
可能是你的network/mesg文件被損壞了 |
謝謝上面3位的回帖。
1。env之後以上的環境變量仍然存在,我想應該是有效的
2。tnsping service_name顯示如下,不知何故:
[oracle@biodb1 ~]$ tnsping service_name
TNS Ping Utility for Linux: Version 10.1.0.3.0 - Production on 09-MAR-2006 08:02:09
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Message 3511 not found; No message file for product=network, facility=TNSTNS-03505: Message 3505 not found; No message file for product=network, facility=TNS
3。我把數據庫重新安裝過一遍,甚至刪掉了oracle用戶又重新安裝的,這樣也不能修復network/mesg中的文件麼?
還請各位再幫幫我!! |
把錯誤貼出來 |
輸入lsnrctl就會出現以下錯誤,我一直在線,qq52645519,若還需要任何錯誤信息幫助分析,我馬上貼出
[oracle@biodb1 ~]$ lsnrctl
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 08-MAR-2006 17:16:04
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Message 850 not found; No message file for product=network, facility=NL
LSNRCTL> |
如果輸入lsnrctl status,會出現:
Message 1053 not found; No message file for product=network, facility=TNSMessage 1020 not found; No message file for product=network, facility=TNSMessage 1021 not found; No message file for product=network, facility=TNSMessage 1022 not found; No message file for product=network, facility=TNSMessage 1023 not found; No message file for product=network, facility=TNSMessage 1026 not found; No message file for product=network, facility=TNSMessage 1034 not found; No message file for product=network, facility=TNSMessage 1024 not found; No message file for product=network, facility=TNSMessage 1025 not found; No message file for product=network, facility=TNSMessage 1040 not found; No message file for product=network, facility=TNSMessage 1033 not found; No message file for product=network, facility=TNSMessage 1028 not found; No message file for product=network, facility=TNSMessage 1415 not found; No message file for product=network, facility=TNS Message 1050 not found; No message file for product=network, facility=TNS
Message 1050 not found; No message file for product=network, facility=TNS
Message 1029 not found; No message file for product=network, facility=TNSMessage 1411 not found; No message file for product=network, facility=TNS
Message 1408 not found; No message file for product=network, facility=TNS
Message 1411 not found; No message file for product=network, facility=TNS
Message 1408 not found; No message file for product=network, facility=TNS
Message 1052 not found; No message file for product=network, facility=TNS |
請大家幫我一下好麼?我都著急死了 |
應該就是oracle_home設置的不對,根據實際安裝情況,改正! |
不能啊,ORACLE_HOME應該是沒問題的
還有,這個問題可能是在設置了自啟動之後出現的,自啟動設置沒有成功,我刪除了啟動腳本。但是問題仍然存在,請大家指點 |
新建一個監聽,是否能起來呢 |
如何新建監聽?請說的仔細一些,我立刻去驗證 |
1.安裝時候用的什麼用戶???不應該用root用戶
2.確保ORACLE_HOME 和PATH 環境變量是正確的,並且檢查.bashrc文件裡面的環境變量設置
3.啟動監聽器的時候必須用的oracle用戶 |
覺得還是 $ORACLE_HOME 的 路徑 product 設置問題。 |
1.安裝的時候用的oracle用戶
2.環境變量就是我貼出來的那樣,於實際路徑沒有差異,環境變量不是寫在.bash_profile中麼?.bashrc是什麼?
3.啟動監聽器的確用的是oracle用戶
以上我都認真檢查過,問題沒有解決 |
-->
能不能說的詳細些?什麼叫「$ORACLE_HOME 的 路徑 product 設置問題」? |
還有,我本來安裝成功了,但是有一段時間我不在,別人在機器上設置oracle自啟動沒有成功,這個問題也隨之出現,自啟動的腳本我刪除了,可是問題卻沒有解決! |
請各位高手們來幫我想想還有什麼可能會導致這個錯誤產生,我實在是著急啊!! |
為什麼不在自啟動沒有成功的操作上找找原因呢
只是建議/cy |
| |