log_archive_dest_1设置报错
DG搭建完之后,又报错:
Tue Dec 22 16:24:33 2015
Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_arc1_2994.trc:
ORA-16014: log 8 sequence# 20 not archived, no available destinations
ORA-00312: online log 8 thread 2: '/u01/app/orcl/onlinelog/stdby_redo8.log'
查看文件:
[root@dbdg datafile]# cat /u01/app/oracle/admin/orcl/bdump/orcl_arc1_2994.trc
/u01/app/oracle/admin/orcl/bdump/orcl_arc1_2994.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u01/app/oracle/product/10.2.0/dbhome_1
System name: Linux
Node name: dbdg
Release: 2.6.18-308.el5
Version: #1 SMP Fri Jan 27 17:17:51 EST 2012
Machine: x86_64
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 17
Unix process pid: 2994, image: oracle@dbdg (ARC1) *** 2015-12-22 14:39:33.083
*** SERVICE NAME:() 2015-12-22 14:39:33.083
*** SESSION ID:(1640.1) 2015-12-22 14:39:33.083
*** 2015-12-22 14:39:33.083 21373 kcrr.c
*** 2015-12-22 14:49:33.102
*** 2015-12-22 14:49:33.102 21373 kcrr.c
*** 2015-12-22 14:59:33.123
*** 2015-12-22 14:59:33.123 21373 kcrr.c
*** 2015-12-22 15:09:33.143
*** 2015-12-22 15:09:33.143 21373 kcrr.c
*** 2015-12-22 15:19:33.163
*** 2015-12-22 15:19:33.163 21373 kcrr.c
*** 2015-12-22 15:24:33.176
ARCH: Connecting to console port...
ARCH: Connecting to console port...
*** 2015-12-22 15:24:33.176 21373 kcrr.c
ORA-16014: log 8 sequence# 20 not archived, no available destinations
ORA-00312: online log 8 thread 2: '/u01/app/orcl/onlinelog/stdby_redo8.log'
*** 2015-12-22 15:33:49.457
*** 2015-12-22 15:33:49.457 21420 kcrr.c
*** 2015-12-22 15:34:33.197
ARCH: Connecting to console port...
ARCH: Connecting to console port...
*** 2015-12-22 15:34:33.197 21373 kcrr.c
ORA-16014: log 8 sequence# 20 not archived, no available destinations
ORA-00312: online log 8 thread 2: '/u01/app/orcl/onlinelog/stdby_redo8.log'
*** 2015-12-22 15:44:33.215
*** 2015-12-22 15:44:33.215 21373 kcrr.c
*** 2015-12-22 15:54:33.235
*** 2015-12-22 15:54:33.235 21373 kcrr.c
*** 2015-12-22 16:04:33.254
*** 2015-12-22 16:04:33.254 21373 kcrr.c
*** 2015-12-22 16:14:33.272
*** 2015-12-22 16:14:33.272 21373 kcrr.c
*** 2015-12-22 16:19:33.281
ARCH: Connecting to console port...
ARCH: Connecting to console port...
*** 2015-12-22 16:19:33.281 21373 kcrr.c
ORA-16014: log 8 sequence# 20 not archived, no available destinations
ORA-00312: online log 8 thread 2: '/u01/app/orcl/onlinelog/stdby_redo8.log'
*** 2015-12-22 16:24:33.291
ARCH: Connecting to console port...
ARCH: Connecting to console port...
*** 2015-12-22 16:24:33.291 21373 kcrr.c
ORA-16014: log 8 sequence# 20 not archived, no available destinations
ORA-00312: online log 8 thread 2: '/u01/app/orcl/onlinelog/stdby_redo8.log'
说的挺明显,就是归档路径有问题,
路径下没有归档:
[root@dbdg orcl]# ll
total 0
查看參数:
log_archive_dest_1 string LOCATION=/u01/app/oracle/orcl
VALID_FOR=(ALL_LOGFILES,ALL_RO
LES) DB_UNIQUE_NAME=orcl
原来是DB_UNIQUE_NAME指定错误。
改动:
SQL> alter system set log_archive_dest_1='LOCATION=/u01/app/oracle/orcl VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcldg' scope=both; System altered.
归档路径生成了归档
[root@dbdg orcl]# ll
total 1436
-rw-r----- 1 oracle oinstall 174592 Dec 22 16:49 1_22_899013364.dbf
-rw-r----- 1 oracle oinstall 1024 Dec 22 16:49 1_28_899013364.dbf
-rw-r----- 1 oracle oinstall 98304 Dec 22 16:49 1_29_899013364.dbf
原来。log_archive_dest_1指定本机db_unique_name.
log_archive_dest_1设置报错的更多相关文章
- php 怎么设置报错级别 和 控制报错[转]
在Windows环境下:有时在其他环境下运行正常的程序在自己的环境上会报错误 程序会 报出 Undefined index: 这样的错误例如有如下的代码: ...
- php 设置报错等级
定义和用法: error_reporting() 设置 PHP 的报错级别并返回当前级别. 函数语法: error_reporting(report_level) 如果参数 level 未 ...
- php设置报错级别
ini_set("display_errors", "On");//若页面不报错的话,请设置php.ini 的display_errors 为 On error ...
- cookie 设置报错 setcookie() expects parameter 3 to be integer, float given in...
使用 setcookie 函数设置 cookie 报错,报错信息为: setcookie() expects parameter to be integer, float given in... 错误 ...
- element UI表格行高、padding等设置报错问题
element UI里面表格的行高需要自己调整高度和设置padding,直接写style是不行的,里面有 : 1.row-style (行的 style) 2.header-row-styl (表 ...
- linux系统中SSH免密设置报错
执行 ssh-add ~/.ssh/msi_rsa 时报下面错误 Could not open a connection to your authentication agent. 解决办法: 执行命 ...
- iOS-解决iOS8及以上设置applicationIconBadgeNumber报错的问题
在IOS7中设置applicationIconBadgeNumber不会有什么问题,但是直接在IOS8中设置applicationIconBadgeNumber会报错.因为在IOS8中要想设置appl ...
- IIS报错 未将对象引用设置到对象的实例。
在vs中运行正常的项目 ,发布到IIS总是提示 未将对象引用设置到对象的实例. 运行静态页面 html正常,只是打开.aspx页面的时候报错,在确保了数据库,配置,权限均正常的情况下. 错误原因:先安 ...
- ASP.NET MVC 3 入门级常用设置、技巧和报错
1.ASP.NET MVC 3 如何去除默认验证 这个默认验证是在web.config配置文件中设置的 <add key="ClientValidationEnabled&quo ...
随机推荐
- 【转】Linux之printf命令
转自:http://blog.chinaunix.net/uid-9525959-id-2001528.html printf FORMAT [ARGUMENT]... printf OPTION [ ...
- C#语言最基础的数组和集合
数组的书写格式:数据类型[]变量名=new 数据类型[长度]: 集合的书写格式:List<变量类型>变量名=new List<变量类型>(): 集合添加元素:变量名.Add(数 ...
- Html基础学习(基于W3school网络教程)
//防止乱码 head中加入 <meta http-equiv="Content-Type" content="text/html; charset=utf-8&q ...
- 国内外知名IT科技博客
国内 1.36氪(www.36kr.com): 目前国内做的最风生水起的科技博客,以介绍国内外互联网创业新闻为主的博客网站,自己建立有36Tree互联网创业融投资社区.36氪的名字源于元素周期 表的第 ...
- CSS——新浪导航demo
主要运用的dispaly将a变成行内块,再用padding撑开宽度. <!DOCTYPE html> <html lang="en"> <head&g ...
- 仿iphone动态萤火虫锁屏应用安卓源码
该源码是仿iphone动态萤火虫锁屏应用源码,源码SkyLock,这也是最近弄了一款锁屏,苦于市场百般阻拦与锁屏应用数量实在太多,于是将它拿出来开源:废话不多说,希望大家能够希望,更多说明请看下面的吧 ...
- How an SSL connection is established
An SSL connection between a client and server is set up by a handshake, the goals of which are: To s ...
- WinMTR使用教程
WinMTR下载链接:https://share.weiyun.com/53iPoC7 WinMTR官网连接:http://winmtr.net/download-winmtr/ WinMTR 使用方 ...
- 阿里P8架构师详解Java性能调优策略
一.性能测试 Ⅰ.测试方法 微基准性能测试 可以精准定位到某个模块或者某个方法的性能问题,例如对比一个方法使用同步实现和非同步实现的性能差异 宏基准性能测试 宏基准性能测试是一个综合测试,需要考虑到测 ...
- CPU内部组成及原理
CPU,Central Processing Unit,翻译过来叫中央处理器.是一块超大规模的集成电路,是一台计算机的运算核心(Core)和控制核心( Control Unit).电脑中所有操作都由C ...