linux平臺11gR2 grid安裝到執行root.sh時報錯

xulongxc發表於2014-09-23
vi /etc/selinux/config 
SELINUX=disabled
重新執行root.sh

[root@oracledb oracle]# /oradata/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=  /oradata/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 /etc/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.
2014-09-23 00:58:23: Checking for super user privileges
2014-09-23 00:58:23: User has super user privileges
2014-09-23 00:58:23: Parsing the host name
Using configuration parameter file: /oradata/app/11.2.0/grid/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware 
run '/oradata/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig' 
to configure existing failed configuration and then rerun root.sh
[root@oracledb oracle]# 
[root@oracledb oracle]# 


[root@oracledb grid]# cd crs/install/
[root@oracledb install]# ./rootcrs.pl -delete -force -verbose
2014-09-23 02:42:29: Parsing the host name
2014-09-23 02:42:29: Checking for super user privileges
2014-09-23 02:42:29: User has super user privileges
Using configuration parameter file: ./crsconfig_params
Usage: srvctl []
    commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config
    objects: database|service|asm|diskgroup|listener|home|ons|eons
For detailed help on each command and object and its options use:
  srvctl -h or
  srvctl -h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
ACFS-9200: Supported
CRS-2613: Could not find resource 'ora.registry.acfs'.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
You must kill crs processes or reboot the system to properly 
cleanup the processes started by Oracle clusterware
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node
[root@oracledb install]# 
[root@oracledb install]# 
[root@oracledb install]# 
[root@oracledb install]# cd ..
[root@oracledb crs]# ls
auth  demo  init  install  lib  log  mesg  profile  public  sbs  script  template  trace  utl
[root@oracledb crs]# cd ..
[root@oracledb grid]# ls
assistants   crs    dc_ocm       gipc  install           jdk   md       ons          oui      rdbms      srvm
auth         csmig  deinstall    gns   install.platform  jlib  mdns     OPatch       owm      relnotes   sysman
bin          css    demo         gnsd  instantclient     JRE   mesg     opmn         perl     root.sh    usm
cdata        ctss   diagnostics  gpnp  inventory         ldap  network  oracore      plsql    scheduler  utl
cfgtoollogs  cv     eons         has   javavm            lib   nls      oraInst.loc  precomp  slax       wwg
clone        dbs    evm          hs    jdbc              log   oc4j     ord          racg     sqlplus    xdk
[root@oracledb grid]# ./root.sh 
Running Oracle 11g root.sh script...


The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oradata/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 /etc/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.
2014-09-23 02:43:16: Checking for super user privileges
2014-09-23 02:43:16: User has super user privileges
2014-09-23 02:43:16: Parsing the host name
Using configuration parameter file: /oradata/app/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE 
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node oracledb successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting


oracledb     2014/09/23 02:43:54     /oradata/app/11.2.0/grid/cdata/oracledb/backup_20140923_024354.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
Updating inventory properties for clusterware
Starting Oracle Universal Installer...


Checking swap space: must be greater than 500 MB.   Actual 1027 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /oradata/app/oraInventory
'UpdateNodeList' was successful.
[root@oracledb grid]# 



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29440247/viewspace-1278170/,如需轉載,請註明出處,否則將追究法律責任。

相關文章