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

Jan Pazdziora jpazdziora at redhat.com
Thu Feb 5 15:22:39 UTC 2009


On Thu, Feb 05, 2009 at 02:46:40PM +0100, Wolf, Christian wrote:
> 
> 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

Are you aware that being chdir'ed to a directory does *not* mean you
are running program from that directory? You'd have to have dot in
your PATH, which I hope you do not have, as you are working as root.

You'd have to do ./sqlplus here to invoke
/usr/lib/oracle/10.2.0.4/client/bin/sqlplus. Or just use the full
path.

You should use type sqlplus to check what sqlplus you run.

-- 
Jan Pazdziora
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list