柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!
全部博文(1669)
分类: Oracle
2011-12-26 09:50:08
# pwd
/export/grid1/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= /export/grid1/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 /var/opt/oracle/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.
2011-06-07 07:20:29: Parsing the host name
2011-06-07 07:20:29: Checking for super user privileges
2011-06-07 07:20:29: User has super user privileges
Using configuration parameter file: /export/grid1/app/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'perf-5240-1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'perf-5240-1'
CRS-2676: Start of 'ora.gipcd' on 'perf-5240-1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'perf-5240-1'
CRS-2676: Start of 'ora.gpnpd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'perf-5240-1'
CRS-2676: Start of 'ora.cssdmonitor' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'perf-5240-1'
CRS-2672: Attempting to start 'ora.diskmon' on 'perf-5240-1'
CRS-2676: Start of 'ora.diskmon' on 'perf-5240-1' succeeded
CRS-2676: Start of 'ora.cssd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'perf-5240-1'
CRS-2676: Start of 'ora.ctssd' on 'perf-5240-1' succeeded
DiskGroup DG1 creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15033: disk '/dev/rdsk/c1t0d0s5' belongs to diskgroup "DATA"
Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /export/grid1/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2673: Attempting to stop 'ora.asm' on 'perf-5240-1'
CRS-2677: Stop of 'ora.asm' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.ctssd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'perf-5240-1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.cssd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.gpnpd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.gipcd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.mdnsd' on 'perf-5240-1' succeeded
Initial cluster configuration failed. See /export/grid1/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_perf-5240-1.log for details
# dd if=/dev/zero of=/dev/rdsk/c1t0d0s5 bs=4096 count=1
1+0 records in
1+0 records out
cd /export/grid1/app/11.2.0/grid/crs/install
./roothas.pl -delete -force -verbose
then go back the previous directory and run the root again.
# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /export/grid1/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 /var/opt/oracle/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.
2011-06-07 07:25:36: Parsing the host name
2011-06-07 07:25:36: Checking for super user privileges
2011-06-07 07:25:36: User has super user privileges
Using configuration parameter file: /export/grid1/app/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'perf-5240-1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'perf-5240-1'
CRS-2676: Start of 'ora.gipcd' on 'perf-5240-1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'perf-5240-1'
CRS-2676: Start of 'ora.gpnpd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'perf-5240-1'
CRS-2676: Start of 'ora.cssdmonitor' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'perf-5240-1'
CRS-2672: Attempting to start 'ora.diskmon' on 'perf-5240-1'
CRS-2676: Start of 'ora.diskmon' on 'perf-5240-1' succeeded
CRS-2676: Start of 'ora.cssd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'perf-5240-1'
CRS-2676: Start of 'ora.ctssd' on 'perf-5240-1' succeeded
ASM created and started successfully.
DiskGroup DG1 created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'perf-5240-1'
CRS-2676: Start of 'ora.crsd' on 'perf-5240-1' succeeded
Successful addition of voting disk 1cba4239f6f84f76bff510f1b604f821.
Successfully replaced voting disk group with +DG1.
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 1cba4239f6f84f76bff510f1b604f821 (/dev/rdsk/c1t0d0s5) [DG1]
Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.crsd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'perf-5240-1'
CRS-2677: Stop of 'ora.asm' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.ctssd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'perf-5240-1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.cssd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.gpnpd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.gipcd' on 'perf-5240-1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'perf-5240-1'
CRS-2677: Stop of 'ora.mdnsd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'perf-5240-1'
CRS-2676: Start of 'ora.mdnsd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'perf-5240-1'
CRS-2676: Start of 'ora.gipcd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'perf-5240-1'
CRS-2676: Start of 'ora.gpnpd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'perf-5240-1'
CRS-2676: Start of 'ora.cssdmonitor' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'perf-5240-1'
CRS-2672: Attempting to start 'ora.diskmon' on 'perf-5240-1'
CRS-2676: Start of 'ora.diskmon' on 'perf-5240-1' succeeded
CRS-2676: Start of 'ora.cssd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'perf-5240-1'
CRS-2676: Start of 'ora.ctssd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'perf-5240-1'
CRS-2676: Start of 'ora.asm' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'perf-5240-1'
CRS-2676: Start of 'ora.crsd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'perf-5240-1'
CRS-2676: Start of 'ora.evmd' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'perf-5240-1'
CRS-2676: Start of 'ora.asm' on 'perf-5240-1' succeeded
CRS-2672: Attempting to start 'ora.DG1.dg' on 'perf-5240-1'
CRS-2676: Start of 'ora.DG1.dg' on 'perf-5240-1' succeeded
perf-5240-1 2011/06/07 07:32:03 /export/grid1/app/11.2.0/grid/cdata/perf-5240-1/backup_20110607_073203.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 70976 MB Passed
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /export/grid1/app/oraInventory
'UpdateNodeList' was successful.
#