惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
D
DataBreaches.Net
F
Fortinet All Blogs
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
M
MIT News - Artificial intelligence
美团技术团队
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The Cloudflare Blog
有赞技术团队
有赞技术团队
L
LangChain Blog
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
S
SegmentFault 最新的问题
V
Visual Studio Blog
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
B
Blog
I
InfoQ

博客园 - Xulei

解决IIS "The page cannot be found"问题 这几天的一些总结,先发在这,以后整理 Blog文章汇总 电脑的脉搏—时钟频率的来龙去脉 通过Office 2007发布Blog WindowsXP安装文件集成Service Pack 3 REHL5.2下安装VMWare Tools和codeblocks Linux中简单配置Samba服务器 cout 控制数值的输出精度 Linux修改IP和DNS Linux 中修改主机hostname Linux的学习路径 使用MSXML解析XML文件 MFC中自定义消息 超酷超炫Linux: Linsta "媲美" Vista 外企面试官最爱提的10个问题 VMware "VMnet0 is not running"错误的解决方法 精简版ORACLE客户端程序 extern "C"的用法解析
The solution of "ERROR - ORA-12514: TNS: 监听程序当前无法...
Xulei · 2006-12-22 · via 博客园 - Xulei

I installed Oracle10g today.I tested the database system when the installation process was finished. I found that I could not connect the database by
using  iSQL*Plus. It showed that "ERROR - ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务".

I had got the solution by the google:

  1. Open the ""<OracleHome>/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!