---
title: "解决 ERROR - ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务 "
author: "pterodactyl"
date: "2011-01-11T11:58:00Z"
tags: []
categories: ["数据库"]
slug: "error-ora-12514-tns"
draft: false
lastmod: "2011-01-21T15:38:22Z"
id: 868087
url: "https://pterodactyl.iteye.com/blog/868087"
---

[http://www.cnblogs.com/xufung/archive/2008/08/05/693731.html](http://www.cnblogs.com/xufung/archive/2008/08/05/693731.html)

 

服务器莫名其妙的报这个错，之前一直正常，从google获取解决方案，解决之，记录如下：

 1. Open the ""&lt;OracleHome&gt;/network/admin/listener.ora" file in the host,and you will see:  
   SID\_LIST\_LISTENER =  
   (SID\_LIST =  
     (SID\_DESC =  
       (SID\_NAME = PLSExtProc)  
       (ORACLE\_HOME = D:\\oracle\\product\\10.2.0\\db\_1)  
       (PROGRAM = extproc)  
     )  
   )  
  2. Add the following lines after the 7th line in the above  
            (SID\_DESC =  
       (GLOBAL\_DBNAME = ORACLE)  
       (ORACLE\_HOME = D:\\oracle\\product\\10.2.0\\db\_1)    
       (SID\_NAME = ORACLE)  
      )  
  3. At last the content of the file become to the following section:  
 SID\_LIST\_LISTENER =  
   (SID\_LIST =  
     (SID\_DESC =  
       (SID\_NAME = PLSExtProc)  
       (ORACLE\_HOME = D:\\oracle\\product\\10.2.0\\db\_1)  
       (PROGRAM = extproc)  
     )  
     (SID\_DESC =  
       (GLOBAL\_DBNAME = ORACLE)  
       (ORACLE\_HOME = D:\\oracle\\product\\10.2.0\\db\_1)    
       (SID\_NAME = ORACLE)  
      )  
   )  
  4. Save the file and restart the TNSListener service in the host. That's OK!

&lt;script type="text/javascript"&gt;&lt;/script&gt;

 

=============================测试过是可以用的===============