简体   繁体   English

Oracle 12c Ubuntu 17.04安装错误

[英]Oracle 12c Ubuntu 17.04 Installation error

I'm trying to install Oracle 12c database on Ubuntu 17.04, but I get error ORA-27104: 我正在尝试在Ubuntu 17.04上安装Oracle 12c数据库,但出现错误ORA-27104:

在此处输入图片说明

My /etc/sysctl.conf file: 我的/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? 任何想法可能有助于解决此问题吗?

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 . 如果您参考Oracle文档,您会发现Oracle不支持Ubuntu,我使用了如在Ubuntu 16.04中安装Oracle 12c所述的方法 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. 该文档和脚本最初是为在Ubuntu 16.04中安装Oracle 12c而编写的。必须对脚本进行一些调整才能在Ubuntu 16.04.2中安装Oracle 12c(版本12.1.0.2.0)。

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 . 我下载了脚本mandela.sh并对脚本进行了以下2处更改,并按照在Ubuntu 16.04安装Oracle 12c中的说明进行操作。

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

Make sure in step 2 give the Description as is given in the output of command lsb_release -a 确保在第2步中给出命令lsb_release -a给出的描述。

Try your luck on Ubuntu 17.04 with above steps. 通过上述步骤,在Ubuntu 17.04上试试运气。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM