The solution to some problems of silent installation of Oracle11g in Linux
This time, I tried to install Oracle silently. The process was troublesome, but it was helped by documentation, but all kinds of strange problems were caused by my carelessness. Record it.
Silently install the database
$ORACLE_HOME/bin/dbca-silent-responseFile / home/oracle/etc/dbca.rsp
There is a problem:
[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. (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)
Baidu on the Internet, said that there is no JDK environment, a check is really no, and then install JDK, here directly installed openjdk
Command:
Yum install java*yum install java-1.8.0-openjdk.i686-y
Then it was of no use, or reported an error. Finally, I looked at the dbca.rsp file and found that it was embarrassing to write one more I, and then I reported it wrong. this time it was a permission problem.
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 to Look at the log file "/ soft/u01/app/oracle/cfgtoollogs/dbca/silent.log" for furt her details.
Assign permissions to a folder
Chmod-R 775 / soft/u01/app/
Conclusion: I am still too careless.
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.