我在 Ubuntu 14.04 64 位上遇到 Oracle 11g 数据库配置问题。我知道这个问题已经回答过很多次了。
我尝试了所有方法,但两天来一直出现这个错误。我迫切需要配置它。
安装教程 如何在 Ubuntu 14.04 上安装 Oracle 11gR2?
在这一步之前一切都运行良好
sudo /etc/init.d/oracle-xe configure
.
.
Starting Oracle Net Listener...Done
Configuring database...
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0 /xe/config/log for details
我知道这是一个主机名问题,正如大多数博客和论坛所建议的那样,但它对我来说不起作用。
$hostname
$josh
$cat /etc/hosts
$127.0.0.1 josh
root@josh:/u01/app/oracle/product/11.2.0/xe/config/log# ls
cloneDBCreation.log CloneRmanRestore.log postDBCreation.log
root@josh:/u01/app/oracle/product/11.2.0/xe/config/log# grep ORA *
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-27101: shared memory realm does not exist
cloneDBCreation.log:ORA-00845: MEMORY_TARGET not supported on this system
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
cloneDBCreation.log:ORA-01034: ORACLE not available
CloneRmanRestore.log:ORA-00845: MEMORY_TARGET not supported on this system
CloneRmanRestore.log:ORA-01034: ORACLE not available
CloneRmanRestore.log:ORA-01034: ORACLE not available
CloneRmanRestore.log:ORA-01034: ORACLE not available
postDBCreation.log:ORA-01034: ORACLE not available
postDBCreation.log:ORA-01034: ORACLE not available
postDBCreation.log:ORA-27101: shared memory realm does not exist
postDBCreation.log:ORA-00845: MEMORY_TARGET not supported on this system
postDBCreation.log:ORA-01034: ORACLE not available
postDBCreation.log:ORA-01034: ORACLE not available
postDBCreation.log:ORA-01034: ORACLE not available
https://stackoverflow.com/questions/16545412/problems-installing-oracle-database-express-edition-11g
还有很多很多。
答案1
看看ubuntu 14.4上Oracle-xe的安装帮助...我列出了一个你可以下载的 pdf 文档,该文档逐步从官方下载到转换为.deb 和安装以使用 SQL 进行测试加。
-坦率