#
 
 回复: 18
启动失败:
  • PRCR-1079 : Failed to start resource ora.zxdb.db
  • CRS-5017: The resource action "ora.zxdb.db start" encountered the following erro                                                                              r:
  • ORA-01506: missing or illegal database name
  • . For details refer to "(:CLSN00107:)" in "/opt/app/grid/product/11.2.0/grid/log                                                                              /zhixing-db1/agent/crsd/oraagent_oracle/oraagent_oracle.log".
  • CRS-2674: Start of 'ora.zxdb.db' on 'zhixing-db1' failed
  • CRS-5017: The resource action "ora.zxdb.db start" encountered the following erro                                                                              r:
  • ORA-01506: missing or illegal database name
  • . For details refer to "(:CLSN00107:)" in "/opt/app/grid/product/11.2.0/grid/log                                                                              /zhixing-db2/agent/crsd/oraagent_oracle/oraagent_oracle.log".
  • CRS-2674: Start of 'ora.zxdb.db' on 'zhixing-db2' failed
  • CRS-2632: There are no more servers to try to place resource 'ora.zxdb.db' on th                                                                              at would satisfy its placement policy
  • 复制代码
    请问maclean如何解决?
    如需详细日志请回复。
     
    0
     
     
     
    #
     
    发表于 2013-2-26 12:07:16
    上传 crsd.log 和 RDBMS的alert.log
     
     
     
       
    #
     
    发表于 2013-2-26 12:10:32
  • oracle@zhixing-db1:/opt/app/oracle/product/11.2.0/db1/dbs> srvctl config database -d zxdb -a
  • Database unique name: zxdb
  • Database name: zxdb
  • Oracle home: /opt/app/oracle/product/11.2.0/db1
  • Oracle user: oracle
  • Spfile: +DATA/zxdb/spfilezxdb.ora
  • Domain:
  • Start options: open
  • Stop options: immediate
  • Database role: PRIMARY
  • Management policy: AUTOMATIC
  • Server pools: zxdb
  • Database instances: zxdb1,zxdb2
  • Disk Groups: DATA,RECOVERY,ARCHIVELOG,LOGFILE
  • Mount point paths:
  • Services:
  • Type: RAC
  • Database is enabled
  • Database is administrator managed
  • oracle@zhixing-db1:/opt/app/oracle/product/11.2.0/db1/dbs> ls -l $ORACLE_HOME/dbs
  • total 24
  • -rw-rw---- 1 oracle asmadmin 1544 Feb 26 11:19 hc_zxdb1.dat
  • -rw-r--r-- 1 oracle oinstall 2851 May 15  2009 init.ora
  • -rw-r--r-- 1 oracle oinstall   58 Dec 28 18:16 initzxdb1.ora
  • -rw-r--r-- 1 oracle oinstall 1648 Dec 28 18:15 initzxdb1.ora.bak
  • -rw-r----- 1 oracle oinstall 1588 Dec 28 16:24 initzxdb1.ora.bak.zhixing-db1
  • -rw-r----- 1 oracle oinstall 1536 Oct 20 15:04 orapwzxdb1
  • oracle@zhixing-db1:/opt/app/oracle/product/11.2.0/db1/dbs>
  • 复制代码
     
     
     
       
    #
     
    发表于 2013-2-26 12:14:27
    cat /opt/app/oracle/admin/zxdb/pfile/init.ora.920201215274
     
     
     
       
    #
     
    发表于 2013-2-26 12:18:44
    crsd和alert日志在rar包中。
     
     
     
       
    #
     
    发表于 2013-2-26 12:23:59
  • oracle@zhixing-db1:~> cat /opt/app/oracle/admin/zxdb/pfile/init.ora.9202012152743
  • ##############################################################################
  • # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
  • ##############################################################################
  • ###########################################
  • # Archive
  • ###########################################
  • log_archive_dest_1='LOCATION=+ARCHIVELOG'
  • log_archive_format=%t_%s_%r.dbf
  • ###########################################
  • # Cache and I/O
  • ###########################################
  • db_block_size=8192
  • ###########################################
  • # Cluster Database
  • ###########################################
  • remote_listener=zhixing-scan:1521
  • ###########################################
  • # Cursors and Library Cache
  • ###########################################
  • open_cursors=300
  • ###########################################
  • # Database Identification
  • ###########################################
  • db_domain=""
  • db_name="zxdb"
  • ###########################################
  • # File Configuration
  • ###########################################
  • db_create_file_dest="+DATA"
  • db_create_online_log_dest_1=+LOGFILE
  • db_recovery_file_dest="+RECOVERY"
  • db_recovery_file_dest_size=10737418240
  • ###########################################
  • # Miscellaneous
  • ###########################################
  • compatible=11.2.0.0.0
  • diagnostic_dest=/opt/app/oracle
  • ###########################################
  • # Processes and Sessions
  • ###########################################
  • processes=150
  • ###########################################
  • # SGA Memory
  • ###########################################
  • sga_target=3726639104
  • ###########################################
  • # Security and Auditing
  • ###########################################
  • audit_file_dest="/opt/app/oracle/admin/zxdb/adump"
  • audit_trail=db
  • remote_login_passwordfile=exclusive
  • ###########################################
  • # Shared Server
  • ###########################################
  • dispatchers="(PROTOCOL=TCP) (SERVICE=zxdbXDB)"
  • ###########################################
  • # Sort, Hash Joins, Bitmap Indexes
  • ###########################################
  • pga_aggregate_target=1241513984
  • control_files=("+LOGFILE/zxdb/controlfile/current.256.797180689")
  • cluster_database=true
  • zxdb1.instance_number=1
  • zxdb2.instance_number=2
  • zxdb2.thread=2
  • zxdb1.undo_tablespace=UNDOTBS1
  • zxdb2.undo_tablespace=UNDOTBS2
  • zxdb1.thread=1
  • 复制代码
     
     
     
       
    #
     
    发表于 2013-2-26 12:28:43
    (52.77 KB, 下载次数: 4)
     
     
     
       
    #
     
    发表于 2013-2-26 12:33:01
     
     
     
       
    #
     
    发表于 2013-2-26 12:38:03
  • oracle@zhixing-db1:/opt/app/oracle/admin/zxdb/pfile> sqlplus / as sysdba
  • SQL*Plus: Release 11.2.0.3.0 Production on Tue Feb 26 12:33:21 2013
  • Copyright (c) 1982, 2011, Oracle.  All rights reserved.
  • Connected to an idle instance.
  • SQL> create pfile='/tmp/pfile_a1' from spfile;
  • create pfile='/tmp/pfile_a1' from spfile
  • *
  • ERROR at line 1:
  • ORA-01565: error in identifying file '?/dbs/spfile@.ora'
  • ORA-27037: unable to obtain file status
  • Linux-x86_64 Error: 2: No such file or directory
  • Additional information: 3
  • SQL>
  • 复制代码
     
     
     
       
    #
     
    发表于 2013-2-26 12:41:18
    走后面的action plan 2
     
     
     
       
    #
     
    发表于 2013-2-26 12:49:19
  • SQL> startup mount pfile='/opt/app/oracle/admin/zxdb/pfile/init.ora.9202012152743';
  • ORACLE instance started.
  • Total System Global Area 3724607488 bytes
  • Fixed Size                  2233880 bytes
  • Variable Size             805308904 bytes
  • Database Buffers         2902458368 bytes
  • Redo Buffers               14606336 bytes
  • Database mounted.
  • SQL> create pfile='/tmp/pfile_a1' from spfile;
  • create pfile='/tmp/pfile_a1' from spfile
  • *
  • ERROR at line 1:
  • ORA-01565: error in identifying file '?/dbs/spfile@.ora'
  • ORA-27037: unable to obtain file status
  • Linux-x86_64 Error: 2: No such file or directory
  • Additional information: 3
  • SQL> create spfile='+data/zxdb/spfilezxdb.ora' from pfile;
  • File created.
  • SQL> create pfile='/tmp/pfile_a1' from spfile;
  • create pfile='/tmp/pfile_a1' from spfile
  • *
  • ERROR at line 1:
  • ORA-01565: error in identifying file '?/dbs/spfile@.ora'
  • ORA-27037: unable to obtain file status
  • Linux-x86_64 Error: 2: No such file or directory
  • Additional information: 3
  • SQL> show parameter spfile
  • NAME                                 TYPE        VALUE
  • ------------------------------------ ----------- ------------------------------
  • spfile                               string
  • SQL> alter system set spfile='+data/zxdb/spfilezxdb.ora';
  • System altered.
  • SQL> show parameter spfile
  • NAME                                 TYPE        VALUE
  • ------------------------------------ ----------- ------------------------------
  • spfile                               string      +data/zxdb/spfilezxdb.ora
  • SQL> create pfile='/tmp/pfile_a1' from spfile;
  • File created.
  • SQL> show parameter db_name
  • NAME                                 TYPE        VALUE
  • ------------------------------------ ----------- ------------------------------
  • db_name                              string      zxdb
  • SQL> show parameter target
  • NAME                                 TYPE        VALUE
  • ------------------------------------ ----------- ------------------------------
  • archive_lag_target                   integer     0
  • db_flashback_retention_target        integer     1440
  • fast_start_io_target                 integer     0
  • fast_start_mttr_target               integer     0
  • memory_max_target                    big integer 0
  • memory_target                        big integer 0
  • parallel_servers_target              integer     256
  • pga_aggregate_target                 big integer 1184M
  • sga_target                           big integer 3568M
  • SQL> shutdown immeidate
  • SP2-0717: illegal SHUTDOWN option
  • SQL> shutdown immediate
  • ORA-01109: database not open
  • Database dismounted.
  • ORACLE instance shut down.
  • SQL> startup nomount
  • ORA-01506: missing or illegal database name
  • SQL> exit
  • Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
  • With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
  • Data Mining and Real Application Testing options
  • oracle@zhixing-db1:/opt/app/oracle/admin/zxdb/pfile> cat /tmp/
  • .ICE-unix/                                        crsctl                                            oraInstall2012-10-20_11-36-13-AM.out.zhixing-db2
  • .X0-lock                                          dbca/                                             orbit-gdm/
  • .X11-unix/                                        getfileinfoconfigfile_1183862985462518328.txt     orbit-root/
  • .esd-0/                                           gpg-2CrXu0/                                       pfile_a1
  • .gnome_thumbnail.R6JKKW.4EKJKW                    hsperfdata_grid/                                  pulse-KmuUER3JsMqF/
  • .linux_release                                    hsperfdata_oracle/                                scim-bridge-0.3.0.socket-0@localhost:0.0
  • .oracle/                                          hsperfdata_root/                                  scim-helper-manager-socket-root
  • CVU_11.2.0.1.0_grid/                              installCopyFile.lst                               scim-panel-socket:0-root
  • CVU_11.2.0.1.0_oracle/                            installDirFile.lst                                scim-socket-frontend-root
  • CVU_11.2.0.3.0_grid/                              installExcludeFile.lst                            silentInstall.log
  • CVU_11.2.0.3.0_oracle/                            installRemoveDirFile.lst                          ssh-LwRhz2144/
  • CVU_11.2.0.3.0_resource/                          installRemoveFile.lst                             virtual-root.0pLqYZ/
  • Cleanup2012-10-20_11-36-13-AM.log                 keyring-YWQQmz/                                   virtual-root.IwX79C/
  • DetachHome2012-10-20_11-36-13-AM.log.zhixing-db2  logs/                                             virtual-root.hL1KHg/
  • OraInstall2012-09-11_08-53-45PM/                  lost+found/                                       virtual-root.mDvTbV/
  • OraInstall2012-10-20_11-21-25-AM/                 mk_initrd.log                                     virtual-root.pGVst2/
  • OraInstall2012-10-20_11-36-13-AM/                 oraInstall2012-10-20_11-36-13-AM.err.zhixing-db2
  • oracle@zhixing-db1:/opt/app/oracle/admin/zxdb/pfile> cat /tmp/pfile_a1
  • oracle@zhixing-db1:/opt/app/oracle/admin/zxdb/pfile>
  • 复制代码
     
     
     
       
    #
     
    发表于 2013-2-26 12:49:54
    pfile_a1中没东西。
     
     
     
       
    #
     
    发表于 2013-2-26 12:57:14
    alter database open;
     
     
     
       
    #
     
    发表于 2013-2-26 13:02:10
  • SQL> startup mount pfile='/opt/app/oracle/admin/zxdb/pfile/init.ora.9202012152743';
  • ORACLE instance started.
  • Total System Global Area 3724607488 bytes
  • Fixed Size                  2233880 bytes
  • Variable Size             805308904 bytes
  • Database Buffers         2902458368 bytes
  • Redo Buffers               14606336 bytes
  • Database mounted.
  • SQL> alter database open;
  • Database altered.
  • SQL> create spfile='+data/zxdb/spfilezxdb.ora' from pfile;
  • File created.
  • SQL> shutdown immediate;
  • Database closed.
  • Database dismounted.
  • ORACLE instance shut down.
  • SQL> startup nomount;
  • ORA-01506: missing or illegal database name
  • SQL>
  • 复制代码
     
     
     
       
    #
     
    发表于 2013-2-26 13:13:05
    命令都给你写好了, 为什么不严格执行action plan !!!!!!!!!!!!!!!!!!!!!!
     
     
     
       
    #
     
    发表于 2013-2-26 13:25:06
  • SQL> conn /as sysdba
  • Connected to an idle instance.
  • SQL> startup mount pfile='/opt/app/oracle/admin/zxdb/pfile/init.ora.9202012152743';
  • ORACLE instance started.
  • Total System Global Area 3724607488 bytes
  • Fixed Size                  2233880 bytes
  • Variable Size             805308904 bytes
  • Database Buffers         2902458368 bytes
  • Redo Buffers               14606336 bytes
  • Database mounted.
  • SQL> alter database open;
  • Database altered.
  • SQL> create spfile='+data/zxdb/spfilezxdb.ora' from pfile='/opt/app/oracle/admin/zxdb/pfile/init.ora.9202012152743';
  • File created.
  • SQL> shutdown immediate;
  • Database closed.
  • Database dismounted.
  • ORACLE instance shut down.
  • SQL> startup nomount;
  • ORACLE instance started.
  • Total System Global Area 3724607488 bytes
  • Fixed Size                  2233880 bytes
  • Variable Size             805308904 bytes
  • Database Buffers         2902458368 bytes
  • Redo Buffers               14606336 bytes
  • SQL> show parameter spfile
  • NAME                                 TYPE
  • ------------------------------------ ----------------------
  • VALUE
  • ------------------------------
  • spfile                               string
  • +DATA/zxdb/spfilezxdb.ora
  • SQL> show parameter db_name
  • NAME                                 TYPE
  • ------------------------------------ ----------------------
  • VALUE
  • ------------------------------
  • db_name                              string
  • zxdb
  • SQL> alter database mount;
  • Database altered.
  • SQL> alter database open;
  • Database altered.
  • SQL>
  • 复制代码
     
     
     
       
    #
     
    发表于 2013-2-26 13:32:44
    这是为什么呢?
     
     
     
       
    #
     
    发表于 2013-2-27 17:42:20
    -rw-r--r-- 1 oracle oinstall   58 Dec 28 18:16 initzxdb1.ora

    相关文章: