- 最后登录
- 2014-6-30
- 在线时间
- 6 小时
- 威望
- 18
- 金钱
- 191
- 注册时间
- 2011-10-13
- 阅读权限
- 10
- 帖子
- 14
- 精华
- 0
- 积分
- 18
- UID
- 20
|
1#
发表于 2012-2-24 22:57:54
|
查看: 7312 |
回复: 5
在虚拟机环境下安装11r2,安装好多次了,最后运行脚本时总是出现错误,希望大家能帮忙。。。因为装了好多次了。。都是这样。。心好灰啊。。
在OUI界面下安装时未报任何错误,一直顺利安装,当安装进度条完成后,提示需要运行两个脚本:
/u01/app/oraInventory/orainstRoot.sh
/u01/app/11.2.0/grid/root.sh
第一个脚本顺利完成。
[root@dbrac2 ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
第二个脚本则到最后面一直报错。
[root@dbrac2 ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2012-02-24 22:17:30: Parsing the host name
2012-02-24 22:17:30: Checking for super user privileges
2012-02-24 22:17:30: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Failed to create a peer profile for Oracle Cluster GPnP. gpnptool rc=32512
Creation of Oracle GPnP peer profile failed for dbrac2 at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 4138.
我已经关闭iptable了,但还是出现同样的问题。希望大家能给点指导。
上传了日志
[ 本帖最后由 lingksxz 于 2012-2-25 12:13 编辑 ] |
|