日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

./sqlplusSP2-0667: Message file sp1lang.msb not found。SP2-0750: You may need to set ORACLE_HOME t

發布時間:2024/4/17 编程问答 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ./sqlplusSP2-0667: Message file sp1lang.msb not found。SP2-0750: You may need to set ORACLE_HOME t 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

?http://wcx337.blog.sohu.com/129739601.html

Linux下安裝好Oracle 10g后運行sqlplus出現故障如下:

[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 在/home/oracle目錄下,它是隱藏文件,可以ls -a 顯示所有文件(包含隱藏文件)。 第三,編輯.bash_profile文件,內容如下: —————————————————————————————————————————————————————————————————— # .bash_profile# Get the aliases and functions if [ -f ~/.bashrc ]; then. ~/.bashrc fi# User specific environment and startup programsPATH=$PATH:$ORACLE_HOME/binunset USERNAME export ORACLE_SID=orcl export ORACLE_BASE=/home/oracle/oracle export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1 export PATH ~ ——————————————————————————————————————————————————————————————————————————?

重新啟動系統,用oracle用戶名登錄。
[oracle@localhost ~]$ cd $ORACLE_HOME
[oracle@localhost db_1]$ pwd
/home/oracle/oracle/product/10.2.0/db_1
[oracle@localhost db_1]$ cd bin
[oracle@localhost bin]$ pwd
/home/oracle/oracle/product/10.2.0/db_1/bin
[oracle@localhost bin]$

然后
[oracle@localhost bin]$ ./sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 17 10:43:41 2009

Copyright (c) 1982, 2005, Oracle.? All rights reserved.

Connected to an idle instance.

SQL>
——————————————————————————————————————————
問題解決!!
我們發現Connected to an idle instance.
只要
SQL>startup
就ok

總結

以上是生活随笔為你收集整理的./sqlplusSP2-0667: Message file sp1lang.msb not found。SP2-0750: You may need to set ORACLE_HOME t的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。