Chinaunix首页 | 论坛 | 博客
  • 博客访问: 20404
  • 博文数量: 3
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 81
  • 用 户 组: 普通用户
  • 注册时间: 2014-07-29 20:00
文章分类

全部博文(3)

文章存档

2016年(1)

2014年(2)

我的朋友

分类: Oracle

2014-08-20 14:33:20

在装oracle的时候遇到几个问题,记录下来希望对遇到相同问题的朋友有帮助
环境vm虚拟机,linux:centos6.5(64位)数据库:oracle10g

前期rpm包安装,环境配置,都很顺利。
在图形界面安装oracle实例的时候报了好几个错误。
第一个错误是:
ORA-27125: unable to create shared memory segment
按照网上搜索到的方法做如下配置:
[root@js install]# id oracle
uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba)

[root@js install]# vi /etc/sysctl.conf 

加入vm.hugetlb_shm_group = 502
此处502对应dba组
[root@js install]$ sysctl -p

然后在图形安装界面点击 retry
ok 没出现该问题了。

接下来又报了这个错误
 Configuration assistant "Oracle Cluster Verification Utility" failed
忽略了这个错误直接导致数据库安装不成功。
查看日志:错误如下
*** Starting OUICA ***
Oracle Home set to /orabase/product/10.2
Configuration directory is set to /orabase/product/10.2/cfgtoollogs. All xml files under the directory will be processed
INFO: The "/orabase/product/10.2/cfgtoollogs/configToolFailedCommands" script. contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script. with passwords (if any) before executing the same.
-----------------------------------------------------------------------------
SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
2. Fix the errors causing these failures.
3. Select the failed assistants and click the 'Retry' button to retry them.
可能是某个配置项忘记设置了,又回头查看了安装文档,对比刚才自己的设置,发现遗漏了主机名称的设置。
网上也有人提到是主机名称设置的问题,接下来设置主机名称:
[root@js install]#vi /etc/sysconfig/network
设置hostname=js
别忘了/etc/hosts设置
如果你不想重启,使用如下命令
[root@js install]#hostname js

回到图形界面点击retry 。
等待。。。
这次没有出现错误了。


阅读(1551) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~