天天看點

oracle 11g不能啟動,Oracle 11g 監聽服務啟動不了

監聽日志顯示:

Tue Apr 18 20:35:36 2017

Message 459 not found; No message file for product=NETWORK, facility=NL

Message 279 not found; No message file for product=NETWORK, facility=NL

Message 509 not found; No message file for product=NETWORK, facility=NL

Message 510 not found; No message file for product=NETWORK, facility=NL

Message 1081 not found; No message file for product=NETWORK, facility=TNS

Message 1074 not found; No message file for product=NETWORK, facility=TNS

Message 1050 not found; No message file for product=NETWORK, facility=TNS

大緻可以看出來,是網絡連不上

通過在網上檢視這樣的資訊,發現是以為 Oracle_Home 環境變量設定錯誤了,其實我已經設定過這個變量,是正确的一個路徑,重新開機後還是同樣的,登入不上去。

仔細想想,11g 是不是讀取的系統資料庫中的值: 仔細一搜,真找到了幾個 ORACLE_HOME 的值;

例如:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient11g_home1

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient11g_home2

你可以搜一搜,如果搜到了。改掉就好了。