Oracle 12c Ubuntu 17.04 安装错误 [英] Oracle 12c Ubuntu 17.04 Installation error

查看:39
本文介绍了Oracle 12c Ubuntu 17.04 安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Ubuntu 17.04 上安装 Oracle 12c 数据库,但出现错误 ORA-27104:

I'm trying to install Oracle 12c database on Ubuntu 17.04, but I get error ORA-27104:

我的/etc/sysctl.conf文件:

#Added for fresh Oracle 12cR1 Installation
kernel.sem = 250        32000   100     128
# Assumes all of a 5120MB RAM is allocated, using 4K pages
kernel.shmall=8388608 # (=32*1024*1024*1024 / 4096) - 4096 is page size
# Assumes half of a 5120MB RAM is allocated, in bytes 
kernel.shmmax=34359738368 # (=32*1024*1024*1024), 
kernel.shmmni = 4096
kernel.panic_on_oops = 1
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576

知道什么可以帮助解决这个问题吗?

Any idea what may help to fix this?

推荐答案

如果您参考 Oracle 文档,您会发现 Oracle 不支持 Ubuntu,我使用了 在 Ubuntu 16.04 中安装 Oracle 12c .该文档和脚本最初是为在 Ubuntu 16.04 中安装 Oracle 12c 而编写的.脚本必须稍作调整才能在 Ubuntu 16.04.2 中安装 Oracle 12c(版本 12.1.0.2.0).

If you refer the Oracle docs you would see that Oracle doesnt support Ubuntu, I used a hack around as mentioned in the Install Oracle 12c in Ubuntu 16.04 . The document and the script is originally written for installation of Oracle 12c in Ubuntu 16.04.The script had to be tweaked a bit to install Oracle 12c(version 12.1.0.2.0) in Ubuntu 16.04.2.

我下载了脚本 mandela.sh 并对脚本进行了以下 2 处更改,并按照 在 Ubuntu 16.04 中安装 Oracle 12c .

I downloaded the script mandela.sh and made the below 2 changes to script and followed the instructions as is in Install Oracle 12c in Ubuntu 16.04 .

  1. 将第 81 行 ver=16.04 更改为 ver=16.04.2
  2. 更改第 122 行 if [ "$VERCHECK" != "Description: Ubuntu 16.04 LTS" ];then to if [ "$VERCHECK" != "Description: Ubuntu 16.04.02 LTS" ];然后
  1. Change line 81 ver=16.04 to ver=16.04.2
  2. Change line 122 if [ "$VERCHECK" != "Description: Ubuntu 16.04 LTS" ]; then to if [ "$VERCHECK" != "Description: Ubuntu 16.04.02 LTS" ]; then

确保在步骤 2 中给出命令输出中给出的描述lsb_release -a

Make sure in step 2 give the Description as is given in the output of command lsb_release -a

按照上述步骤在 Ubuntu 17.04 上试试运气.

Try your luck on Ubuntu 17.04 with above steps.

这篇关于Oracle 12c Ubuntu 17.04 安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆