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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
小众软件
小众软件
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina AI
G
Google Developers Blog
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
爱范儿
爱范儿
B
Blog
云风的 BLOG
云风的 BLOG
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
博客园 - 叶小钗
aimingoo的专栏
aimingoo的专栏
Blog — PlanetScale
Blog — PlanetScale
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
博客园_首页
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence

博客园 - 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!