欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Linux靜默安裝Oracle11g部分問(wèn)題的解決方法

 更新時(shí)間:2017年05月11日 11:59:58   作者:alingluo  
這篇文章主要為大家詳細(xì)介紹了Linux靜默安裝Oracle11g部分問(wèn)題的解決方法,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下

這次試了試使用靜默安裝Oracle,過(guò)程比較麻煩,好在有文檔幫助,但是由于自己的粗心導(dǎo)致了各種奇葩問(wèn)題,記錄下來(lái)。

進(jìn)行靜默安裝數(shù)據(jù)庫(kù)

$ORACLE_HOME/bin/dbca -silent -responseFile /home/oracle/etc/dbca.rsp

出現(xiàn)問(wèn)題:

[oracle@bogon ~]$ $ORACLE_HOME/bin/dbca -silent -responseFile /home/oracle/etc/dbca.rsp
Exception in thread "main" java.lang.NullPointerException
        at oracle.sysman.assistants.util.INIFile$IniPair.<init>(INIFile.java:88)
        at oracle.sysman.assistants.util.INIFile$IniSection.addPair(INIFile.java:225)
        at oracle.sysman.assistants.util.INIFile.readINIFile(INIFile.java:827)
        at oracle.sysman.assistants.util.INIFile.getProfileString(INIFile.java:439)
        at oracle.sysman.assistants.dbca.backend.CommandLineArguments.processResponseFile(CommandLineArguments.java:4340)
        at oracle.sysman.assistants.dbca.backend.CommandLineArguments.process(CommandLineArguments.java:3564)
        at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:109)
        at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)

網(wǎng)上百度了下,說(shuō)沒(méi)有JDK環(huán)境,一查還真沒(méi)有,然后安裝JDK,這里直接安裝了openjdk

命令:

yum install java*
yum install java-1.8.0-openjdk.i686 -y

然后并沒(méi)有什么用,還是報(bào)錯(cuò),最后查看dbca.rsp文件,發(fā)現(xiàn)多寫(xiě)一個(gè)i,尷尬,接下來(lái)又報(bào)錯(cuò)了,這次是權(quán)限問(wèn)題

Cannot create directory "/soft/u01/app/oracle/cfgtoollogs/dbca/orcl".
Error writing into silent log -- /soft/u01/app/oracle/cfgtoollogs/dbca/silent.log (Permission denied)
Error in file copy from </soft/u01/app/oracle/cfgtoollogs/dbca/silent.log> to </soft/u01/app/oracle/cfgtoollogs/dbca/orcl.log>
Look at the log file "/soft/u01/app/oracle/cfgtoollogs/dbca/silent.log" for furt   her details.


給文件夾賦權(quán)限

chmod -R 775 /soft/u01/app/

總結(jié):還是自己太粗心

以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

最新評(píng)論