TCP.VALIDNODE_CHECKING導致TNS12533

趙宇發表於2009-05-06

安裝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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章