SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
2017-08-01 15:18
1286 查看
问题
解决方法:
第一,用oracle用户名登录linux系统。而不是root登录后su oracle。
第二,用oracle用户名登录linux系统后,vi .bash_profile,其中,文件.bash_profile
在/usr/oracle目录下,它是隐藏文件,可以ls -a 显示所有文件
第三,编辑.bash_profile文件,内容如下:
为什么要这么配置
[oracle@localhost oracle]$ ./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
解决方法:
第一,用oracle用户名登录linux系统。而不是root登录后su oracle。
第二,用oracle用户名登录linux系统后,vi .bash_profile,其中,文件.bash_profile
在/usr/oracle目录下,它是隐藏文件,可以ls -a 显示所有文件
第三,编辑.bash_profile文件,内容如下:
# use for oracle export ORACLE_BASE=/usr/oracle export ORACLE_HOME=$ORACLE_BASE/product export ORACLE_SID=orcl export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib #防止Oracle安装界面乱码,先把语言环境改为英文 export LANG=en_US if [ $USER = "oracle" ];then if [ $SHELL = "/bin/ksh" ];then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi
为什么要这么配置
http://blog.csdn.net/zhou920786312/article/details/76405197
相关文章推荐
- (摘)SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- [转]sqlplus /nolog 出错解决 SP2-0667: Message file sp1<lang>.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- ubuntu 9.10 下安装ORACLE 出错SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- ubuntu 9.10 下安装ORACLE 出错SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- 进去到oracle的bin目录下,运行./sqlplus报错,You may need to set ORACLE_HOME to your Oracle software directory
- SP2-0667: Message file sp1<lang>.msb not found SP2-0750: You may need to set ORACLE_HOME to your Ora
- SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- You may need to set ORACLE_HOME to your Oracle software directory
- ./sqlplusSP2-0667: Message file sp1<lang>.msb not found。SP2-0750: You may need to set ORACLE_HOME t
- Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running
- Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /
- 打开OpenProj 出现Your Java Vendor is "Oracle Corporation". To run OpenProj, you need the Sun Java...
- QT 5.7 for iOS Xcode 8 Project ERROR: Xcode not set up properly. You may need to confirm the license
- Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebu
- 解决mac下qt工程编译错误:Xcode not set up properly. You may need to confirm the license agreement by running
- ubuntu : you may need to re-run your boot loader[grub] 解决办法
- You may need to configure your browser or application to trust the Charles Root Certificate.
- Apache is running a threaded MPM, but your php module is not compiled to be threadsafe. you need to
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te