我想打开SQL * Plus从CMD消息文件UTILITY_MEG SPW <lang> .msb没有找到
当我尝试使用此命令可以打开它Sqlplus
我遇到这个对话框错误信息:
Message file UTILITY_MEG\spw<lang>.msb not found
。
后,我在这里关闭对话框消息是CMD的副本:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Abo-Khaled>sqlplus
Error 14 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
C:\Users\Abo-Khaled>
我使用这些命令来解决问题:
set oracle_home=C:\app\Abo-Khaled\product\11.2.0\dbhome_1\
set oracle_sid=orcl
但不解决问题。
注:
- 当我使用SQL * Plus直接,我可以没有任何问题登录。但我需要使用CMD登录。
我在Windows 7
使用
oracle 11g
大约一个月前,我没有这个问题的SQL * Plus。
可能您已经更改了一些windows语言设置,这意味着SQLPlus正在查找未安装的语言文件。检查oracle主目录的\ sqlplus \ mesg \子文件夹中的.msb文件。 –
C:\ app \ Abo-Khaled \ product \ 11.2.0 \ dbhome_1 \ sqlplus \ mesg中有3个文件。 :cpyus.msb,sp1us.msb和sp2us.msb @AndrewBrennan –
将NLS_LANG参数设置为合适的值 –