Sunteți pe pagina 1din 2

-bash-3.

00$ export ORACLE_SID=rac3


-bash-3.00$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Sun Apr 19 13:53:38 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
SQL> exit
Disconnected
-bash-3.00$ vi alert_rac3.log
"alert_rac3.log" 10 lines, 384 characters
Sun Apr 19 13:49:52 2009
Starting ORACLE instance (normal)
Sun Apr 19 13:49:52 2009
WARNING: EINVAL creating segment of size 0x000000004b002000
fix shm parameters in /etc/system or equivalent
Sun Apr 19 13:53:41 2009
Starting ORACLE instance (normal)
Sun Apr 19 13:53:41 2009
WARNING: EINVAL creating segment of size 0x000000004b002000
fix shm parameters in /etc/system or equivalent
SQL> alter system set sga_target=256m scope=spfile sid='rac3';
System altered.

*** startup rac3 again ***


bash-3.00$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Sun Apr 19 14:02:58 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 268435456 bytes
Fixed Size 2029360 bytes
Variable Size 100665552 bytes
Database Buffers 155189248 bytes
Redo Buffers 10551296 bytes
ORA-00205: error in identifying control file, check alert log for more info
ASMCMD> lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB Req
_mir_free_MB Usable_file_MB Offline_disks Name
MOUNTED EXTERN N N 512 4096 1048576 51160 29286
0 29286 0 FLASHBACK_DSK_BIG/
MOUNTED EXTERN N N 512 4096 1048576 9496 9361
0 9361 0 FLASH_RECOVERY_AREA/
MOUNTED EXTERN N N 512 4096 1048576 40896 40759
0 40759 0 ORCL_DATA/
DISMOUNTED N N 512 4096 1048576 0 0
0 0 0 ORCL_DATA_BIG/
-bash-3.00# chown oracle:dba /dev/*dsk/c1t22d0s*
-bash-3.00# exit
logout
bash-3.00$ exit
exit
SQL> alter diskgroup ORCL_DATA_BIG mount;
Diskgroup altered.
SQL> alter database mount;
Database altered.
SQL> alter database open;
Database altered.
SQL> exit

S-ar putea să vă placă și