[oracle@dg-01 admin]$ lsnrctl
lsnrctl for linux: version 10.2.0.1.0 - production on 23-jun-2010 02:35:37
凯发app官方网站 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
凯发app官方网站 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
阅读(4888) | 评论(0) | 转发(0) |