签到成功

知道了

CNDBA社区CNDBA社区

oracle ORA-16019错误

2023-08-09 14:11 698 0 原创 oracle
作者: hbhe0316
[root@was01 ~]# su - oracle
Last login: Tue Aug  8 17:06:37 CST 2023 on pts/0
[oracle@was01 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Aug 9 03:22:05 2023
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-16019: cannot use LOG_ARCHIVE_DEST_1 with LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST

SQL> create pfile='/tmp/init.ora' from spfile;

File created.

修改/tmp/init.ora,删除*.log_archive_dest对应的内容http://www.cndba.cn/hbhe0316/article/131435http://www.cndba.cn/hbhe0316/article/131435http://www.cndba.cn/hbhe0316/article/131435http://www.cndba.cn/hbhe0316/article/131435http://www.cndba.cn/hbhe0316/article/131435http://www.cndba.cn/hbhe0316/article/131435

http://www.cndba.cn/hbhe0316/article/131435
http://www.cndba.cn/hbhe0316/article/131435http://www.cndba.cn/hbhe0316/article/131435http://www.cndba.cn/hbhe0316/article/131435

[oracle@was01 tmp]$ cat init.ora 
orcl.__data_transfer_cache_size=0
orcl.__db_cache_size=570425344
orcl.__inmemory_ext_roarea=0
orcl.__inmemory_ext_rwarea=0
orcl.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=637534208
orcl.__sga_target=956301312
orcl.__shared_io_pool_size=50331648
orcl.__shared_pool_size=285212672
orcl.__streams_pool_size=0
orcl.__unified_pga_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.compatible='19.0.0'
*.control_files='/u01/app/oracle/oradata/ORCL/control01.ctl','/u01/app/oracle/oradata/ORCL/control02.ctl'
*.db_block_size=8192
*.db_name='orcl'
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.local_listener='LISTENER_ORCL'
*.log_archive_dest_1='location=/u01/app/oracle/product/19.3.0/dbhome_1/dbs'
*.memory_target=1515m
*.nls_language='AMERICAN'
*.nls_territory='AMERICA'
*.open_cursors=300
*.processes=320
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
SQL> startup pfile='/tmp/init.ora';
ORACLE instance started.

Total System Global Area 1593831936 bytes
Fixed Size            8897024 bytes
Variable Size          956301312 bytes
Database Buffers      620756992 bytes
Redo Buffers            7876608 bytes
Database mounted.
Database opened.

SQL> create spfile='/u01/app/oracle/product/19.3.0/dbhome_1/dbs/spfileorcl.ora' from pfile='/tmp/init.ora';

File created.

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area 1593831936 bytes
Fixed Size            8897024 bytes
Variable Size          956301312 bytes
Database Buffers      620756992 bytes
Redo Buffers            7876608 bytes
Database mounted.
Database opened.

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1038041次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ