Oracle 怎么啟動?
首先使用“su oracle”命令切換到oracle賬戶;
[root@oracle-server ~]# su oracle
然后登錄“sqlplus”工具;
SQL*Plus: Release 11.2.0.1.0 Production on 星期一 6月 24 11:04:29 2019 Copyright (c) 1982, 2009, Oracle. All rights reserved.
接著登陸數(shù)據(jù)庫;
請輸入用戶名: XX 輸入口令: ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux-x86_64 Error: 2: No such file or directory 進程 ID: 0 會話 ID: 0 序列號: 0
再使用命令“conn / as sysdba”連接sysdba;
SQL> conn / as sysdba 已連接到空閑例程。
最后使用“startup”命令啟動數(shù)據(jù)庫即可。
SQL> shutdown immediate ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux-x86_64 Error: 2: No such file or directory SQL> startup ORACLE 例程已經(jīng)啟動。 Total System Global Area 1586708480 bytes Fixed Size 2213736 bytes Variable Size 1107298456 bytes Database Buffers 469762048 bytes Redo Buffers 7434240 bytes 數(shù)據(jù)庫裝載完畢。 數(shù)據(jù)庫已經(jīng)打開。
推薦教程:《Oracle教程》