楼主: remen

[HA] 超级郁闷,solaris安装rac,运行root.sh老是报错!

[复制链接]
论坛徽章:
14
数据库板块每日发贴之星
日期:2005-05-15 01:01:24生肖徽章2007版:鸡
日期:2009-11-17 15:01:30生肖徽章2007版:马
日期:2009-10-22 08:53:062009新春纪念徽章
日期:2009-01-04 14:52:28数据库板块每日发贴之星
日期:2008-12-28 01:01:02ERP板块每日发贴之星
日期:2008-11-29 01:01:04数据库板块每日发贴之星
日期:2008-04-25 01:01:54生肖徽章2007版:鸡
日期:2008-01-02 17:35:53ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44会员2007贡献徽章
日期:2007-09-26 18:42:10
21#
 楼主| 发表于 2010-3-12 09:04 | 只看该作者
这是在执行完root.sh报错后的权限显示,在安装crs之前我已经先chmod 660了,可是执行root.sh后会变化

使用道具 举报

回复
论坛徽章:
14
数据库板块每日发贴之星
日期:2005-05-15 01:01:24生肖徽章2007版:鸡
日期:2009-11-17 15:01:30生肖徽章2007版:马
日期:2009-10-22 08:53:062009新春纪念徽章
日期:2009-01-04 14:52:28数据库板块每日发贴之星
日期:2008-12-28 01:01:02ERP板块每日发贴之星
日期:2008-11-29 01:01:04数据库板块每日发贴之星
日期:2008-04-25 01:01:54生肖徽章2007版:鸡
日期:2008-01-02 17:35:53ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44会员2007贡献徽章
日期:2007-09-26 18:42:10
22#
 楼主| 发表于 2010-3-12 10:30 | 只看该作者
权限我已经反复验证过了,应该没什么大问题

使用道具 举报

回复
论坛徽章:
48
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26ITPUB季度 技术新星
日期:2010-05-17 15:53:17数据库板块每日发贴之星
日期:2010-05-12 01:01:01数据库板块每日发贴之星
日期:2010-05-08 01:01:01数据库板块每日发贴之星
日期:2010-05-07 01:01:02数据库板块每日发贴之星
日期:2010-04-29 01:01:01
23#
发表于 2010-3-12 10:44 | 只看该作者
原帖由 remen 于 2010-3-12 08:52 发表
-bash-3.00# ls -l ocr
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 ocr -> c1t1d0s6
-bash-3.00# ls -l vote
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 vote -> c1t2d0s6
-bash-3.00# ls -l c1t1d0s6
lrwxrwxrwx   1 root     root          50  3月  5日 17:04 c1t1d0s6 -> ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
-bash-3.00# ls -l c1t2d0s6
lrwxrwxrwx   1 root     root          50  3月  5日 17:04 c1t2d0s6 -> ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
-bash-3.00# ls -l ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
crw-r-----   1 root     oinstall  31, 134  3月 12日 08:28 ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
-bash-3.00# ls -l ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
crw-r--r--   1 oracle   oinstall  31, 198  3月 12日 08:28 ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw



试试。

chown rootinstall /dev/rdsk/ocr
chown oracleinstall /dev/rdsk/vote

使用道具 举报

回复
论坛徽章:
14
数据库板块每日发贴之星
日期:2005-05-15 01:01:24生肖徽章2007版:鸡
日期:2009-11-17 15:01:30生肖徽章2007版:马
日期:2009-10-22 08:53:062009新春纪念徽章
日期:2009-01-04 14:52:28数据库板块每日发贴之星
日期:2008-12-28 01:01:02ERP板块每日发贴之星
日期:2008-11-29 01:01:04数据库板块每日发贴之星
日期:2008-04-25 01:01:54生肖徽章2007版:鸡
日期:2008-01-02 17:35:53ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44会员2007贡献徽章
日期:2007-09-26 18:42:10
24#
 楼主| 发表于 2010-3-12 10:49 | 只看该作者
原帖由 inthirties2 于 2010-3-12 10:44 发表



试试。

chown rootinstall /dev/rdsk/ocr
chown oracleinstall /dev/rdsk/vote


已经做过N次了,这是个链接,执行chown后,链接的OWNER是不会变化的,他对应的物理设备的OWERN已经是rootinstall oracleinstall了

-bash-3.00# ls -l ocr vote
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 ocr -> c1t1d0s6
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 vote -> c1t2d0s6
-bash-3.00# ls -l c1t1d0s6 c1t2d0s6
lrwxrwxrwx   1 root     root          50  3月  5日 17:04 c1t1d0s6 -> ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
lrwxrwxrwx   1 root     root          50  3月  5日 17:04 c1t2d0s6 -> ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
-bash-3.00# ls -l ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
crw-r-----   1 root     oinstall  31, 134  3月 12日 10:03 ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
crw-r--r--   1 oracle   oinstall  31, 198  3月 12日 10:49 ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
-bash-3.00# chown rootinstall ocr;chown oracleinstall vote
-bash-3.00# ls -l ocr vote
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 ocr -> c1t1d0s6
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 vote -> c1t2d0s6
-bash-3.00# ls -l ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
crw-r-----   1 root     oinstall  31, 134  3月 12日 10:03 ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
crw-r--r--   1 oracle   oinstall  31, 198  3月 12日 10:51 ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
-bash-3.00#

[ 本帖最后由 remen 于 2010-3-12 10:51 编辑 ]

使用道具 举报

回复
论坛徽章:
48
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26ITPUB季度 技术新星
日期:2010-05-17 15:53:17数据库板块每日发贴之星
日期:2010-05-12 01:01:01数据库板块每日发贴之星
日期:2010-05-08 01:01:01数据库板块每日发贴之星
日期:2010-05-07 01:01:02数据库板块每日发贴之星
日期:2010-04-29 01:01:01
25#
发表于 2010-3-12 11:10 | 只看该作者
原帖由 remen 于 2010-3-12 10:49 发表


已经做过N次了,这是个链接,执行chown后,链接的OWNER是不会变化的,他对应的物理设备的OWERN已经是rootinstall oracleinstall了

-bash-3.00# ls -l ocr vote
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 ocr -> c1t1d0s6
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 vote -> c1t2d0s6
-bash-3.00# ls -l c1t1d0s6 c1t2d0s6
lrwxrwxrwx   1 root     root          50  3月  5日 17:04 c1t1d0s6 -> ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
lrwxrwxrwx   1 root     root          50  3月  5日 17:04 c1t2d0s6 -> ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
-bash-3.00# ls -l ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
crw-r-----   1 root     oinstall  31, 134  3月 12日 10:03 ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
crw-r--r--   1 oracle   oinstall  31, 198  3月 12日 10:49 ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
-bash-3.00# chown rootinstall ocr;chown oracleinstall vote
-bash-3.00# ls -l ocr vote
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 ocr -> c1t1d0s6
lrwxrwxrwx   1 root     root           8  3月 12日 08:27 vote -> c1t2d0s6
-bash-3.00# ls -l ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
crw-r-----   1 root     oinstall  31, 134  3月 12日 10:03 ../../devices/pci@0,0/pci15ad,1976@10/sd@1,0:g,raw
crw-r--r--   1 oracle   oinstall  31, 198  3月 12日 10:51 ../../devices/pci@0,0/pci15ad,1976@10/sd@2,0:g,raw
-bash-3.00#


chown 加上 -h

这里出错的信息提示如此。所以也没有其他的方向可以想到的,你先试着吧own换过来,看能不能解决。

使用道具 举报

回复
论坛徽章:
8
生肖徽章2007版:牛
日期:2008-12-07 19:25:52生肖徽章2007版:猪
日期:2008-12-29 20:23:282009新春纪念徽章
日期:2009-01-04 14:52:28生肖徽章2007版:兔
日期:2009-03-29 13:48:40生肖徽章2007版:牛
日期:2009-05-29 23:50:002010年世界杯参赛球队:阿尔及利亚
日期:2010-03-03 15:00:532013年新春福章
日期:2013-02-25 14:51:24ITPUB社区12周年站庆徽章
日期:2013-08-20 11:30:11
26#
发表于 2010-3-12 12:08 | 只看该作者
dd初始化下看看?而且这操作也可检查下是否有权限

使用道具 举报

回复
论坛徽章:
14
数据库板块每日发贴之星
日期:2005-05-15 01:01:24生肖徽章2007版:鸡
日期:2009-11-17 15:01:30生肖徽章2007版:马
日期:2009-10-22 08:53:062009新春纪念徽章
日期:2009-01-04 14:52:28数据库板块每日发贴之星
日期:2008-12-28 01:01:02ERP板块每日发贴之星
日期:2008-11-29 01:01:04数据库板块每日发贴之星
日期:2008-04-25 01:01:54生肖徽章2007版:鸡
日期:2008-01-02 17:35:53ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44会员2007贡献徽章
日期:2007-09-26 18:42:10
27#
 楼主| 发表于 2010-3-12 13:33 | 只看该作者
结贴!
发现了一个很极低的问题(os是64bit的,我居然下了32bit的cluster软件,晕啊,折腾了整整3天),另外做了一堆其他的动作,最后好了,也不知道这些动作是否是原因
最后总结下解决方法:
1 换作64bit cluster软件
2 按照楼上几位朋友的建议做了chown -h(-h参数说实在,我感觉无所谓)
3 用oracle用户也做了一把dd,呵呵(不知道这个是否有道理,反正我做了)
4 重装crs,好了

不过即使好了,我还是发现日志怪怪的,莫非就应该这样?
-bash-3.00$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....is1.gsd application    ONLINE    ONLINE    solaris1   
ora....is1.ons application    ONLINE    ONLINE    solaris1   
ora....is1.vip application    ONLINE    ONLINE    solaris1   
ora....is2.gsd application    ONLINE    ONLINE    solaris2   
ora....is2.ons application    ONLINE    ONLINE    solaris2   
ora....is2.vip application    ONLINE    ONLINE    solaris2   

从这里看是好了

可是日志如下:

-bash-3.00# ls
admin              client             cssd               racg
alertsolaris1.log  crsd               evmd
-bash-3.00# more a*.log
2010-03-12 13:13:26.130
[client(1855)]CRS-1006:The OCR location /dev/rdsk/ocr is inaccessible. Details in /u01/crs/product/10.2.0/log/solaris1/client/ocrcon
fig_1855.log.
2010-03-12 13:13:26.134
[client(1855)]CRS-1006:The OCR location /dev/rdsk/ocr is inaccessible. Details in /u01/crs/product/10.2.0/log/solaris1/client/ocrcon
fig_1855.log.
2010-03-12 13:13:26.136
[client(1855)]CRS-1006:The OCR location /dev/rdsk/ocr is inaccessible. Details in /u01/crs/product/10.2.0/log/solaris1/client/ocrcon
fig_1855.log.
2010-03-12 13:13:26.152
[client(1855)]CRS-1001:The OCR was formatted using version 2.
2010-03-12 13:13:33.565
[client(1908)]CRS-1801:Cluster crs configured with nodes solaris1 solaris2 .
2010-03-12 13:13:56.993
[cssd(2484)]CRS-1605:CSSD voting file is online: /dev/rdsk/vote. Details in /u01/crs/product/10.2.0/log/solaris1/cssd/ocssd.log.
2010-03-12 13:14:00.199
[cssd(2484)]CRS-1601:CSSD Reconfiguration complete. Active nodes are solaris1 .
2010-03-12 13:15:04.890
[cssd(2484)]CRS-1601:CSSD Reconfiguration complete. Active nodes are solaris1 solaris2 .
2010-03-12 13:15:06.115
[crsd(2058)]CRS-1012:The OCR service started on node solaris1.
2010-03-12 13:15:06.121
[evmd(2051)]CRS-1401:EVMD started on node solaris1.
2010-03-12 13:15:07.849
[crsd(2058)]CRS-1201:CRSD started on node solaris1.

-bash-3.00# ls
clscfg_1908.log     css.log             ocrconfig_1855.log
-bash-3.00# more  ocrconfig_1855.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2010-03-12 13:13:26.118: [ OCRCONF][1]ocrconfig starts...
2010-03-12 13:13:26.121: [ OCRCONF][1]Upgrading OCR data
2010-03-12 13:13:26.128: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2010-03-12 13:13:26.130: [  OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2010-03-12 13:13:26.130: [  OCRRAW][1]proprinitroblem reading the bootblock or superbloc 22

2010-03-12 13:13:26.130: [ default][1]a_init:7!: Backend init unsuccessful : [22]
2010-03-12 13:13:26.131: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
2010-03-12 13:13:26.131: [  OCRAPI][1]a_init:7!: Backend init unsuccessful : [33]
2010-03-12 13:13:26.132: [ OCRCONF][1]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configure
d]
2010-03-12 13:13:26.133: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2010-03-12 13:13:26.134: [  OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2010-03-12 13:13:26.134: [  OCRRAW][1]proprinitroblem reading the bootblock or superbloc 22

2010-03-12 13:13:26.134: [ default][1]a_init:7!: Backend init unsuccessful : [22]
2010-03-12 13:13:26.136: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2010-03-12 13:13:26.136: [  OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2010-03-12 13:13:26.136: [  OCRRAW][1]proprinitroblem reading the bootblock or superbloc 22

2010-03-12 13:13:26.138: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2010-03-12 13:13:26.147: [  OCRRAW][1]propriowv: Vote information on disk 0 [/dev/rdsk/ocr] is adjusted from [0/0] to [2/2]
2010-03-12 13:13:26.152: [  OCRRAW][1]propriniconfig:No 92 configuration
2010-03-12 13:13:26.152: [  OCRAPI][1]a_init:6a: Backend init successful
2010-03-12 13:13:26.189: [ OCRCONF][1]Initialized DATABASE keys in OCR
2010-03-12 13:13:26.304: [ OCRCONF][1]Successfully set skgfr block 0
2010-03-12 13:13:26.306: [ OCRCONF][1]Exiting [status=success]...
-bash-3.00#

还是有些怪怪的东西,不知道是否本来就该这样,请各位明示,最后弄好了也稀里糊涂的!抽时间重新安装一次

使用道具 举报

回复
论坛徽章:
14
数据库板块每日发贴之星
日期:2005-05-15 01:01:24生肖徽章2007版:鸡
日期:2009-11-17 15:01:30生肖徽章2007版:马
日期:2009-10-22 08:53:062009新春纪念徽章
日期:2009-01-04 14:52:28数据库板块每日发贴之星
日期:2008-12-28 01:01:02ERP板块每日发贴之星
日期:2008-11-29 01:01:04数据库板块每日发贴之星
日期:2008-04-25 01:01:54生肖徽章2007版:鸡
日期:2008-01-02 17:35:53ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44会员2007贡献徽章
日期:2007-09-26 18:42:10
28#
 楼主| 发表于 2010-3-12 14:32 | 只看该作者
刚又做了一次,就是32bit cluster软件的问题,至于前面说的chown -h和用oralce用户dd都是没必要的,不做照样可以成功

唉,想当然害死人啊!

再次感谢所有路过的人!

使用道具 举报

回复
论坛徽章:
48
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26ITPUB季度 技术新星
日期:2010-05-17 15:53:17数据库板块每日发贴之星
日期:2010-05-12 01:01:01数据库板块每日发贴之星
日期:2010-05-08 01:01:01数据库板块每日发贴之星
日期:2010-05-07 01:01:02数据库板块每日发贴之星
日期:2010-04-29 01:01:01
29#
发表于 2010-3-12 15:06 | 只看该作者
原帖由 remen 于 2010-3-12 14:32 发表
刚又做了一次,就是32bit cluster软件的问题,至于前面说的chown -h和用oralce用户dd都是没必要的,不做照样可以成功

唉,想当然害死人啊!

再次感谢所有路过的人!


晕倒,32bit cluster, 64bit OS居然到执行root.sh的时候才出错,Oracle的OUI也太不友好了吧。

使用道具 举报

回复
论坛徽章:
48
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26ITPUB季度 技术新星
日期:2010-05-17 15:53:17数据库板块每日发贴之星
日期:2010-05-12 01:01:01数据库板块每日发贴之星
日期:2010-05-08 01:01:01数据库板块每日发贴之星
日期:2010-05-07 01:01:02数据库板块每日发贴之星
日期:2010-04-29 01:01:01
30#
发表于 2010-3-12 15:07 | 只看该作者
原帖由 inthirties2 于 2010-3-12 15:06 发表


晕倒,32bit cluster, 64bit OS居然到执行root.sh的时候才出错,Oracle的OUI也太不友好了吧。


呵呵

不过兄弟,你也太粗心了,这样的基础地方都错了,看来以后提问先描述OS平台和数据库平台是很有必要的呀。

使用道具 举报

回复

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

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表