Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error 6 initializing SQL*Plus (Oracle 12c R2 on Solaris 11.3 x86)

raphaelmsxJul 4 2018 — edited Jul 11 2018

Hi people.

I just installed a Solaris 11.3 x86 VM on VirtualBox, didn't change any default configuration.

Then, installed Oracle 12c R2 for Solaris x86 using the official documentation (on https://docs.oracle.com/en/database/oracle/oracle-database/12.2/ssdbi/index.html )

Again, I didn't change any default configuration, accepted all defaults, and it got installed to /export/home/oracle/app/oracle/product/12.2.0/.

When I try to run sqlplus with user oracle (from export/home/oracle/app/oracle/product/12.2.0/dbhome_1/bin), it returns with the following error:

Error 6 initializing SQL*Plus

SP2-0667: Message file sp1<lang>.msb not found

SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

Here's the result of env | grep ORACLE:

ORACLE_SID=oracle

ORACLE_HOME=/export/home/oracle/app/oracle/product/12.2.0

I configured on ~/.profile with the following code:

export ORACLE_HOME=/export/home/oracle/app/oracle/product/12.2.0

export ORACLE_SID=oracle

Is the ORACLE_HOME configured correctly? And if yes, how can i fix this in order to run sqlplus?

Thanks!

This post has been answered by EdStevens on Jul 5 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2018
Added on Jul 4 2018
9 comments
1,454 views