Thanks Michael It works [r...@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/spacew...@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: [email protected] [mailto:[email protected]] On Behalf Of Michael Mraka Sent: Thursday, February 05, 2009 2:56 PM To: [email protected] 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? % %% % %% [r...@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 % [r...@berlxspw01 /]# cd /usr/lib/ % [r...@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 % [r...@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: % [r...@berlxspw01 bin]# cd /usr/lib/oracle/10.2.0.4/client/bin/ % [r...@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 [r...@xen35 ~]# type sqlplus sqlplus is /usr/bin/sqlplus [r...@xen35 ~]# set |grep ORACLE [r...@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. [r...@xen35 ~]# export PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:$PATH [r...@xen35 ~]# type sqlplus sqlplus is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus [r...@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 [r...@xen35 ~]# export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server [r...@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 [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
