遇到ORA-12532

C:>tnsping ora11g

TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 14-11月-2007 23:24

Copyright (c) 1997, 2007, Oracle. All rights reserved.

已使用的参数文件:
D:appAdministratorproduct11.1.0db_1networkadminsqlnet.ora


已使用 TNSNAMES 适配器来解析别名
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.110.111.112)(PO
) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ora11g)))
TNS-12532: TNS: 无效的参数

C:>oerr ora 12532
ORA-12532: TNS:invalid argument
Cause: An internal function received an invalid parameter.
Action: Not normally visible to the user. For further details, turn on tracing and reexecu
ration. If error persists, contact Oracle Customer Support.

想了一下 ,原来回家后改了ip , tnsnames.ora中的HOST的ip不对 , 改成localhost即可.

[@more@]
请使用浏览器的分享功能分享到微信等