错误6初始化SQL * Plus

时间:2011-05-16 05:29:04

标签: oracle sqlplus

当我打开sqlplus时显示

Error 6 Initializing SQL*Plus
Message file sp1<Lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

3 个答案:

答案 0 :(得分:3)

一般来说,您不希望在Windows环境中设置ORACLE_HOME - 它在注册表中处理,并且在我设置它时给了我悲伤。 Oracle Homes上的Here is an Oracle Doc

此计算机上安装了多少个Oracle安装程序?

答案 1 :(得分:0)

如果是ORACLE_HOME&amp; ORACLE_BASE都设置正确, 确保有人不删除某些安装文件夹/文件。我遇到了类似的问题,在我的一位客户中,OraHome中有一半的文件夹被IT专家意外删除。

答案 2 :(得分:0)

古代问题希望是一个有用的新答案!准备好了吗?

首先,正如其他人所说,你必须设置ORACLE_HOME(例如export ORACLE_HOME=/opt/oracle/instantclient_12_2),但其次,奇怪的是,你不能cd进入神谕之家当你运行sqlplus时!

$ export ORACLE_HOME=/opt/oracle/instantclient_12_2
$ cd $ORACLE_HOME
$ sqlplus
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
$ cd /
$ sqlplus

SQL*Plus: Release 12.2.0.1.0 Production on Wed Jan 3 11:02:36 2018

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Enter user-name:
哇哇哇哇哇哇哇哇哇哇。这是......一个特色?