Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2109850
  • 博文数量: 195
  • 博客积分: 4378
  • 博客等级: 上校
  • 技术积分: 4046
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-09 11:37
个人简介

白天和黑夜只交替没交换无法想像对方的世界

文章分类

全部博文(195)

文章存档

2014年(3)

2013年(20)

2012年(18)

2011年(107)

2010年(17)

2009年(5)

2008年(20)

2007年(5)

分类: Oracle

2010-06-22 23:50:59

 

[oracle@dg-01 admin]$ lsnrctl

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-JUN-2010 02:35:37

Copyright (c) 1991, 2005, Oracle.  All rights reserved.

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> start

Starting /u01/oracle/product/database/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.2.0.1.0 - Production

System parameter file is /u01/oracle/product/database/network/admin/listener.ora

Log messages written to /u01/oracle/product/database/network/log/listener.log

Error listening on: (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))

TNS-12560: TNS:protocol adapter error

 TNS-00583: Valid node checking: unable to parse configuration parameters

Listener failed to start. See the error message(s) above...

 
 造成以上错误的原因为:配置监听和手动创建数据库的顺序倒了,应该在先安装完数据库软件后,再配置网络监听,接下来再进行数据库的手动创建工作。
 
把之前创建的数据库test1,用DBCA图形工具删除,再用netca命令重新配置网络监听,即可。
 
 
[oracle@dg-01 admin]$ lsnrctl
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-JUN-2010 16:28:17
Copyright (c) 1991, 2005, Oracle.  All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dg-01.primary.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                23-JUN-2010 16:22:49
Uptime                    0 days 0 hr. 5 min. 29 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/oracle/product/database/network/admin/listener.ora
Listener Log File         /u01/oracle/product/database/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dg-01.primary.com)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
 
 
阅读(4942) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~