1. 程式人生 > >安裝grid時:/oracle/app/11.2.0/grid/root.sh 報line 9379.

安裝grid時:/oracle/app/11.2.0/grid/root.sh 報line 9379.

[[email protected] ~]# /oracle/app/oraInventory/orainstRoot.sh
Changing permissions of /oracle/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /oracle/app/oraInventory to oinstall.
The execution of the script is complete.
[

[email protected] ~]# /oracle/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
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: /oracle/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - 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 Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'itpux1'
CRS-2676: Start of 'ora.mdnsd' on 'itpux1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'itpux1'
CRS-2676: Start of 'ora.gpnpd' on 'itpux1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'itpux1'
CRS-2672: Attempting to start 'ora.gipcd' on 'itpux1'
CRS-2676: Start of 'ora.cssdmonitor' on 'itpux1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'itpux1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'itpux1'
CRS-2672: Attempting to start 'ora.diskmon' on 'itpux1'
CRS-2676: Start of 'ora.diskmon' on 'itpux1' succeeded
CRS-2676: Start of 'ora.cssd' on 'itpux1' succeeded

已成功建立並啟動 ASM。

已成功建立磁碟組dggrid1。

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 48b54f19e5314f14bfa0e745ec1a3f98.
Successfully replaced voting disk group with +dggrid1.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   48b54f19e5314f14bfa0e745ec1a3f98 (/dev/mapper/dggrid1p1) [DGGRID1]
Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'itpux1'
CRS-2676: Start of 'ora.asm' on 'itpux1' succeeded
CRS-2672: Attempting to start 'ora.DGGRID1.dg' on 'itpux1'
CRS-2676: Start of 'ora.DGGRID1.dg' on 'itpux1' succeeded
/oracle/app/11.2.0/grid/bin/srvctl start nodeapps -n itpux1 ... failed
FirstNode configuration failed at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9379.
/oracle/app/11.2.0/grid/perl/bin/perl -I/oracle/app/11.2.0/grid/perl/lib -I/oracle/app/11.2.0/grid/crs/install /oracle/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

解決辦法:

查詢日誌檔案 :

[[email protected] log]# find /oracle/ -name oraagent_grid.log
/oracle/app/11.2.0/grid/log/itpux1/agent/crsd/oraagent_grid/oraagent_grid.log
/oracle/app/11.2.0/grid/log/itpux1/agent/ohasd/oraagent_grid/oraagent_grid.log

#more oraagent_grid.log

此問題是因:/etc/hosts檔案配置錯誤,新增

127.0.0.1 localhost  

即可!

相關推薦

安裝grid/oracle/app/11.2.0/grid/root.sh line 9379.

[[email protected] ~]# /oracle/app/oraInventory/orainstRoot.sh Changing permissions of /oracle/app/oraInventory. Adding read,write pe

rhel7.4安裝oracle 11G 11.2.0.4.0 RAC

mes sid unit 下一步 路徑和 vim pen submenu shadow 一、操作系統 red hat 7.4oracle數據庫版本11.2.0.4oracle grid版本11.2.0.4對應的文件p13390677_112040_Linux-x86-64_

CentOS7 靜默安裝Oracle 11gR2(11.2.0.1)

文件的 sil swapon profile pytho ise sym 端口 啟動 最近有個項目需要遷移,項目中數據庫用的是oracle,期間折騰了好久,特此記錄。 一,下載Oracle 1,首先下載Oracle 11gR2,地址如下:http://www.oracle.

Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0.3/sysman/lib/ins_e

1.1 ins_ctx.mk 問題[[email protected] logs]$ tail  installActions2012-05-05_01-20-00PM.log       INFO: collect2: ld returned 1 exit statusINFO: make: **

RHEL 7 安裝oracle rac 11.2.0.4執行root.sh錯ohasd failed to start

報錯資訊: [[email protected] ~]# /u01/app/oraInventory/orainstRoot.sh  Changing permissions of /u01/app/oraInventory. Adding read,write

單例項Windows下升級11.2.0.1的oracle11.2.0.4

前提:1.做好備份 可以用expdp/impdp匯出匯入至另一臺伺服器    也可以手動複製檔案和資料夾(較麻煩)            2.關閉服務和監聽 開始:1.下載

AIX 6 Oracle RAC 11.2.0.4版本 PSU升級步驟

1.檢查/更新OPatch版本 官方要求OPatch版本需在11.2.0.3.6或以上,如果檢查OPatch版本低於11.2.0.3.6,需從官網下載最新OPatch實用程式,並在各個節點的database home和GI home均打上最新補丁。 在節點1和節點2

oracle 11gr2 11.2.0.4升級11.2.0.4.2

oracle 11gr2 11.2.0.4升級11.2.0.4.2 更新的補丁安裝包有如下: 1.p6880880_112000_LINUX.zip 2.p18031668_112040_Linux-x86-64.zip1.把Opatch的環境變數配置 export PATH=$ORACLE_H

手動安裝jar到本地倉庫-ojdbc6-11.2.0.3.jar

我們在使用oracle資料庫時,需要ojdbc驅動程式。 我們需要通過maven手工地安裝到本地倉庫。 以下以11.2.0.3版本為例進行操作說明。 執行安裝命令 mvn install:i

單機 Oracle 11g(11.2.0.4)手動打補丁PSU(11.2.0.4.8)

環境說明: database : 11.2.0.4 x64 os: centos6.7 x64 準備內容: OPatch : p6880880_112000_Linux-x86-64.zip DB PSU : p21352635_112040_Linux-x86-64

oracle 11g (11.2.0.1.0) OCCI 查詢自動退出的問題

今天,同事說使用vs2010 occi 連線oracle 11g (11.2.0.1.0) 在進行查詢操作時,程式自動退出。 經查發生在執行ResultSet的next()函式時,程式退出的。 經查發現 oracle 11g 的版本是11.2.0.1.0,需要對oracle

10 RAC CRS 2節點執行root.sh錯Waiting for the Oracle CRSD and EVMD 處理方法

1、--在安裝10G clusterware 在二節點執行root.sh報錯Waiting for the Oracle CRSD and EVMD to start處理方法 [[email protected] ~]# /oracle/oraInventory/

oracle安裝,未找到檔案 F:\app\Administrator\product\11.2.0\dbhome_2\owb\external\oc4j_ap

安裝11g,過程中提示 未找到檔案 E:\app\xxj\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear 解決辦法: 將win64_11gR2_database_2of2中的\wi

centos6.8 靜默安裝 oracle 11.2.0.4

further make 參數說明 限制 ssi nor 強制安裝 product iptraf 安裝環境及系統要求 (下文具體參數值與路徑根據自己的環境調整)操作系統:Red Hat Enterprise Linux 6 (x86) 或者CentOS 6 (x64)

關於安裝Oracle 11.2.0.1 RAC的筆記

domain yum driver 設置 ipv sun 創建 應用 sysconfig 這是第一次安裝RAC,參考了國外一位大神的安裝文檔,在安裝過程中,也遇到了一些問題,從網上查了相關問題的解決方法,在此感謝。 操作系統是 Oracle Enterprise Linux

ORACLE 11.2.0.4 180116 PSU HP 安騰 11.31 安裝

11.2.0.4 PSU 18011627282436 = 27107360 (PSU) + 26925532 (OJVM) 0.為了避免安裝補丁運行數據字典腳本時與系統後臺作業沖突,查看AutoTask,如果有Enabled的,先Disable,打完補丁後再Enable. su - oracle sqlp

centos 7 安裝Oracle Database 11g Release 2 (11.2.0.4)

network 永久 oinstall ima play arc glibc lpad tails 參考文章: http://www.cnblogs.com/lightnear/archive/2012/10/07/2714247.html http://www.cnblo

oracle 11.2.0.4安裝配置goldengate 12.3.0.14 並配置表級初始化 (僅針對DML)

一、環境介紹 source: Redhat 6.10 + oracle 11.2.0.4 + ogg 12.3.0.14  target: Redhat 6.10 + oracle 11.2.0.4 + ogg 12.3.0.14 二、安裝goldengate軟體

oracle 11.2.0.4 靜默安裝

1:建立ORACLE 使用者,使用者組,安裝目錄,授予相應的許可權(root使用者執行) /usr/sbin/groupadd -g 501 oinstall /usr/sbin/groupadd -g 502 dba /usr/sbin/groupadd -g 503 oper /usr/sbin

Oracle 11.2.0.4 RAC安裝資料庫軟體無法識別主機

        下午同事發來微信說在裝Oracle 11.2.0.4的RAC時,GI已經正常安裝了。但在安裝資料庫軟體的時候,圖形介面不顯示兩臺主機的主機名,沒辦法繼續往下安裝。由於不在一起,於是百度相應的文章來看,但是相關的