ORA-12514: TNS:listener does not currently know of service

ORA-12514: TNS:listener does not currently know of service
2008-08-28 0:20

在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)
        )
    )

然后重启服务和监听以后,登陆正常。


你可能感兴趣的:(oracle,list,XP,service,Descriptor)