Oracle 客户端的“无消息文件”问题

stm*_*ius 3 windows-7

我已经在 Windows 7 x64 上安装了 Oracle Client 11g R2 Win64。但是,运行 tnsping(不带参数)会产生以下输出:

C:\Users\stefan.moebius>tnsping

TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 01-APR-2011 17:06:17

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

TNS-03502: Message 3502 not found; No message file for product=NETWORK, facility=TNS
Run Code Online (Sandbox Code Playgroud)

怎么了?

我尝试了设置 ORACLE_HOME,正如网上提到的那样,但这没有帮助。使用 ProcMon 查看 tnsping 正在做什么表明它确实找到了文件

C:\develop\oracle\product\11.2.0\client_1\network\mesg\nlus.msb
Run Code Online (Sandbox Code Playgroud)

小智 5

我有一个类似的问题,虽然nlus.msb确实存在于 下%ORACLE_HOME%\network\mesg\,但还有七个msg文件丢失。显然这是由于客户端安装不完整,我已经从另一台具有相同版本/配置的机器复制了这些文件并解决了这个问题。

TNSPING

TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 17-FEB-2
012 10:00:23

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

Message 3511 not found; No message file for product=NETWORK, facility=TNSMessage
 3512 not found; No message file for product=NETWORK, facility=TNSMessage 3513 n
ot found; No message file for product=NETWORK, facility=TNSMessage 3509 not found; No message file for product=NETWORK, facility=TNS
Run Code Online (Sandbox Code Playgroud)