DataGuard切换报ora-16009错误的解决办法
一. 问题描述 在做oracle data-guard的切换测试时,将生产环境切换到备库服务器上后,进行了日志的切换,这时发现,日志文件是复制到了主库服务器(此时数据库的角色为standby database)的相关目录,当没有得到正常的应用,在主库服务器的alert日志中报"ORA-16009: remote archive log destination must be a STANDBY database"错误;ORACLE 对错误的描述为:$ oerr ora 1600916009, 00000, "remote archive log destination must be a STANDBY database"// *Cause: The database associated with the archive log destination
Step By Step Configure DataGuard (10g) Physical Standby Database On Linux X86_64(2/2)
本文承接http://djb1008.itpub.net/post/42280/504822[oracle@standbydb archivelog]$ pwd/oradata/archivelog[oracle@standbydb archivelog]$ ls -lt *standby_arc:total 47820-rw-r----- 1 oracle oinstall 286208 Sep 3 18:41 1_212_724504451.dbf-rw-r----- 1 oracle oinstall 197120 Sep 3 18:32 1_211_724504451.dbf-rw-r----- 1 oracle oinstall 4096 Sep 3 18:31 1_210_724504451.dbf-rw-r----- 1 oracle oinstall 48413184 Sep 3 18:31 1_209_724504451.dbfprimary_arc:total 0[@more@]我们可以看到归档日志文件从主节点复制到了
Step By Step Configure DataGuard (10g) Physical Standby Database On Linux X86_64(1/2待续...)
一. 环境描述主节点Primary db server: hostname: primarydbip: 168.0.3.92sid: gridctl备节点Standby db server:hostname:standbydbip: 168.0.3.93sid: gridctlTwo nodes:#more /etc/hosts168.10.13.192 primarydb168.10.13.193 standbydbORACLE_HOME:/oracle/product/10.2.0/db_1Archivelog_dest:/oradata/archivelog/primary_arc/oradata/archivelog/standby_arcdatafile directory: /oradata/gridctl/[@more@]二. 创建物理备用数据库(Create Physical Standby Database)编辑主节点数据库环境1.1 设置主节点归档日志目录,standby归档日
STEP BY STEP INSTALL SSH ON AIX5.3(6.1)
安装 OpenSSH 需要安装两个软件包:1. openssl,2. openssh。 安装步骤如下:1. 下载 openssl 和 openssh:openssl:(1) 打开 https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=aixbp,并且使用 IBM ID 登录。注:此网页需要有一个 IBM ID,如果您之前没有 IBM ID,请先注册一个。(2) 选择 OpenSSL,按 Continue 继续到下载页面。(3) 下载 openssl-fips.12.9.8.1101.tar.Z。 openssh:打开 http://sourceforge.net/projects/openssh-aix,然后点击 Files -> openssh-aix53 -> openssh_5.2p1_53.tar.Z;或者直接从
ORA-00600: internal error code, arguments: [13310], [],错误解决
一. 问题描述 在数据库警告日志中不断报ORA-00600 [13310]的错误.$tail -f alert_<ORACLE_SID>.log…….ORA-00600: internal error code, arguments: [13310], [], [], [], [], [], [], []Mon Aug 23 10:48:35 2010Errors in file /oracle/admin/ypjkdb/bdump/ypjkdb_j000_1225180.trc:ORA-00600: internal error code, arguments: [13310], [], [], [], [], [], [], []Mon Aug 23 10:49:35 2010Errors in file /oracle/admin/ypjkdb/bdump/ypjkdb_j000_1225180.trc:ORA-00600: internal error code, arguments: [13310], [], [], [
提高AIX的安全性研究
为了提高IBM AIX的安全性,使系统基本达到安全基线标准,需要进行安全设置操作。为了减少工作量,减少重复操作,减少人为错误,提高工作的效率,特编辑了安全设置批量处理脚本,与相关安全配置文件一起,实现自动安全升级的目标。具体的安全配置步骤如下:一. 下载tcp wrapper安装程序(netsec.options),生成.toc文件二.编辑配置文件ftpusers,hosts.allow,hosts.deny,inetd.conf三.编辑脚本文件secure.sh四.将安全设置目录打包,用于进行批量AIX安全设置五.使用安全配置包,在新的aix中进行安全设置操作六. 检查安全设置的结果注: 安全配置文件
Step By Step Install Oracle GC 10.2.0.5 on Redhat Linux 5.5 x86_64 (2/2)
1. 运行安装目录的runInstaller命令,进行静默安装noconfig 选择项一定与slient选择项一起使用的(the noconfig option must be executed only during silent installations.)$cd /setup/Disk1/$./runInstaller -noconfig -ignoreSysPrereqs -silent -responseFile /oracle/em_using_existing_db_new.rsp use_prereq_checker=false -force命令中的use_prereq_checker=false 设置了在OUI安装时,不进行prereq check.[@more@]2. 安装过程中,查看安装日志文件动态内容安装过程的日志文件存放在/oracle/oraInventory/logs目录下.$tail -f /oracle
Change redhat root password
在安装完Linux的时候突然忘记了root密码,可以先重启Linux,在开机在出现GRUB画面按下e键,选择第二项:(原有) kernel /vmlinuz-2.6.18-14 root=/dev/VolGroup00/LogVol00 rhgVol quiet 修改为(在最后加一个空格,再加一个single): kernel /vmlinuz-2.6.18-14 root=/dev/VolGroup00/LogVol00 rhgVol quiet single 再使用END键退出,在刚才修改的选项上按b键盘,作为单用户登录. 当出现:sh-3.2#时,输入命令passwd ,修改root密码 sh-3.2# passwd root 修改完后使用reboot命令重启即可.[@more@]
Step By Step Install Oracle GC 10.2.0.5 on Redhat Linux 5.5 x86_64 (1/2待续...)
使用静默方式(silent)安装grid control,可以不用使用X-Windows,或者其它的图形软件,不用设置DISPLAY等,适合于很多端口限制很严和安全性要求很高的环境.静默方式(silent)安装的基本步骤为:一. OMS SERVER环境准备,REPOSITORY DB环境准备.二. 下载安装程序,解压缩到安装目录三. 进行GC_10.2.0.3_full安装(静默方式),选择noconfig的方式.四. Patch OMS AND AGENT FROM 10.2.0.3 TO 10.2.0.5使用noconfig方式,只安装软件,不进行配置操作(在升级安装中noconfig常常被用到,一般安装10.2.0.3,升级到10.2.0.5等新版本后,才执行后面的config操作,这
ConfigureGC.pl,version SUNWprivate_1.1 not defined in file libjvm.so with link time reference问题解决
一次在一noconfig方式安装完grid control 10.2.0.3_X86_64,然后patch oms and agent to 10.2.0.5后,运行ConfigureGC.pl脚本,进行GC的配置时报错运行 的命令:$$ORACLE_HOME/perl/bin/perl $ORACLE_HOME/sysman/install/ConfigureGC.pl /oracle/OracleHomes错误描述:Base Directory: /oracle/OracleHomesNo file exists. Can't rename Starting ito execute Configuration Assistants: Running the configuration assistants using the following command:/oracle/OracleHomes/oms10g/oui/bin/runConfig.sh INV_PTR_LOC=/oracle/OracleHomes
Install gc agent on client is getting 'Please specify a Unique Oracle Base directory'(redhat 5.3_x8
在使用远程安装gc clinet的agent时,执行agentDownload.linux命令,遇到了"Please specify a Unique Oracle Base directory"的错误,本文描述了解决这个问题的方法和步骤.主要的方法是: 修改/etc/oraInst.loc文件,将本次agent安装的日志存放在一个新的目录中(本次为/oracle/oraInventory2)另外的一个方法: 备份旧的inventory内容,清空inventory 目录,完成安装后,恢复回来.[@more@]一. 问题描述: Oms server:$cd $ORACLE_HOME/sysman/agent_download/10.2.0.5.0$ rm -rf *$unzip /setup/Linux_Grid_Control_agent_download_10_2_0_5
WGET command is getting 403 forbidden response when remote install gc agent,Troubleshooting
安装完oms服务器,并升级到10.2.0.5后,想通过oms服务器进行客户端的agent的远程安装,首先需要从oms下载agentDownload.linux文件.在使用wget命令下载agentDownload.linux文件时发生了"403 Forbidden"的错误,本文描述了解决这个错误的方法和步骤.[@more@]一. 问题描述:REPOSITORY DB:[oracle@ocmdb1 agent10g]$ wget http://ocmdb2:4889/agent_download/10.2.0.5.0/linux/agentDownload.linux --2010-08-09 15:24:05-- http://ocmdb2:4889/agent_download/10.2.0.5.0/linux/agentDownload.linuxResolving ocmdb2... 12.18.12.181Co
Using silent mode to install GC 10.2.0.1 and upgrade GC to 10.2.0.5 by Using an Existing Database on
本文主要描述在Redhat Linux5.3_X86上如何安装Grid Control 10.2.0.1,并升级到新的版本(10.2.0.5),具体的步骤分为:安装前配置OMS SERVER环境,配置REPOSITORY DB 环境,具体内容请参看我的博客文章http://djb1008.itpub.net/post/42280/502790 ;使用静默方式(silent)安装Grid Control 10.2.0.1,不进行任何配置(安装时选择noconfig选项,只安装软件);使用静默方式(silent)升级oms 到10.2.0.5,不进行任何配置(安装时选择noconfig选项,只安装软件);使用静默方式(silent)升级agent 到10.2.0.5,不进行任何配置(安装时选择noconfig选项,只安装软件)
FTP时报 GSSAPI error major: Unspecified GSS failure,KERBEROS_V4 错误的解决
一.问题描述 无法通过/etc/rc.d/init.d/vsftpd stop 来停止ftp服务,通过windows的客户端仍然可以进行ftp的访问.[root@pdb log]# /etc/rc.d/init.d/vsftpd stopShutting down vsftpd: [FAILED][root@pdb log]# rpm -q...
ORA-00600: internal error code, arguments: [keltnfy-ldmInit] 错误解决
一.问题描述:[oracle@fsdb ~]$ sqlplus / as sysdbaSQL*Plus: Release 10.2.0.3.0 - Production on Mon Jul 12 12:47:33 2010Copyright (c) 1982, 2006, Oracle. All Rights Reserved.Connected.SQL> alter user sys...
linux安全设置(升级SSH,关闭telnet,停止FTP,停止sendmail等)
为了提高linux操作的安全性,建议停止使用telnet服务,而使用ssh方式进行系统访问,同时停止ftp服务,需要时手工启动,使用完毕,手工关闭;如果sendmail服务在linux重新启动时 设置为自动启动,将在系统启动时耗费很多时间...
step by step install oracle grid control 10.2.0.1 on linux 5.4 x86
一. GC 的基本配置:1.OMS Server 1台(虚拟机)2.RepositoryDB Server 1台(笔记本)3.OS: RHEL5.4_X864.Repository Database: 10.2.0.35. OMS:10.2.0.1 X866.AGENT:10.2.0.5二. 配置OMS SERVER 的ORACLE 用户环境groupa...
Step by step install grid control agent on linux 5.3 x86_64远程安装(二)
该方法适用于被监控目标和OMS主机同一操作系统平台, 下面还是以Linux平台为例. OMS主机(做一次即可):进入软件存放目录, 把10.2.0.5版本文件先解压到 $OMS_HOME/sysman/agent_download/10.2.0.5.0 目录下.$cd $OMS_HO...
设置ORACLE GRID CONTROL 自动启动
Oracle grid control on linux 安装完成后,自动设置了自动启动,在LINUX 启动的界面里,可以看到opmn start agent的等待界面。安装程序是在哪个环节实现了设置自动启动的工作呢?安装结束时,需要运行$ORACLE_HOME/ro...
重新创建Grid Control的Repository Database
Grid Control 安装完成 后,随着Agent 的不断增加,需要建立一个性能更好的repository db.本文只描述重新建立Repository db,不牵涉原有数据的迁移。 重新创建的操作步骤主要包括,1.新建repository DB并配置相关初始化...