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
> [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

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

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to