Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

8

主题
1#
发表于 2012-12-8 15:22:21 | 查看: 6227| 回复: 15
oracle11gR2 RAC AIX6107 grid安装执行root.sh报错

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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 script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-121207AM060129.log for details.

Configuration of ASM ... failed
see asmca logs at /u01/app/grid/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6763.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed




/u01/app/grid/cfgtoollogs/asmca/asmca-121207AM060129.log

里报错是tns12541 12560 00511
还有ORA-12547: TNS:lost contact
2#
发表于 2012-12-8 15:23:33
oracle11gR2 具体是什么版本!!!

回复 只看该作者 道具 举报

3#
发表于 2012-12-8 15:26:24
忘记说了oracle 11.2.0.3

回复 只看该作者 道具 举报

4#
发表于 2012-12-8 15:27:21
对了 是第一个节点就报错了

回复 只看该作者 道具 举报

5#
发表于 2012-12-8 15:27:21
提供 /u01/app/grid/cfgtoollogs/asmca/asmca-121207AM060129.log

和 ASM 实例的alert.log

回复 只看该作者 道具 举报

6#
发表于 2012-12-8 15:34:30
sorry 老大 我刚才把11.2.0.3给删了 正在装11.2.0.1看看这次能不能过去

回复 只看该作者 道具 举报

7#
发表于 2012-12-8 15:36:42
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Connection refused
大概的一个报错信息

回复 只看该作者 道具 举报

8#
发表于 2012-12-8 16:05:26
太夸张了
换了个版本 过去了
# /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]:
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.
2012-12-08 01:55:35: Parsing the host name
2012-12-08 01:55:35: Checking for super user privileges
2012-12-08 01:55:35: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
User grid has the required capabilities to run CSSD in realtime mode
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'system'..
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
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded

ASM created and started successfully.

DiskGroup crs_orc_vot created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 27a010520d644ff8bff5dffd7a591d93.
Successful addition of voting disk 4162c145057f4ff3bfe64b84830bc4cc.
Successful addition of voting disk 7538ad24933c4f4abff07563dac22bdf.
Successfully replaced voting disk group with +crs_orc_vot.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
1. ONLINE   27a010520d644ff8bff5dffd7a591d93 (/dev/rhdisk3) [CRS_ORC_VOT]
2. ONLINE   4162c145057f4ff3bfe64b84830bc4cc (/dev/rhdisk4) [CRS_ORC_VOT]
3. ONLINE   7538ad24933c4f4abff07563dac22bdf (/dev/rhdisk5) [CRS_ORC_VOT]
Located 3 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac1'
CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.CRS_ORC_VOT.dg' on 'rac1'
CRS-2676: Start of 'ora.CRS_ORC_VOT.dg' on 'rac1' succeeded

rac1     2012/12/08 02:03:30     /u01/app/11.2.0/grid/cdata/rac1/backup_20121208_020330.olr
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 10880 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.

回复 只看该作者 道具 举报

9#
发表于 2012-12-8 16:06:38
对了,
刘大,我按照oracle 官方文档删除原来的grid 但是安装11.2.0.1第一个脚本还是没有出来
我哪里还没有删除干净呢?

1.png (63.35 KB, 下载次数: 388)

1.png

回复 只看该作者 道具 举报

10#
发表于 2012-12-8 16:34:48
grid安装完毕 不知道11.2.0.3是否有bug在aix6107上

回复 只看该作者 道具 举报

11#
发表于 2012-12-10 11:42:36
楼主是不是装的11.2.0.1?我就是一直卡在CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded那个地方就不动了(十几个小时),只能ctrl+c,然后就ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-121207AM060129.log for details.

我到现在也没能处理

回复 只看该作者 道具 举报

12#
发表于 2012-12-10 12:58:03
qqxiong2012 发表于 2012-12-10 11:42
楼主是不是装的11.2.0.1?我就是一直卡在CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded那个地方就不 ...


是的 你那个问题貌似有人遇到过 你找找看

回复 只看该作者 道具 举报

13#
发表于 2012-12-11 13:29:14
to 刘大

问下grid从 11.2.0.1升级到11.2.0.3有风险吗 需要停掉crs吧

回复 只看该作者 道具 举报

14#
发表于 2012-12-11 21:01:13
我在 AIX 6.1 上装过很多次 11.2.0.2 和 11.2.0.3 版本, 我认为正确安装不会有问题。

11.2.0.3 可以直接安装,我认为比升级还可靠省时一些。

回复 只看该作者 道具 举报

15#
发表于 2012-12-12 08:39:20
Liu Maclean(刘相兵 发表于 2012-12-11 21:01
我在 AIX 6.1 上装过很多次 11.2.0.2 和 11.2.0.3 版本, 我认为正确安装不会有问题。

11.2.0.3 可以直接 ...

但是我用11.2.0.1就没有问题,个人感觉安装过程没有什么问题。我同事之前装11.2.0.3也没有装成功,后来也是换的11.2.0.1才成功 不知道是不是aix6107这个版本问题

升级是没有办法的办法了,11.2.0.3直接装装不上,现在就怕升级也装不上

回复 只看该作者 道具 举报

16#
发表于 2012-12-18 11:26:42
有一个补丁没打 导致的 今天又装了一套 成功安装

回复 只看该作者 道具 举报

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

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-11 04:04 , Processed in 0.062931 second(s), 23 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569