有一段时间没搞过oracle了,现在想搞搞oracle,安装oracle rac。。以前也是这么安装,没出过问题,但现在调了几次都报这个错误。

解决方案 »

  1.   

    补充:遇到以上错误,我都是跳过处理的。以前安装没遇到过这种问题。我的配置:
    [root@rac01 ~]# groupadd -g 1001 dba
    [root@rac01 ~]# groupadd -g 1002 oinstall
    [root@rac01 ~]# useradd -u 1001 -g oinstall -G dba oracle
    注意:所有节点上的用户名、用户ID、组名、组ID必须相同
    [root@rac01 ~]# passwd oracle
    [root@rac01 ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.177           rac01
    192.168.1.178           rac01_vip
    10.1.1.177              rac01_priv
    192.168.1.179           rac02
    192.168.1.180           rac02_vip
    10.1.1.179              rac02_priv[root@rac02 ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.177           rac01
    192.168.1.178           rac01_vip
    10.1.1.177              rac01_priv
    192.168.1.179           rac02
    192.168.1.180           rac02_vip
    10.1.1.179              rac02_priv
    配置ssh
    在安装和使用oracle rac之前,必须在所有的节点上为oracle用户配置secure shell(ssh)。在安装过程中,OUI程序会使用ssh和scp命令来执行远程命令和拷贝文件到其他节点上。要在安装过程中不输入oracle用户的密码,必须要配置secure shell的信任登录
    [root@rac01 ~]# su - oracle
    [oracle@rac01 ~]$ ssh-keygen -t rsa
    [oracle@rac02 ~]$ ssh-keygen -t rsa[oracle@rac01 ~]$ cd .ssh/
    [oracle@rac01 .ssh]$ cat id_rsa.pub >> authorized_keys
    [oracle@rac01 .ssh]$ ssh oracle@rac02 cat /home/oracle/.ssh/id_rsa.pub >> authorized_keysexit[oracle@rac01 ~]$ cd .ssh/
    [oracle@rac02 .ssh]$ cat id_rsa.pub >> authorized_keys
    [oracle@rac02 .ssh]$ ssh oracle@rac01 cat /home/oracle/.ssh/id_rsa.pub >> authorized_keys然后分别测试ssh的信任登录在两个节点上分别执行操作,查找所需的软件包是否已经安装
    [oracle@rac01 ~]$ rpm -q binutils compat-db control-center gcc glibc glibc-common gnome-libs libstdc++-3* libstdc++-devel make pdksh sysstat xscreensaver libaio openmotif21
    [root@rac01 ~]# vi /etc/sysctl.conf
    kernel.shmall=2097152
    kernel.shmmax=2147483648
    kernel.shmmni=4096
    kernel.sem=250 32000 100 128
    net.ipv4.ip_local_port_range=1024 65000
    net.core.rmem_default=1048576
    net.core.wmem_default=262144
    net.core.rmem_max=1048576
    net.core.wmem_max=262144
    [root@rac01 ~]# sysctl -p
    执行uname -r查看内核版本好,下载相应的一下软件包
    ocfs2内核模块---ocfs2-2.6.9-42.ELsmp-1.2.7-1.el4.i686.rpm
    ocfs2 tools(命令和启动脚本)---ocfs2-tools-1.2.7-1.el4.i386.rpm
    ocfs2控制台---ocfs2console-1.2.7-1.el4.i386.rpm配置共享磁盘
      

  2.   

    如图。日志文件是这样写的rac02:
        /bin/tar: ./bin/linux: time stamp 2009-05-08 10:56:35 is 22 s in the future
        /bin/tar: ./bin: time stamp 2009-05-08 10:56:35 is 22 s in the future
        /bin/tar: ./coe.tar: time stamp 2009-05-08 10:56:54 is 41 s in the future
        /bin/tar: ./common: time stamp 2009-05-08 10:56:35 is 22 s in the future
        /bin/tar: ./cpuinfo.txt: time stamp 2009-05-08 10:56:37 is 24 s in the future
        /bin/tar: ./crs: time stamp 2009-05-08 10:56:35 is 22 s in the future
        /bin/tar: ./fastcopy/setperms1.sh: time stamp 2009-05-08 10:57:57 is 104 s in the future
        /bin/tar: ./fastcopy: time stamp 2009-05-08 10:57:57 is 104 s in the future
        /bin/tar: ./glibc.txt: time stamp 2009-05-08 10:56:47 is 34 s in the future
        /bin/tar: ./libsrvm10.so: time stamp 2009-05-08 10:57:18 is 57 s in the future
        /bin/tar: ./LinuxVendor_output.txt: time stamp 2009-05-08 10:56:37 is 16 s in the future
        /bin/tar: ./lsnodes: time stamp 2009-05-08 10:56:55 is 34 s in the future
        /bin/tar: ./oifcfg: time stamp 2009-05-08 10:56:53 is 32 s in the future
        /bin/tar: ./oracle.crs_Complete_racfiles.lst: time stamp 2009-05-08 10:59:34 is 193 s in the future
        /bin/tar: ./oui: time stamp 2009-05-08 10:56:35 is 11 s in the future
        /bin/tar: ./pkginfo.txt: time stamp 2009-05-08 10:56:45 is 21 s in the future
        /bin/tar: ./setpermslog.err: time stamp 2009-05-08 10:59:34 is 190 s in the future
        /bin/tar: ./swapinfo.txt: time stamp 2009-05-08 10:56:37 is 13 s in the future
        /bin/tar: ./tmpFileKernelParms.txt: time stamp 2009-05-08 10:56:47 is 23 s in the future
    ----------------------------------------------------------------------------------        at oracle.sysman.oii.oiip.oiipg.OiipgClusterRunCmd.bootstrapInstallerToNodes(OiipgClusterRunCmd.java:417)
            at oracle.sysman.oii.oiip.oiipg.OiipgClusterRunCmd.runCmd(OiipgClusterRunCmd.java:289)
            at oracle.sysman.oii.oiic.OiicBaseInventoryApp.runRemoteInvOpCmd(OiicBaseInventoryApp.java:241)
            at oracle.sysman.oii.oiic.OiicAttachHome.clsCmdAttachHome(OiicAttachHome.java:356)
            at oracle.sysman.oii.oiif.oiifw.OiifwClusterSaveInventoryWCCE.doOperation(OiifwClusterSaveInventoryWCCE.java:295)
            at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
            at oracle.sysman.oii.oiif.oiifw.OiifwActionsPhaseWCDE.doOperation(OiifwActionsPhaseWCDE.java:606)
            at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:147)
            at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelCompsInstall.doOperation(OiicInstallSession.java:3772)
            at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
            at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
            at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
            at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)
            at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)
            at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
    Caused by: oracle.ops.mgmt.cluster.RemoteFileOperationException: PRKC-1002 : All the submitted commands did not execute successfully
            at oracle.ops.mgmt.cluster.ClusterCmd.transferDirToNodes(ClusterCmd.java:2473)
            at oracle.ops.mgmt.cluster.ClusterCmd.transferDirToNodes(ClusterCmd.java:2473)
            at oracle.ops.mgmt.cluster.ClusterCmd.transferDirToNodes(ClusterCmd.java:2278)
            at oracle.sysman.oii.oiip.oiipg.OiipgClusterRunCmd.bootstrapInstallerToNodes(OiipgClusterRunCmd.java:396)
            ... 14 moreSEVERE: Remote 'AttachHome' failed on nodes: 'rac02'. Refer to '/home/oracle/oraInventory/logs/installActions2009-05-08_10-55-30AM.log' for details.
    You can manually re-run the following command on the failed nodes after the installation:
     /orac/crs/10.2.0/oui/bin/runInstaller -attachHome -noClusterEnabled ORACLE_HOME=/orac/crs/10.2.0 ORACLE_HOME_NAME=OraCrs10g_home CLUSTER_NODES=rac01,rac02 CRS=true  "INVENTORY_LOCATION=/home/oracle/oraInventory" LOCAL_NODE=<node on which command is to be run>.
    INFO: User Selected: Yes/OK
      

  3.   

    是安装clusterware过程过不去啊
      

  4.   

    楼主以前安装的删干净了吗?Oracle第二次要想安装成功就要把前面安装的全删除
      

  5.   

    SEVERE: Remote 'AttachHome' failed on nodes: 'rac02'. Refer to '/home/oracle/oraInventory/logs/installActions2009-05-08_10-55-30AM.log' for details.提示信息不是很明确了,远程节点执行脚本失败了,错误日志在
    '/home/oracle/oraInventory/logs/installActions2009-05-08_10-55-30AM.log' 文件中
    检查这个日志文件,看看具体错误信息吧
      

  6.   

    时间不同不
    用date -s重新设定一下就好了