Sqlplus not found Message file sp1<lang>.msb not found [message #441190] |
Fri, 29 January 2010 06:25  |
zeelombe
Messages: 7 Registered: January 2010 Location: LUSAKA ZAMBIA
|
Junior Member |

|
|
hi, people i need help resolving this problem
bash: sqlplus: command not found
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
i install oracle 10gR and the process was successful i could do everything. the problem started when i install Zend Core for oracle, the install of zend was successful but i now can't start sqlplus.
what cani do
regards
|
|
|
|
Re: Sqlplus not found Message file sp1<lang>.msb not found [message #441192 is a reply to message #441190] |
Fri, 29 January 2010 06:30   |
 |
ramoradba
Messages: 2456 Registered: January 2009 Location: AndhraPradesh,Hyderabad,I...
|
Senior Member |
|
|
From Oracle FAQ
Quote:Sometimes when SQL*Plus is run, you see the error:
Message file sp1<Lang>.msb not found
Error 6 initializing SQL*Plus
This occurs when SQL*Plus was unable to find a message file during program initialization. The most common cause is that ORACLE_HOME has not been set. This prevents the message files being found and SQL*Plus would be unable to display error messages or text required for normal operation. Other causes are when the message file is corrupt or cannot be read.
Make sure that all the environment variables or registry entries needed to run SQL*Plus are set. The variables are platform specific but may include ORACLE_HOME, ORACLE_SID, NLS_LANG, ORA_NLS33, and LD_LIBRARY_PATH.
Also check that the file sp1XX.msb is present in the $ORACLE_HOME/sqlplus/mesg or %ORACLE_HOME%\sqlplus\mesg directory. The "XX" stands for the country prefix associated with your NLS_LANG environment variable. SQL*Plus reads only one of the sp1XX.msb files. For example sp1ja.msb is read if NLS_LANG is JAPANESE_JAPAN.JA16EUC. If NLS_LANG is not set, then the default (English language) sp1us.msb is used. Check that the appropriate file is of non-zero size and that the file permissions allow you to read it. Note the ".msb" files are binary. The contents may be meaningless when viewed or printed. If you are unsure which language file is being used, try unsetting NLS_LANG and run SQL*Plus to verify it can read the sp1us.msb file.
The error message has changed in SQL*Plus Release 9.0.1 to be more informative:
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
Modified: 28-MAR-04 Ref #: ID-4828
sriram
|
|
|
|
|
|
|
|
|
|
Re: Sqlplus not found Message file sp1<lang>.msb not found [message #441219 is a reply to message #441210] |
Fri, 29 January 2010 09:18   |
ThomasG
Messages: 3211 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
Also, the cause of the error then is that your NLS_LANG variable is not set (since it isn't shown in the output of the set command)
Since you only have the US language files, you have to set it to American, for example with:
export NLS_LANG=American_America.we8iso8859p15
The code page after the dot might depend on the codepages installed on the system and on the codepage the database is in, though.
[Updated on: Fri, 29 January 2010 09:19] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Sqlplus not found Message file sp1<lang>.msb not found [message #594178 is a reply to message #594174] |
Sun, 25 August 2013 02:20  |
 |
Littlefoot
Messages: 21782 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
niladri.banerjee
And I don't think it is a harm to post information in old forums if you find any information.
I don't see any problem in this either. Everything you said in your first message is valid as far as MS Windows is concerned, but - as you know, you missed the operating system.
If you posted some information that regards setting ORACLE_HOME on Linux, that would be fine.
OK then, everything seems to be clear to both (all) of us. I hope you'll enjoy your stay here!
|
|
|