[Oracle@localhost oracle]$ sqlplus / as sysdbaSQL*Plus: Release 11.1.0.6.0 - Production on Thu Dec 3 17:10:02 2009Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> select log_mode from v$database;LOG_MODE
------------
NOARCHIVELOGSQL> alter database archivelog on;
alter database archivelog on
*
ERROR at line 1:
ORA-00933: SQL command not properly ended
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-01126: database must be mounted in this instance and not open in any
instance
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.Total System Global Area 389189632 bytes
Fixed Size 1300128 bytes
Variable Size 276826464 bytes
Database Buffers 104857600 bytes
Redo Buffers 6205440 bytes
Database mounted.
SQL> alter database archivelog on;
alter database archivelog on
*
ERROR at line 1:
ORA-00933: SQL command not properly ended
SQL> alter database archivelog;Database altered.SQL> select log_mode from v$database;LOG_MODE
------------
ARCHIVELOGSQL> alter database open;Database altered.SQL>RHEL5上安装Oracle10g Release 2 (Oracle 11gR1基本相同)Ubuntu MySQL的root用户权限被删除解决思路相关资讯 oracle
- [INS-32052] Oracle基目录和Oracle (07/22/2014 07:41:41)
- Oracle 4个大对象(lobs)数据类型 (02/03/2013 12:33:05)
- Oracle按时间段分组统计 (07/26/2012 10:36:48)
| - [Oracle] dbms_metadata.get_ddl的 (07/12/2013 07:37:30)
- Liferay Portal 配置使用Oracle和 (07/31/2012 20:07:18)
- Concurrent Request:Inactive (07/20/2012 07:44:05)
|
本文评论 查看全部评论 (1)
评论声明- 尊重网上道德,遵守中华人民共和国的各项有关法律法规
- 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
- 本站管理人员有权保留或删除其管辖留言中的任意内容
- 本站有权在网站内转载或引用您的评论
- 参与本评论即表
|