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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
博客园 - 叶小钗
I
InfoQ
MyScale Blog
MyScale Blog
H
Help Net Security
月光博客
月光博客
Vercel News
Vercel News
B
Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
GbyAI
GbyAI
Blog — PlanetScale
Blog — PlanetScale
博客园 - Franky

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