问题描述:
启动数据库时遇到845错误。
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
解决方法:
[oracle@ocm2 dbs]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
45G 15G 28G 36% /
/dev/sda1 99M 12M 82M 13% /boot
tmpfs 1014M 484M 530M 48% /dev/shm
/dev/hdc 3.3G 3.3G 0 100% /media/20160324_232029
[oracle@ocm2 dbs]$ su -
Password:
[root@ocm2 ~]# mount -o size=2G -o nr_inodes=1000000 -o noatime,nodiratime -o remount /dev/shm
[root@ocm2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
45G 15G 28G 36% /
/dev/sda1 99M 12M 82M 13% /boot
tmpfs 2.0G 484M 1.6G 24% /dev/shm
/dev/hdc 3.3G 3.3G 0 100% /media/20160324_232029
[root@ocm2 ~]# su - oracle
[oracle@ocm2 ~]$ export ORACLE_SID=Luo
[oracle@ocm2 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Nov 24 20:48:43 2016
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup
ORACLE instance started.
Total System Global Area 849530880 bytes
Fixed Size 1348244 bytes
Variable Size 499125612 bytes
Database Buffers 343932928 bytes
Redo Buffers 5124096 bytes
Database mounted.
Database opened.