日期:2014-05-16 浏览次数:20633 次
一:
在XP下安装Oracle(10g)安装正常,安装完了以后使用也正常;
但在计算机重启后,重新登陆时就出现ORA-12514: TNS:listener does not currently know of service
requested in connect descriptor。
网上查下,用以下办法解决:
在安装目录下: /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
将:SID_LIST_LISTENER?? =
??? (SID_LIST?? =
??????? (SID_DESC?? =
??????????? (SID_NAME?? =?? PLSExtProc)
??????????? (ORACLE_HOME?? =?? E:\oracle\product\10.1.0\Db_1)
??????????? (PROGRAM?? =?? extproc)
??????? )
??? )
改为:
SID_LIST_LISTENER?? =
??? (SID_LIST?? =
??????? (SID_DESC?? =
??????????? (SID_NAME?? =?? PLSExtProc)
??????????? (ORACLE_HOME?? =?? E:\oracle\product\10.1.0\Db_1)
??????????? (PROGRAM?? =?? extproc)
??????? )
??????? (SID_DESC?? =
??????????? (GOLBAL_DBNAME=?? orcl)
??????????? (ORACLE_HOME?? =?? E:\oracle\product\10.1.0\Db_1)
??????????? (SID_NAME=orcl)
??????? )
??? )
然后重启服务和监听以后,登陆正常。
注:我的实践是整个listener.ora文件只配一个SID_LIST_LISTENER
?
?
二:
?