码迷,mamicode.com
首页 > 其他好文 > 详细

SP2-0667/SP2-0750错误

时间:2016-02-19 01:47:31      阅读:1982      评论:0      收藏:0      [点我收藏+]

标签:sp2-0667/sp2-0750错误

错误:

[oracle@ocmb 11.2.0]$ sqlplus / as sysdba

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


原因:


[oracle@ocmb ~]$ cat .bash_profile 

# .bash_profile


# Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi


# User specific environment and startup programs


PATH=$PATH:$HOME/bin


export PATH

ORACLE_BASE=/u01/app/oracle

ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

PATH=$ORACLE_HOME/bin:$PATH


解决:

[oracle@ocmb ~]$ cat .bash_profile 

# .bash_profile


# Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi


# User specific environment and startup programs


PATH=$PATH:$HOME/bin


export PATH

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

export PATH=$ORACLE_HOME/bin:$PATH


本文出自 “知行合一” 博客,请务必保留此出处http://dovelauren.blog.51cto.com/9876026/1743137

SP2-0667/SP2-0750错误

标签:sp2-0667/sp2-0750错误

原文地址:http://dovelauren.blog.51cto.com/9876026/1743137

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!