重庆思庄Oracle、Redhat认证学习论坛

标题: SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory [打印本页]

作者: denglj    时间: 2021-9-7 11:33
标题: SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
sqlplus连接oracle时报错如下:
[oracle@denglj ~]$ sqlplus /nolog
Error 6 initializing SQL*Plus
SP2-0667: Message filesp1<lang>.msb not found
SP2-0750: You may need to setORACLE_HOME to your Oracle software directory
造成此问题为ORACLE_HOME设置错误.
查看oracle用户环境变量,[oracle@denglj ~]$ cat .bash_profile
发现ORACLE_HOME=$ORACLE_BASE/oracle/product/18.3.0/db_1
Oracle software此前被解压到另一个目录(/home/oracle/setup),如下所示.