1.查看job_queue_processes参数
[oracle@db1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 28 15:18:34 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter job
NAME TYPE VALUE
-------------------------- --------------------------------------------job_queue_processes intege 1000
SQL> alter system set job_queue_processes = 30;
System altered.
2.关闭数据库
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
3.用system用户登录数据库,发现登录不了
[oracle@db1 ~]$ sqlplus system/Oracle2013
SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 28 15:24:10 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
4.启动数据库
[oracle@db1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 28 15:24:57 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 839282688 bytes
Fixed Size 2257880 bytes
Variable Size 545262632 bytes
Database Buffers 289406976 bytes
Redo Buffers 2355200 bytes
Database mounted.
Database opened.
5.查看日志文件存放位置
SQL> show parameter diagnostic
NAME TYPE VALUE
------------------------------------ ---------------------- -----------------------------
diagnostic_dest string /u01/app/oracle
6.查看日志文件
[oracle@db1 ~]$ cd /u01/app/oracle/diag/rdbms/orcl1/orcl1/trace/
[oracle@db1 trace]$ tail -n 20 alert_orcl1.log
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC0: STARTING ARCH PROCESSES COMPLETE
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
Mon Apr 28 15:25:09 2014
db_recovery_file_dest_size of 4182 MB is 1.51% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Completed: ALTER DATABASE OPEN
Starting background process CJQ0
Mon Apr 28 15:25:10 2014
CJQ0 started with pid=25, OS id=4639
Mon Apr 28 15:35:09 2014
Starting background process SMCO
Mon Apr 28 15:35:09 2014
SMCO started with pid=26, OS id=4847