Welcome 微信登录

首页 / 数据库 / MySQL / AIX RAC构建错误之--未配置Default Gateway

环境:
操作系统: AIX 5300-09
集群软件: CRS 10.2.0.1
数据库:  Oracle 10.2.0.1
故障现象:
在构建AIX RAC时,运行root.sh脚本时,出现以下错误:[root@aix220 /u01/crs_1/install]$ ./rootdelete.shShutting down Oracle Cluster Ready Services (CRS):Stopping resources.Error while stopping resources. Possible cause: CRSD is down.Stopping CSSD.Shutting down CSS daemon.Shutdown request successfully issued.Shutdown has begun. The daemons should exit soon.Checking to see if Oracle CRS stack is down...Oracle CRS stack is not running.Oracle CRS stack is down now.Removing script for Oracle Cluster Ready servicesUpdating ocr file for downgradeCleaning up SCR settings in "/etc/oracle/scls_scr" 
[root@aix220 /u01/crs_1/install]$ /u01/crs_1/root.shWARNING: directory "/u01" is not owned by rootChecking to see if Oracle CRS stack is already configuredChecking to see if any 9i GSD is upSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory "/u01" is not owned by rootclscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Release 2.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node <nodenumber>: <nodename> <private interconnect name> <hostname>node 1: aix219 aix219-priv aix219node 2: aix220 aix220-priv aix220clscfg: Arguments check out successfully.NO KEYS WERE WRITTEN. Supply -force parameter to override.-force is destructive and will destroy any previous clusterconfiguration.Oracle Cluster Registry for cluster has already been initializedStartup will be queued to init within 30 seconds.Adding daemons to inittabAdding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.Failure at final check of Oracle CRS stack.10启动CRS PROCESS失败!
解决方法:1、检查发现,在public NIC上未设置网关: [root@aix220 /u01/crs_1/install]$ netstat -nrRouting tablesDestination        Gateway          Flags  Refs    Use  If  Exp  GroupsRoute tree for Protocol Family 2 (Internet): 10.10.10.0        10.10.10.220      UHSb      0        0 en1      -      -  =>10.10.10/24        10.10.10.220      U        3    39800 en1      -      - 10.10.10.220      127.0.0.1        UGHS      0      6391 lo0      -      - 10.10.10.255      10.10.10.220      UHSb      0        22 en1      -      - 127/8              127.0.0.1        U        17    26213 lo0      -      - 192.168.8.0        192.168.8.220    UHSb      0        0 en0      -      -  =>192.168.8/24      192.168.8.220    U        4      622 en0      -      - 192.168.8.220      127.0.0.1        UGHS      2      1105 lo0      -      - 192.168.8.255      192.168.8.220    UHSb      0        4 en0      -      - Route tree for Protocol Family 24 (Internet v6):::1                ::1              UH        0        16 lo0 2、重新设置网关 [root@aix220 /u01/crs_1/install]$ netstat -nrRouting tablesDestination        Gateway          Flags  Refs    Use  If  Exp  GroupsRoute tree for Protocol Family 2 (Internet):default            192.168.8.1      UG        0        0 en0      -      -  
3、重新运行root.sh脚本 [root@aix220 /u01/crs_1/install]$ ./rootdelete.shShutting down Oracle Cluster Ready Services (CRS):Stopping resources.Error while stopping resources. Possible cause: CRSD is down.Stopping CSSD.Shutting down CSS daemon.Shutdown request successfully issued.Shutdown has begun. The daemons should exit soon.Checking to see if Oracle CRS stack is down...Oracle CRS stack is not running.Oracle CRS stack is down now.Removing script for Oracle Cluster Ready servicesUpdating ocr file for downgradeCleaning up SCR settings in "/etc/oracle/scls_scr" 
[root@aix220 /u01/crs_1/install]$ /u01/crs_1/root.shWARNING: directory "/u01" is not owned by rootChecking to see if Oracle CRS stack is already configuredChecking to see if any 9i GSD is upSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory "/u01" is not owned by rootclscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Release 2.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node <nodenumber>: <nodename> <private interconnect name> <hostname>node 1: aix219 aix219-priv aix219node 2: aix220 aix220-priv aix220clscfg: Arguments check out successfully.NO KEYS WERE WRITTEN. Supply -force parameter to override.-force is destructive and will destroy any previous clusterconfiguration.Oracle Cluster Registry for cluster has already been initializedStartup will be queued to init within 30 seconds.Adding daemons to inittabAdding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes.        aix220CSS is inactive on these nodes.        aix219Local node checking complete.Run root.sh on remaining nodes to start CRS daemons.@重新运行脚本成功 !Oracle 11g 在RedHat Linux 5.8_x64平台的安装手册 http://www.linuxidc.com/Linux/2014-07/104745.htmLinux-6-64下安装Oracle 12C笔记 http://www.linuxidc.com/Linux/2013-07/86805.htm在CentOS 6.4下安装Oracle 11gR2(x64) http://www.linuxidc.com/Linux/2014-02/97374.htmOracle 11gR2 在VMWare虚拟机中安装步骤 http://www.linuxidc.com/Linux/2013-09/89579p2.htmDebian 下 安装 Oracle 11g XE R2 http://www.linuxidc.com/Linux/2014-03/98881.htm更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12本文永久更新链接地址