关于在OEL5.4上安装oracle11gR2 RAC遇到的问题!!!

[复制链接]
查看11 | 回复9 | 2015-3-4 14:55:27 | 显示全部楼层 |阅读模式
今天在vm workstation7.1.4上安装oracle11gR2 11.2.0.1 RAC,前面安装都还算顺利,到了执行root.sh这个脚本的时候死活执行不了!以下是错误信息:[root@rac1 grid]# /oracle/app/grid/11.2/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME=/oracle/app/grid/11.2
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.Overwrite it? (y/n)
[n]: t^Hy
The file "oraenv" already exists in /usr/local/bin.Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
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.
2014-11-07 07:08:56: Parsing the host name
2014-11-07 07:08:56: Checking for super user privileges
2014-11-07 07:08:56: User has super user privileges
Using configuration parameter file: /oracle/app/grid/11.2/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at /oracle/app/grid/11.2/crs/install/rootcrs.pl line 443.
[root@rac1 grid]# chmod a+wr /var/tmp/.oracle/npohasd
chmod: cannot access `/var/tmp/.oracle/npohasd': No such file or directory
[root@rac1 grid]# /oracle/app/grid/11.2/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME=/oracle/app/grid/11.2
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
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.
2014-11-07 07:18:54: Parsing the host name
2014-11-07 07:18:54: Checking for super user privileges
2014-11-07 07:18:54: User has super user privileges
Using configuration parameter file: /oracle/app/grid/11.2/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at /oracle/app/grid/11.2/crs/install/rootcrs.pl line 443

然后到网上去查,大部分的都是说先在在生成了文件/var/tmp/.oracle/npohasd文件后,root立即执行命令:

/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/nullbs=1024 count=1
但是我试了好几次都不行!
有知道如何解决的吗?感激不尽!!!

回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
把安装日志贴出来看看。
回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
parknkjun 发表于 2014-11-7 20:09
把安装日志贴出来看看。

顶顶顶!
遇到问题。
1.日志排查
2.逻辑排查(回想一下自己干的事情,是否有不符合逻辑的地方)

回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
看看这个,以前在AIX上遇见过类似的,其实你把那个root.sh读一遍 就知道在那个环节出的问题,就是花点时间和精力。
在执行root.sh时候 会在/tmp/.oracle下产生一个文件npohasd文件,此文件的只有root用户有权限
因此,出现不能启动ohasd进程
需要手工执行:
#cd /tmp/.oracle/
#rm npohasd
#touch npohasd
#chmod 755 npohasd
使用类似如下路径的命令 删除配置,重新运行root.sh
/opt/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force
/opt/app/11.2.0/grid/crs/install/roothas.pl -verbose -deconfig -force---删除配置

回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
你看看是否遇到 bug 9648820了
回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
我也遇到了,VMware® Workstation 10.0.2 build-1744117
linux_11gR2_grid
uname -ia
Linux node1 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:22:40 EST 2012 i686 i686 i386 GNU/Linux
下载ASM RPM软件包,找不到内核对应的版本,就下了这个,然后在启动可以选内核,我用的还是原来的
oracleasm-2.6.18-308.16.1.el5-2.0.5-1.el5.i686.rpm
/oracle/app/grid/11.2/root.sh

回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
2014-11-10 18:13:41: The configuration parameter file /u01/app/11.2.0/grid/crs/install/crsconfig_params is valid
2014-11-10 18:13:41: Checking for super user privileges
2014-11-10 18:13:41: User has super user privileges
2014-11-10 18:13:41: ### Printing the configuration values from files:
2014-11-10 18:13:41:/u01/app/11.2.0/grid/crs/install/crsconfig_params
2014-11-10 18:13:41:/u01/app/11.2.0/grid/crs/install/s_crsconfig_defs
2014-11-10 18:13:41: ASM_DISCOVERY_STRING=
2014-11-10 18:13:41: ASM_DISKS=ORCL:VOL1,ORCL:VOL2
2014-11-10 18:13:41: ASM_DISK_GROUP=DATA
2014-11-10 18:13:41: ASM_REDUNDANCY=EXTERNAL
2014-11-10 18:13:41: ASM_SPFILE=
2014-11-10 18:13:41: ASM_UPGRADE=false
2014-11-10 18:13:41: CLSCFG_MISSCOUNT=
2014-11-10 18:13:41: CLUSTER_GUID=
2014-11-10 18:13:41: CLUSTER_NAME=scan-ip
2014-11-10 18:13:41: CRS_NODEVIPS='node1-vip/255.255.255.0/eth0,node2-vip/255.255.255.0/eth0'
2014-11-10 18:13:41: CRS_STORAGE_OPTION=1
2014-11-10 18:13:41: CSS_LEASEDURATION=400
2014-11-10 18:13:41: DIRPREFIX=
2014-11-10 18:13:41: DISABLE_OPROCD=0
2014-11-10 18:13:41: EMBASEJAR_NAME=oemlt.jar
2014-11-10 18:13:41: EWTJAR_NAME=ewt3.jar
2014-11-10 18:13:41: EXTERNAL_ORACLE_BIN=/opt/oracle/bin
2014-11-10 18:13:41: GNS_ADDR_LIST=
2014-11-10 18:13:41: GNS_ALLOW_NET_LIST=
2014-11-10 18:13:41: GNS_CONF=false
2014-11-10 18:13:41: GNS_DENY_ITF_LIST=
2014-11-10 18:13:41: GNS_DENY_NET_LIST=
2014-11-10 18:13:41: GNS_DOMAIN_LIST=
2014-11-10 18:13:41: GPNPCONFIGDIR=/u01/app/11.2.0/grid
2014-11-10 18:13:41: GPNPGCONFIGDIR=/u01/app/11.2.0/grid
2014-11-10 18:13:41: GPNP_PA=
2014-11-10 18:13:41: HELPJAR_NAME=help4.jar
2014-11-10 18:13:41: HOST_NAME_LIST=node1,node2
2014-11-10 18:13:41: ID=/etc/init.d
2014-11-10 18:13:41: INIT=/sbin/init
2014-11-10 18:13:41: IT=/etc/inittab
2014-11-10 18:13:41: JEWTJAR_NAME=jewt4.jar
2014-11-10 18:13:41: JLIBDIR=/u01/app/11.2.0/grid/jlib
2014-11-10 18:13:41: JREDIR=/u01/app/11.2.0/grid/jdk/jre/
2014-11-10 18:13:41: LANGUAGE_ID=AMERICAN_AMERICA.WE8ISO8859P1
2014-11-10 18:13:41: MSGFILE=/var/adm/messages
2014-11-10 18:13:41: NETCFGJAR_NAME=netcfg.jar
2014-11-10 18:13:41: NETWORKS="eth0"/192.168.192.0

ublic,"eth1"/172.16.1.0:cluster_interconnect
2014-11-10 18:13:41: NEW_HOST_NAME_LIST=
2014-11-10 18:13:41: NEW_NODEVIPS='node1-vip/255.255.255.0/eth0,node2-vip/255.255.255.0/eth0'
2014-11-10 18:13:41: NEW_NODE_NAME_LIST=
2014-11-10 18:13:41: NEW_PRIVATE_NAME_LIST=
2014-11-10 18:13:41: NODELIST=node1,node2
2014-11-10 18:13:41: NODE_NAME_LIST=node1,node2
2014-11-10 18:13:41: OCFS_CONFIG=
2014-11-10 18:13:41: OCRCONFIG=/etc/oracle/ocr.loc
2014-11-10 18:13:41: OCRCONFIGDIR=/etc/oracle
2014-11-10 18:13:41: OCRID=
2014-11-10 18:13:41: OCRLOC=ocr.loc
2014-11-10 18:13:41: OCR_LOCATIONS=NO_VAL
2014-11-10 18:13:41: OLASTGASPDIR=/etc/oracle/lastgasp
2014-11-10 18:13:41: OLRCONFIG=/etc/oracle/olr.loc
2014-11-10 18:13:41: OLRCONFIGDIR=/etc/oracle
2014-11-10 18:13:41: OLRLOC=olr.loc
2014-11-10 18:13:41: OPROCDCHECKDIR=/etc/oracle/oprocd/check
2014-11-10 18:13:41: OPROCDDIR=/etc/oracle/oprocd
2014-11-10 18:13:41: OPROCDFATALDIR=/etc/oracle/oprocd/fatal
2014-11-10 18:13:41: OPROCDSTOPDIR=/etc/oracle/oprocd/stop
2014-11-10 18:13:41: ORACLE_BASE=/u01/app/grid
2014-11-10 18:13:41: ORACLE_HOME=/u01/app/11.2.0/grid
2014-11-10 18:13:41: ORACLE_OWNER=grid
2014-11-10 18:13:41: ORA_ASM_GROUP=asmadmin
2014-11-10 18:13:41: ORA_DBA_GROUP=oinstall
2014-11-10 18:13:41: PRIVATE_NAME_LIST=
2014-11-10 18:13:41: RCALLDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc3.d /etc/rc.d/rc4.d /etc/rc.d/rc5.d /etc/rc.d/rc6.d
2014-11-10 18:13:41: RCKDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc4.d /etc/rc.d/rc6.d
2014-11-10 18:13:41: RCSDIR=/etc/rc.d/rc3.d /etc/rc.d/rc5.d
2014-11-10 18:13:41: RC_KILL=K19
2014-11-10 18:13:41: RC_KILL_OLD=K96
2014-11-10 18:13:41: RC_START=S96
2014-11-10 18:13:41: SCAN_NAME=scan-ip
2014-11-10 18:13:41: SCAN_PORT=1521
2014-11-10 18:13:41: SCRBASE=/etc/oracle/scls_scr
2014-11-10 18:13:41: SHAREJAR_NAME=share.jar
2014-11-10 18:13:41: SILENT=false
2014-11-10 18:13:41: SO_EXT=so
2014-11-10 18:13:41: SRVCFGLOC=srvConfig.loc
2014-11-10 18:13:41: SRVCONFIG=/var/opt/oracle/srvConfig.loc
2014-11-10 18:13:41: SRVCONFIGDIR=/var/opt/oracle
2014-11-10 18:13:41: VNDR_CLUSTER=false
2014-11-10 18:13:41: VOTING_DISKS=NO_VAL
2014-11-10 18:13:41: ### Printing other configuration values ###
2014-11-10 18:13:41: CLSCFG_EXTRA_PARMS=
2014-11-10 18:13:41: CRSDelete=0
2014-11-10 18:13:41: CRSPatch=0
2014-11-10 18:13:41: DEBUG=
2014-11-10 18:13:41: DOWNGRADE=
2014-11-10 18:13:41: HAS_GROUP=oinstall
2014-11-10 18:13:41: HAS_USER=root
2014-11-10 18:13:41: HOST=node1
2014-11-10 18:13:41: IS_SIHA=0
2014-11-10 18:13:41: OLR_DIRECTORY=/u01/app/11.2.0/grid/cdata
2014-11-10 18:13:41: OLR_LOCATION=/u01/app/11.2.0/grid/cdata/node1.olr
2014-11-10 18:13:41: ORA_CRS_HOME=/u01/app/11.2.0/grid
2014-11-10 18:13:41: SUPERUSER=root
2014-11-10 18:13:41: UPGRADE=
2014-11-10 18:13:41: VF_DISCOVERY_STRING=
2014-11-10 18:13:41: addfile=/u01/app/11.2.0/grid/crs/install/crsconfig_addparams
2014-11-10 18:13:41: crscfg_trace=1
2014-11-10 18:13:41: crscfg_trace_file=/u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_node1.log
2014-11-10 18:13:41: hosts=
2014-11-10 18:13:41: oldcrshome=
2014-11-10 18:13:41: oldcrsver=
2014-11-10 18:13:41: osdfile=/u01/app/11.2.0/grid/crs/install/s_crsconfig_defs
2014-11-10 18:13:41: parameters_valid=1
2014-11-10 18:13:41: paramfile=/u01/app/11.2.0/grid/crs/install/crsconfig_params
2014-11-10 18:13:41: platform_family=unix
2014-11-10 18:13:41: srvctl_trc_suff=0
2014-11-10 18:13:41: unlock_crshome=
2014-11-10 18:13:41: user_is_superuser=1
2014-11-10 18:13:41: ### Printing of configuration values complete ###
2014-11-10 18:13:41: Oracle CRS stack is not configured yet
2014-11-10 18:13:41: CRS is not yet configured. Hence, will proceed to configure CRS
2014-11-10 18:13:41: Cluster-wide one-time actions... Done!
2014-11-10 18:13:42: Oracle CRS home = /u01/app/11.2.0/grid
2014-11-10 18:13:42: Host name = node1
2014-11-10 18:13:42: CRS user = grid
2014-11-10 18:13:42: Oracle CRS home = /u01/app/11.2.0/grid
2014-11-10 18:13:42: GPnP host = node1
2014-11-10 18:13:42: Oracle GPnP home = /u01/app/11.2.0/grid/gpnp
2014-11-10 18:13:42: Oracle GPnP local home = /u01/app/11.2.0/grid/gpnp/node1
2014-11-10 18:13:42: GPnP directories verified.
2014-11-10 18:13:42: Checking to see if Oracle CRS stack is already configured
2014-11-10 18:13:42: Oracle CRS stack is not configured yet
2014-11-10 18:13:42: ---Checking local gpnp setup...
2014-11-10 18:13:42: The setup file "/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" does not exist
2014-11-10 18:13:42: The setup file "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer/cwallet.sso" does not exist
2014-11-10 18:13:42: The setup file "/u01/app/11.2.0/grid/gpnp/node1/wallets/prdr/cwallet.sso" does not exist
2014-11-10 18:13:42: chk gpnphome /u01/app/11.2.0/grid/gpnp/node1: profile_ok 0 wallet_ok 0 r/o_wallet_ok 0
2014-11-10 18:13:42: chk gpnphome /u01/app/11.2.0/grid/gpnp/node1: INVALID (bad profile/wallet)
2014-11-10 18:13:42: ---Checking cluster-wide gpnp setup...
2014-11-10 18:13:42: The setup file "/u01/app/11.2.0/grid/gpnp/profiles/peer/profile.xml" does not exist
2014-11-10 18:13:42: The setup file "/u01/app/11.2.0/grid/gpnp/wallets/peer/cwallet.sso" does not exist
2014-11-10 18:13:42: The setup file "/u01/app/11.2.0/grid/gpnp/wallets/prdr/cwallet.sso" does not exist
2014-11-10 18:13:42: chk gpnphome /u01/app/11.2.0/grid/gpnp: profile_ok 0 wallet_ok 0 r/o_wallet_ok 0
2014-11-10 18:13:42: chk gpnphome /u01/app/11.2.0/grid/gpnp: INVALID (bad profile/wallet)
2014-11-10 18:13:42: gpnp setup checked: local valid? 0 cluster-wide valid? 0
2014-11-10 18:13:42: gpnp setup: NONE
2014-11-10 18:13:42: GPNP configuration required
2014-11-10 18:13:42: Validating for SI-CSS configuration
2014-11-10 18:13:42: Retrieving OCR main disk location
2014-11-10 18:13:42: Opening file OCRCONFIG
2014-11-10 18:13:42: Value () is set for key=ocrconfig_loc
2014-11-10 18:13:42: Unable to retrieve ocr disk info
2014-11-10 18:13:42: Checking to see if any 9i GSD is up
2014-11-10 18:13:42: libskgxnBase_lib = /etc/ORCLcluster/oracm/lib/libskgxn2.so
2014-11-10 18:13:42: libskgxn_lib = /opt/ORCLcluster/lib/libskgxn2.so
2014-11-10 18:13:42: SKGXN library file does not exists
2014-11-10 18:13:42: OLR location = /u01/app/11.2.0/grid/cdata/node1.olr
2014-11-10 18:13:42: Oracle CRS Home = /u01/app/11.2.0/grid
2014-11-10 18:13:42: Validating /etc/oracle/olr.loc file for OLR location /u01/app/11.2.0/grid/cdata/node1.olr
2014-11-10 18:13:42: /etc/oracle/olr.loc already exists. Backing up /etc/oracle/olr.loc to /etc/oracle/olr.loc.orig
2014-11-10 18:13:42: Oracle CRS home = /u01/app/11.2.0/grid
2014-11-10 18:13:42: Oracle cluster name = scan-ip
2014-11-10 18:13:42: OCR locations = +DATA
2014-11-10 18:13:42: Validating OCR
2014-11-10 18:13:42: Retrieving OCR location used by previous installations
2014-11-10 18:13:42: Opening file OCRCONFIG
2014-11-10 18:13:42: Value () is set for key=ocrconfig_loc
2014-11-10 18:13:42: Opening file OCRCONFIG
2014-11-10 18:13:42: Value () is set for key=ocrmirrorconfig_loc
2014-11-10 18:13:42: Opening file OCRCONFIG
2014-11-10 18:13:42: Value () is set for key=ocrconfig_loc3
2014-11-10 18:13:42: Opening file OCRCONFIG
2014-11-10 18:13:42: Value () is set for key=ocrconfig_loc4
2014-11-10 18:13:42: Opening file OCRCONFIG
2014-11-10 18:13:42: Value () is set for key=ocrconfig_loc5
2014-11-10 18:13:42: Checking if OCR sync file exists
2014-11-10 18:13:42: No need to sync OCR file
2014-11-10 18:13:42: OCR_LOCATION=+DATA
2014-11-10 18:13:42: OCR_MIRROR_LOCATION=
2014-11-10 18:13:42: OCR_MIRROR_LOC3=
2014-11-10 18:13:42: OCR_MIRROR_LOC4=
2014-11-10 18:13:42: OCR_MIRROR_LOC5=
2014-11-10 18:13:42: Current OCR location=
2014-11-10 18:13:42: Current OCR mirror location=
2014-11-10 18:13:42: Current OCR mirror loc3=
2014-11-10 18:13:42: Current OCR mirror loc4=
2014-11-10 18:13:42: Current OCR mirror loc5=
2014-11-10 18:13:42: Verifying current OCR settings with user entered values
2014-11-10 18:13:42: Setting OCR locations in /etc/oracle/ocr.loc
2014-11-10 18:13:42: Validating OCR locations in /etc/oracle/ocr.loc
2014-11-10 18:13:42: Checking for existence of /etc/oracle/ocr.loc
2014-11-10 18:13:42: Backing up /etc/oracle/ocr.loc to /etc/oracle/ocr.loc.orig
2014-11-10 18:13:42: Setting ocr location +DATA
2014-11-10 18:13:42: Creating or upgrading Oracle Local Registry (OLR)
2014-11-10 18:13:44: OLR successfully created or upgraded
2014-11-10 18:13:44: /u01/app/11.2.0/grid/bin/clscfg -localadd
2014-11-10 18:13:45: Keys created in the OLR successfully
2014-11-10 18:13:45: GPnP setup state: none
2014-11-10 18:13:45: Creating local GPnP setup for clustered node...
2014-11-10 18:13:45: Oracle CRS home = /u01/app/11.2.0/grid
2014-11-10 18:13:45: Oracle GPnP wallets home = /u01/app/11.2.0/grid/gpnp/node1/wallets
2014-11-10 18:13:45: Checking if GPnP setup exists
2014-11-10 18:13:45: /u01/app/11.2.0/grid/gpnp/node1/wallets/peer/cwallet.sso wallet must be created
2014-11-10 18:13:45: Removing old wallets/certificates, if any
2014-11-10 18:13:45: Creating GPnP Root Wallet...
2014-11-10 18:13:45: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/root" -pwd gpnp_wallet1 -nologo
2014-11-10 18:13:47: Creating GPnP Root Certificate...
2014-11-10 18:13:47: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/root" -pwd gpnp_wallet1 -self_signed -dn "CN=GPnP_root" -keysize 1024 -validity 9999 -nologo
2014-11-10 18:13:49: Exporting GPnP Root Certificate...
2014-11-10 18:13:49: /u01/app/11.2.0/grid/bin/orapki wallet export -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/root" -pwd gpnp_wallet1 -dn "CN=GPnP_root" -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/root/b64certificate.txt" -nologo
2014-11-10 18:13:49: Creating GPnP Peer Wallet...
2014-11-10 18:13:49: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -pwd gpnp_wallet1 -auto_login -nologo
2014-11-10 18:13:50: Creating GPnP Profile Reader Wallet...
2014-11-10 18:13:50: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/prdr" -pwd gpnp_wallet1 -auto_login -nologo
2014-11-10 18:13:50: Creating GPnP PA Wallet...
2014-11-10 18:13:50: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa" -pwd gpnp_wallet1 -auto_login -nologo
2014-11-10 18:13:51: Adding private key to GPnP Peer Wallet...
2014-11-10 18:13:51: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -pwd gpnp_wallet1 -dn "CN=GPnP_peer" -keysize 1024 -nologo
2014-11-10 18:13:52: Adding private key to GPnP PA Wallet...
2014-11-10 18:13:52: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa" -pwd gpnp_wallet1 -dn "CN=GPnP_pa" -keysize 1024 -nologo
2014-11-10 18:13:53: Creating certificate request for GPnP Peer Wallet...
2014-11-10 18:13:53: /u01/app/11.2.0/grid/bin/orapki wallet export -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -pwd gpnp_wallet1 -dn "CN=GPnP_peer" -request "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer/certreq.txt" -nologo
2014-11-10 18:13:53: Creating certificate request for GPnP PA Wallet...
2014-11-10 18:13:53: /u01/app/11.2.0/grid/bin/orapki wallet export -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa" -pwd gpnp_wallet1 -dn "CN=GPnP_pa" -request "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa/certreq.txt" -nologo
2014-11-10 18:13:54: Creating certificate for GPnP Peer Wallet...
2014-11-10 18:13:54: /u01/app/11.2.0/grid/bin/orapki cert create -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/root" -pwd gpnp_wallet1 -request "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer/certreq.txt" -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer/cert.txt" -validity 9999 -nologo
2014-11-10 18:13:55: Creating certificate for GPnP PA Wallet...
2014-11-10 18:13:55: /u01/app/11.2.0/grid/bin/orapki cert create -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/root" -pwd gpnp_wallet1 -request "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa/certreq.txt" -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa/cert.txt" -validity 9999 -nologo
2014-11-10 18:13:55: Adding Root Certificate TP to GPnP Peer Wallet...
2014-11-10 18:13:55: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/root/b64certificate.txt" -nologo
2014-11-10 18:13:56: Adding Root Certificate TP to GPnP Profile Reader Wallet...
2014-11-10 18:13:56: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/prdr" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/root/b64certificate.txt" -nologo
2014-11-10 18:13:56: Adding Root Certificate TP to GPnP PA Wallet...
2014-11-10 18:13:56: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/root/b64certificate.txt" -nologo
2014-11-10 18:13:57: Adding PA Certificate as a TP into a GPnP Peer Wallet...
2014-11-10 18:13:57: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa/cert.txt" -nologo
2014-11-10 18:13:58: Adding peer Certificate as a TP into a GPnP PA Wallet...
2014-11-10 18:13:58: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer/cert.txt" -nologo
2014-11-10 18:13:58: Adding PA Certificate as a TP into a GPnP Profile Reader Wallet...
2014-11-10 18:13:58: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/prdr" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa/cert.txt" -nologo
2014-11-10 18:13:59: Adding peer Certificate as a TP into a GPnP Profile Reader Wallet...
2014-11-10 18:13:59: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/prdr" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer/cert.txt" -nologo
2014-11-10 18:14:00: Adding PA Certificate as a TP into a GPnP Peer Wallet...
2014-11-10 18:14:00: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -pwd gpnp_wallet1 -user_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/peer/cert.txt" -nologo
2014-11-10 18:14:00: Adding peer Certificate as a TP into a GPnP PA Wallet...
2014-11-10 18:14:00: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa" -pwd gpnp_wallet1 -user_cert -cert "/u01/app/11.2.0/grid/gpnp/node1/wallets/pa/cert.txt" -nologo
2014-11-10 18:14:01: GPnP Wallets ownership/permissions successfully set.
2014-11-10 18:14:01: GPnP Wallets successfully created.
2014-11-10 18:14:01:
2014-11-10 18:14:01: Oracle CRS home = /u01/app/11.2.0/grid
2014-11-10 18:14:01: Oracle GPnP profiles home = /u01/app/11.2.0/grid/gpnp/node1/profiles
2014-11-10 18:14:01: Oracle GPnP profiles parameters:
2014-11-10 18:14:01:paloc==
2014-11-10 18:14:01:cname=scan-ip=
2014-11-10 18:14:01:cssdisco==
2014-11-10 18:14:01:cssld=400=
2014-11-10 18:14:01:asmdisco==
2014-11-10 18:14:01:asmspf==
2014-11-10 18:14:01:netlst="eth0"/192.168.192.0

ublic,"eth1"/172.16.1.0:cluster_interconnect=
2014-11-10 18:14:01:ocrid==
2014-11-10 18:14:01:clusterguid==
2014-11-10 18:14:01: Checking if GPnP setup exists
2014-11-10 18:14:01: /u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml profile must be created
2014-11-10 18:14:01: OCRID is not available, hence not set in GPnP Profile
2014-11-10 18:14:01: ClusterGUID is not available, hence not set in GPnP Profile
2014-11-10 18:14:01: gpnptool: run /u01/app/11.2.0/grid/bin/gpnptool create -o="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -ovr -prf -prf_sq=1 -prf_cn=scan-ip -prf_pa="" -hnet=gen -gen:hnet_nm="*" -gen:net=net1 -net1:net_ip="192.168.192.0" -net1:net_ada="eth0" -net1:net_use="public" -gen:net=net2 -net2:net_ip="172.16.1.0" -net2:net_ada="eth1" -net2:net_use="cluster_interconnect" -css=css -css:css_dis="" -css:css_ld=400 -asm=asm -asm:asm_dis="++no-value-at-profile-creation--never-updated-through-ASM++" -asm:asm_spf=""
2014-11-10 18:14:01: Running as user grid: /u01/app/11.2.0/grid/bin/gpnptool create -o="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -ovr -prf -prf_sq=1 -prf_cn=scan-ip -prf_pa="" -hnet=gen -gen:hnet_nm="*" -gen:net=net1 -net1:net_ip="192.168.192.0" -net1:net_ada="eth0" -net1:net_use="public" -gen:net=net2 -net2:net_ip="172.16.1.0" -net2:net_ada="eth1" -net2:net_use="cluster_interconnect" -css=css -css:css_dis="" -css:css_ld=400 -asm=asm -asm:asm_dis="++no-value-at-profile-creation--never-updated-through-ASM++" -asm:asm_spf=""
2014-11-10 18:14:01: s_run_as_user2: Running /bin/su grid -c ' /u01/app/11.2.0/grid/bin/gpnptool create -o="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -ovr -prf -prf_sq=1 -prf_cn=scan-ip -prf_pa="" -hnet=gen -gen:hnet_nm="*" -gen:net=net1 -net1:net_ip="192.168.192.0" -net1:net_ada="eth0" -net1:net_use="public" -gen:net=net2 -net2:net_ip="172.16.1.0" -net2:net_ada="eth1" -net2:net_use="cluster_interconnect" -css=css -css:css_dis="" -css:css_ld=400 -asm=asm -asm:asm_dis="++no-value-at-profile-creation--never-updated-through-ASM++" -asm:asm_spf="" '
2014-11-10 18:14:02: Removing file /tmp/fileFle1vY
2014-11-10 18:14:02: Successfully removed file: /tmp/fileFle1vY
2014-11-10 18:14:02: /bin/su successfully executed
2014-11-10 18:14:02: gpnptool: rc=0
2014-11-10 18:14:02: gpnptool output:
Resulting profile written to "/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml".
Success.
2014-11-10 18:14:02: gpnptool: run /u01/app/11.2.0/grid/bin/gpnptool sign -p="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -o="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -ovr -w="file:/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -rmws
2014-11-10 18:14:02: Running as user grid: /u01/app/11.2.0/grid/bin/gpnptool sign -p="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -o="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -ovr -w="file:/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -rmws
2014-11-10 18:14:02: s_run_as_user2: Running /bin/su grid -c ' /u01/app/11.2.0/grid/bin/gpnptool sign -p="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -o="/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml" -ovr -w="file:/u01/app/11.2.0/grid/gpnp/node1/wallets/peer" -rmws '
2014-11-10 18:14:02: Removing file /tmp/fileKoWdB2
2014-11-10 18:14:02: Successfully removed file: /tmp/fileKoWdB2
2014-11-10 18:14:02: /bin/su successfully executed
2014-11-10 18:14:02: gpnptool: rc=0
2014-11-10 18:14:02: gpnptool output:
Resulting profile written to "/u01/app/11.2.0/grid/gpnp/node1/profiles/peer/profile.xml".
Success.
2014-11-10 18:14:02: GPnP peer profile create successfully completed.
2014-11-10 18:14:02: /dev/null 2>&1 </dev/null
2014-11-10 18:14:07: Done updating /etc/inittab.tmp
2014-11-10 18:14:07: Saved /etc/inittab.crs
2014-11-10 18:14:07: Installed new /etc/inittab
2014-11-10 18:14:13: ohasd is starting
2014-11-10 18:14:13: Checking ohasd
2014-11-10 18:14:13: ohasd started successfully
2014-11-10 18:14:13: Creating CRS resources and dependencies
2014-11-10 18:14:13: Configuring HASD
2014-11-10 18:14:13: Registering type ora.daemon.type
2014-11-10 18:14:14: Registering type ora.mdns.type
2014-11-10 18:14:14: Registering type ora.gpnp.type
2014-11-10 18:14:14: Registering type ora.gipc.type
2014-11-10 18:14:14: Registering type ora.cssd.type
2014-11-10 18:14:15: Registering type ora.cssdmonitor.type
2014-11-10 18:14:15: Registering type ora.crs.type
2014-11-10 18:14:15: Registering type ora.evm.type
2014-11-10 18:14:16: Registering type ora.ctss.type
2014-11-10 18:14:16: Registering type ora.asm.type
2014-11-10 18:14:16: Registering type ora.drivers.acfs.type
2014-11-10 18:14:17: Registering type ora.diskmon.type
2014-11-10 18:14:24: ADVM/ACFS is not supported on oraclelinux-release-5-8.0.2
2014-11-10 18:14:24:
2014-11-10 18:14:24: ADVM/ACFS is not configured
2014-11-10 18:14:24: Successfully created CRS resources for cluster daemon and ASM
2014-11-10 18:14:24: Checking if initial configuration has been performed
2014-11-10 18:14:24: Starting CSS in exclusive mode
2014-11-10 18:15:46: CRS-2672: Attempting to start 'ora.gipcd' on 'node1'
2014-11-10 18:15:46: CRS-2672: Attempting to start 'ora.mdnsd' on 'node1'
2014-11-10 18:15:46: CRS-2676: Start of 'ora.mdnsd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2676: Start of 'ora.gipcd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2672: Attempting to start 'ora.gpnpd' on 'node1'
2014-11-10 18:15:46: CRS-2676: Start of 'ora.gpnpd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node1'
2014-11-10 18:15:46: CRS-2676: Start of 'ora.cssdmonitor' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2672: Attempting to start 'ora.cssd' on 'node1'
2014-11-10 18:15:46: CRS-2672: Attempting to start 'ora.diskmon' on 'node1'
2014-11-10 18:15:46: CRS-2676: Start of 'ora.diskmon' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2674: Start of 'ora.cssd' on 'node1' failed
2014-11-10 18:15:46: CRS-2679: Attempting to clean 'ora.cssd' on 'node1'
2014-11-10 18:15:46: CRS-2681: Clean of 'ora.cssd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2673: Attempting to stop 'ora.gpnpd' on 'node1'
2014-11-10 18:15:46: CRS-2677: Stop of 'ora.gpnpd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2679: Attempting to clean 'ora.gpnpd' on 'node1'
2014-11-10 18:15:46: CRS-2681: Clean of 'ora.gpnpd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2673: Attempting to stop 'ora.mdnsd' on 'node1'
2014-11-10 18:15:46: CRS-2677: Stop of 'ora.mdnsd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-2673: Attempting to stop 'ora.gipcd' on 'node1'
2014-11-10 18:15:46: CRS-2677: Stop of 'ora.gipcd' on 'node1' succeeded
2014-11-10 18:15:46: CRS-4000: Command Start failed, or completed with errors.
2014-11-10 18:15:46: Querying for existing CSS voting disks
2014-11-10 18:15:47: Performing initial configuration for cluster
2014-11-10 18:16:13: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl start resource ora.ctssd -init
2014-11-10 18:16:13: Start of resource "ora.ctssd -init" failed
2014-11-10 18:16:13: Clusterware exclusive mode start of resource ora.ctssd failed
2014-11-10 18:16:13: Exiting exclusive mode
2014-11-10 18:16:14: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2014-11-10 18:16:14: Stop of resource "ora.crsd -init" failed
2014-11-10 18:16:14: Failed to stop CRSD
2014-11-10 18:16:14: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
2014-11-10 18:16:14: Stop of resource "ora.asm -init" failed
2014-11-10 18:16:14: Failed to stop ASM
2014-11-10 18:16:16: Initial cluster configuration failed.See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_node1.log for details

回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
楼主,借帖子用下,谢谢
回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层


人呢,搞了2天没搞好

回复

使用道具 举报

千问 | 2015-3-4 14:55:27 | 显示全部楼层
kkingo 发表于 2014-11-10 21:14
人呢,搞了2天没搞好

我没装11g的了,我装10g的了,10g的装的很顺利,但是中间还是有个关于vipca的bug,不过那个挺好解决的。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行