==[[Oracle XE リスナーがらみのトラブル]]==
http://otndnld.oracle.co.jp/document/products/oracle10g/101/doc_v5/server.101/B12448-02/net12500.htm
ORAO[[R]]A-12505: TNS: リスナーは接続記述子で指定されたSIDを現在認識していませんORAO[[R]]A-12514: TNS: リスナーは接続記述子で要求されたサービスを現在認識していません
サーバーの環境を移行したりしたら、上記のようなエラー
=====設定の反映=====
#sqlplus system/*** as sysdba
[[SQL]]>alter system register
=====tnsnames.ora=====
XE =
(DESCRIPTION DESC[[R]]IPTION = (ADDRESS ADD[[R]]ESS = (PROTOCOL P[[R]]OTOCOL = TCP)(HOST = localhost)(PORT PO[[R]]T = 1521))
(CONNECT_DATA =
(SERVER SE[[R]]VE[[R]] = DEDICATED) (SERVICE_NAME SE[[R]]VICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA EXTP[[R]]OC_CONNECTION_DATA = (DESCRIPTION DESC[[R]]IPTION = (ADDRESS_LIST ADD[[R]]ESS_LIST = (ADDRESS = (PROTOCOL = IPCI[[PC]])(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION P[[R]]ESENTATION = RO[[R]]O)
)
)
ORACLR_CONNECTION_DATA O[[R]]ACL[[R]]_CONNECTION_DATA = (DESCRIPTION DESC[[R]]IPTION = (ADDRESS_LIST ADD[[R]]ESS_LIST = (ADDRESS = (PROTOCOL = IPCI[[PC]])(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = CLRExtProcCL[[R]]ExtProc) (PRESENTATION P[[R]]ESENTATION = RO[[R]]O)
)
)