1. 程式人生 > >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

問題

[[email protected] 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

問題 [[email protected] oracle]$ ./sqlplus Error 6 initializing SQL*Plus Message file sp1<lang

SP2-0667: Message file sp1.msb not found SP2-0750: You may need to set ORACLE_HOME to your Ora

D:\oracle1111\product\11.2.0\client_1\BIN>sqlplus 使用者名稱/密碼@資料庫名 Error 6 initializing SQL*Plus SP2

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

Linux下安裝好Oracle 10g後執行sqlplus出現故障如下: [[email protected] oracle]$ ./sqlplus Error 6 initializing SQL*Plus Message file sp1<lang&g

extract-text-webpack-plugin(you may need an appropriate loader to handle this file type)

查詢 cnblogs out webp span nod module blog 顯示 在使用extract-text-webpack-plugin插件編譯sass文件生成一個單獨的css文件通過link導入到html中,經查詢此方法的優點在於避免直接將css打包入bund

【採坑之路】You may need an appropriate loader to handle this file type.

開啟vue之旅,也是開始採坑之旅了。 這是一個京東購物車小案例,採用元件化開發,將html靜態頁面拆分成一個個元件,採用webpack打包時,引用的圖片明明存在但報錯如下: ERROR in ./jd-shopcarts/assets/images/icon-kin.pn

解決Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle

親測成功 原因描述: 很多包被牆了,很多時候我們使用了代理,瀏覽器可以翻牆,但是 as是沒有翻牆,所以 需要在as中單獨設定 設定代理,使 as 可以翻牆,去國外下載包。 設定完之後問題便解決了…… (親測過,沒問題的, 小老弟) 我本地1080埠代理到了國

django_Invalid HTTP_HOST header: '192.168.0.20'. You may need to add '192.168.0.20' to ALLOWED

在django啟動後,通過web訪問啟動的django 整個系統報錯: Invalid HTTP_HOST header: '192.168.0.20'. You may need to add '192.168.0.20' to ALLOWED_HOSTS. 問題

AndroidStudio報錯unknow host"akamai.bintray.com".you may need to adjust the proxy settings in gradle

今天安裝新的AS版本2.3.3,新建一個專案後,總是報錯 開始查閱了資料說,要把AS中File-setting-gradle-offine mode的勾給去掉,再次編譯project就可以了,可是試了以後還是出現這個,點選藍色下劃線部分offlin mode就

解決Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle.

前言:前幾天在匯入一個從github上下載的專案的時候,報了這個錯誤“Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle.”,當時網

MySQL 5.7.20安裝完成初始化報錯[ERROR] failed to set datadir to C:\Program Files\MySQL\MySQL Server 5.7\data\

1.net start mysql 提示服務名無效,百度查到需要初始化MySQL: mysqld -initialize ,結果報錯: 更換命令: mysqld --initialize --user=mysql --console  ,mysqld -instal

【NLP】You May Not Need Attention詳解

廢話: 之前蹭上了BERT的熱度,粉以個位數每天的速度增長,感謝同學們的厚愛!弄得我上週本來打算寫文字分類,寫了兩筆又放下了,畢竟文字分類有很多SOTA模型,而我的研究還不夠深入。。慢慢完善吧,今天看到一篇You may not need attention,寫attention起家的我怎麼能放過,立刻打印出

VUE vue——解決“You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ t

vue——解決“You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore

You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the

錯誤提示:  You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable

mysql 5.5使用xtrabackup 恢復遇到錯誤Failed to connect to MySQL server to detect version. You must set xtraba

報錯 81114 15:44:21  innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_file=/etc/my.cnf;mysql_read_default_group=x

Tensorflow筆記1-weights already exists, disallowed. did you mean to set reuse=True..

完整報錯資訊: weights already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope?  出錯原因: tensorflow中,同一個變數

Made Billionaire Jack Ma Says You'll Need This 1 Rare Skill to Succeed in the Age of Machines | AITopics

At the Apec CEO Summit in Manila in November, 2015, Ma shared LQ in a conversation with Benigno Aquino III, then-president of the Philippines. Convinced of

9 Developments In AI That You Really Need to Know

Over 6,000 people are attending a conference focusing on artificial intelligence (AI) that opened in Amsterdam this morning. World Summit AI brings togethe

7 Things You Need To Stop Doing To Be More Productive, Backed By Science

Consider a small business owner who works nonstop. Working hard won’t help him compete with his corporate competitors. That’s because time is a limited com

As a manager in 2019, what will you really need to know about AI?

"Trying to predict the future is like trying to drive down a country road at night with no lights while looking out the back window." Peter Drucker's long

centos問題之Loaded plugins: fastestmirror, langpacks You need to be root to perform this command

問題 [lss@localhost ~]$ yum install -y libtool Loaded plugins: fastestmirror, langpacks You need to be root to perform this command. 無許可權問題,新增s