1. 程式人生 > >Oracle裝完後,計算機名改了,監聽程式無法啟動!

Oracle裝完後,計算機名改了,監聽程式無法啟動!

istenner.ora如下:
---------------------------------------------------------------
SID_LIST_LISTENER =
  (SID_LIST =
  (SID_DESC =
  (SID_NAME = PLSExtProc)
  (ORACLE_HOME = D:\oracle\product\10.1.0\Db_1)
  (PROGRAM = extproc)
  )
  )

LISTENER =
  (DESCRIPTION_LIST =
  (DESCRIPTION =
  (ADDRESS_LIST =
  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))

  )
  (ADDRESS_LIST =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
  )
  )
  )
修改安裝盤:\Oracle\network\admin\listener.ora 檔案中的HOST 值,
將後面值改成IP試一下。
如:HOST=192.168.1.55。或者改成自己現在的使用者名稱即可。如HOST=abao