[Spacewalk-list] SP2-0750: You may need to set ORACLE_HOME toyourOracle software directory

Wolf, Christian Christian.Wolf at foxmobile.com
Thu Feb 5 14:19:15 UTC 2009


Thanks Michael
It works
[root at berlxspw01 ~]# export PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:$PATH
[root@ berlxspw01 ~]# type sqlplus
sqlplus is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus
[root@ berlxspw01 ~]# 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

[root@ berlxspw01 ~]# export
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
[root@ berlxspw01 ~]# sqlplus spacewalk/spacewalk at xe
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 5 15:16:20 2009

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


Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL>

Gruß
Christian 

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Michael Mraka
Sent: Thursday, February 05, 2009 2:56 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] SP2-0750: You may need to set ORACLE_HOME toyourOracle software directory

Wolf, Christian wrote:
% %%Wolf, Christian wrote:
% %% Hi!
% %% 
% %% If i enter "sqlplus" i get following error.
% %% What is my mistake?
% %% 
% %% [root at berlxspw01 ~]# 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
% 
% %This is XE server's sqlplus which needs ORACLE_HOME set.
% %Fix your PATH and run sqlplus from /usr/bin (instantclient's one); no
% %ORACLE_HOME is necessary.
% 
% At first i fix my path and run sqlplus and same error
% [root at berlxspw01 /]# cd /usr/lib/
% [root at berlxspw01 lib]# 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
% 
% Then I make ls -l
% [root at berlxspw01 bin]# ls -l /usr/bin/sqlplus
% lrwxrwxrwx 1 root root 43  5. Feb 09:52 /usr/bin/sqlplus -> /usr/lib/oracle/10.2.0.4/client/bin/sqlplus
% 
% 
% At the end i go to the path und try sqlplus again:
% [root at berlxspw01 bin]# cd /usr/lib/oracle/10.2.0.4/client/bin/
% [root at berlxspw01 bin]# 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

[root at xen35 ~]# type sqlplus
sqlplus is /usr/bin/sqlplus
[root at xen35 ~]# set |grep ORACLE
[root at xen35 ~]# sqlplus 

SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 5 14:52:40 2009
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.


[root at xen35 ~]# export PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:$PATH
[root at xen35 ~]# type sqlplus
sqlplus is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus
[root at xen35 ~]# 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

[root at xen35 ~]# export
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
[root at xen35 ~]# sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 5 14:54:53 2009
Copyright (c) 1982, 2005, Oracle.  All rights reserved.


--
Michael Mráka
Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list