[oracle@dbtest dbs]$ cd $ORACLE_HOME/dbs [oracle@dbtest dbs]$ ls hc_orcl.dat init.ora initorcl.ora lkORCL orapworcl spfileorcl.ora [oracle@dbtest dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed May 4 10:36:45 2016 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> startup nomount; ORACLE instance started. Total System Global Area 1152450560 bytes Fixed Size 2212696 bytes Variable Size 922750120 bytes Database Buffers 218103808 bytes Redo Buffers 9383936 bytes SQL>
Starting up: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options. Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora System parameters with non-default values: processes = 150 sga_target = 176M memory_target = 1104M memory_max_target = 1104M control_files = "/u01/app/oracle/oradata/orcl/control01.ctl" control_files = "/u01/app/oracle/flash_recovery_area/orcl/control02.ctl" db_block_size = 8192 compatible = "11.2.0.0.0" db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area" db_recovery_file_dest_size= 3882M undo_tablespace = "UNDOTBS1" remote_login_passwordfile= "EXCLUSIVE" db_domain = "oracle.com" global_names = FALSE dispatchers = "(PROTOCOL=TCP) (SERVICE=orclXDB)" shared_servers = 5 audit_file_dest = "/u01/app/oracle/admin/orcl/adump" audit_trail = "DB" db_name = "orcl" open_cursors = 300 diagnostic_dest = "/u01/app/oracle"
Wed May 04 10:36:55 2016 PMON started with pid=2, OS id=3128 Wed May 04 10:36:55 2016 VKTM started with pid=3, OS id=3132 at elevated priority VKTM running at (10)millisec precision with DBRM quantum (100)ms Wed May 04 10:36:55 2016 GEN0 started with pid=4, OS id=3138 Wed May 04 10:36:55 2016 DIAG started with pid=5, OS id=3142 Wed May 04 10:36:55 2016 DBRM started with pid=6, OS id=3146 Wed May 04 10:36:55 2016 PSP0 started with pid=7, OS id=3150 Wed May 04 10:36:55 2016 DIA0 started with pid=8, OS id=3158 Wed May 04 10:36:55 2016 MMAN started with pid=9, OS id=3162 Wed May 04 10:36:55 2016 DBW0 started with pid=10, OS id=3166 Wed May 04 10:36:55 2016 LGWR started with pid=11, OS id=3170 Wed May 04 10:36:55 2016 CKPT started with pid=12, OS id=3175 Wed May 04 10:36:55 2016 SMON started with pid=13, OS id=3179 Wed May 04 10:36:55 2016 RECO started with pid=14, OS id=3184 Wed May 04 10:36:55 2016 MMON started with pid=15, OS id=3189 starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'... Wed May 04 10:36:55 2016 MMNL started with pid=16, OS id=3193 starting up 5 shared server(s) ... ORACLE_BASE from environment = /u01/app/oracle
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/product/11.2.0
/db_1/dbs/spfileorcl.ora
SQL>
[root@dbtest trace]# ps -ef|grep ora_ oracle 3128 1 0 10:36 ? 00:00:00 ora_pmon_orcl oracle 3132 1 0 10:36 ? 00:00:00 ora_vktm_orcl oracle 3138 1 0 10:36 ? 00:00:00 ora_gen0_orcl oracle 3142 1 0 10:36 ? 00:00:00 ora_diag_orcl oracle 3146 1 0 10:36 ? 00:00:00 ora_dbrm_orcl oracle 3150 1 0 10:36 ? 00:00:00 ora_psp0_orcl oracle 3158 1 0 10:36 ? 00:00:00 ora_dia0_orcl oracle 3162 1 0 10:36 ? 00:00:00 ora_mman_orcl oracle 3166 1 0 10:36 ? 00:00:00 ora_dbw0_orcl oracle 3170 1 0 10:36 ? 00:00:00 ora_lgwr_orcl oracle 3175 1 0 10:36 ? 00:00:00 ora_ckpt_orcl oracle 3179 1 0 10:36 ? 00:00:00 ora_smon_orcl oracle 3184 1 0 10:36 ? 00:00:00 ora_reco_orcl oracle 3189 1 0 10:36 ? 00:00:00 ora_mmon_orcl oracle 3193 1 0 10:36 ? 00:00:00 ora_mmnl_orcl oracle 3197 1 0 10:36 ? 00:00:00 ora_d000_orcl oracle 3201 1 0 10:36 ? 00:00:00 ora_s000_orcl oracle 3205 1 0 10:36 ? 00:00:00 ora_s001_orcl oracle 3209 1 0 10:36 ? 00:00:00 ora_s002_orcl oracle 3213 1 0 10:36 ? 00:00:00 ora_s003_orcl oracle 3217 1 0 10:36 ? 00:00:00 ora_s004_orcl root 3358 3253 0 10:50 pts/3 00:00:00 grep ora_
[oracle@dbtest dbs]$ mv init.ora init.ora.bak [oracle@dbtest dbs]$ mv initorcl.ora initorcl.ora.bak [oracle@dbtest dbs]$ mv spfileorcl.ora spfileorcl.ora.bak [oracle@dbtest dbs]$ ls hc_orcl.dat init.ora.bak initorcl.ora.bak lkORCL orapworcl spfileorcl.ora.bak [oracle@dbtest dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed May 4 10:55:42 2016 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> startup nomount; ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora'
SQL> ! echo "db_name=julia" > initorcl.ora SQL> startup nomount; ORACLE instance started. Total System Global Area 217157632 bytes Fixed Size 2211928 bytes Variable Size 159387560 bytes Database Buffers 50331648 bytes Redo Buffers 5226496 bytes
SQL> show parameter control_files
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string /u01/app/oracle/product/11.2.0
/db_1/dbs/cntrlorcl.dbf
[oracle@dbtest dbs]$ mv init.ora.bak init.ora [oracle@dbtest dbs]$ mv initorcl.ora.bak initorcl.ora [oracle@dbtest dbs]$ mv spfileorcl.ora.bak spfileorcl.ora [oracle@dbtest dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed May 4 11:07:07 2016 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> startup nomount; ORACLE instance started. Total System Global Area 1152450560 bytes Fixed Size 2212696 bytes Variable Size 922750120 bytes Database Buffers 218103808 bytes Redo Buffers 9383936 bytes SQL> alter database mount; Database altered. SQL> select * from v$controlfile; STATUS ------- NAME -------------------------------------------------------------------------------- IS_ BLOCK_SIZE FILE_SIZE_BLKS --- ---------- -------------- /u01/app/oracle/oradata/orcl/control01.ctl NO 16384 594 /u01/app/oracle/flash_recovery_area/orcl/control02.ctl NO 16384 594 STATUS ------- NAME -------------------------------------------------------------------------------- IS_ BLOCK_SIZE FILE_SIZE_BLKS --- ---------- --------------
SQL> alter database mount; alter database mount * ERROR at line 1: ORA-00205: error in identifying control file, check alert log for more info
alter database mount Wed May 04 11:07:44 2016 Successful mount of redo thread 1, with mount id 1438756220 Database mounted in Exclusive Mode Lost write protection disabled Completed: alter database mount
[oracle@dbtest dbs]$ strings orapworcl ]\[Z ORACLE Remote Password file INTERNAL 769C0CD849F9B8B2 5638228DAF52805F [oracle@dbtest dbs]$
[oracle@dbtest dbs]$ orapwd Usage: orapwd file=<fname> entries=<users> force=<y/n> ignorecase=<y/n> nosysdba=<y/n> where file - name of password file (required), password - password for SYS will be prompted if not specified at command line, entries - maximum number of distinct DBA (optional), force - whether to overwrite existing file (optional), ignorecase - passwords are case-insensitive (optional), nosysdba - whether to shut out the SYSDBA logon (optional Database Vault only). There must be no spaces around the equal-to (=) character. [oracle@dbtest dbs]$
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有