In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
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.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.