安装SES后,重启搜索服务器,searchctl start启动失败,检查发现监听没有起来,手工启动监听
localhost-> lsnrctl start
LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 06-MAY-2009 16:25:37
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.5.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.domain)(PORT=1524)))
TNS-12533: TNS:illegal ADDRESS parameters
TNS-12560: TNS:protocol adapter error
TNS-00503: Illegal ADDRESS parameters
Listener failed to start. See the error message(s) above...
这个错误实际没有显示正确的信息,开始从lisenter.ora,tnsnames.ora入手,但没有发现错误.最后检查sqlnet.ora,发现TCP参数,原来是IP地址限制的原因
localhost-> vi sqlnet.ora
# sqlnet.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
#TCP.VALIDNODE_CHECKING = yes
SQLNET.AUTHENTICATION_SERVICES= (ALL)
NAMES.DIRECTORY_PATH= (TNSNAMES)
#TCP.INVITED_NODES= (localhost.ldomain, 127.0.0.1)
"sqlnet.ora" 11L, 302C
localhost-> lsnrctl start
LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 06-MAY-2009 16:22:55
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.5.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.domain)(PORT=1524)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.domain)(PORT=1524)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.5.0 - Production
Start Date 06-MAY-2009 16:22:55
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.domain)(PORT=1524)))
The listener supports no services
The command completed successfully
修改以后,可以成功,但还是不理解,为什么加入正确IP,还是启动失败,暂时先注释了.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/175005/viewspace-594265/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/175005/viewspace-594265/