专注业务连续性支持与数据保护
2013-09-12技术合集

ORA-65086: cannot open/close the pluggable database已关闭评论

ORA-65086: cannot open/close the pluggable database

在Oracle 12C中执行卸载命令后,如果执行PDB的OPEN操作,将会提示错误,如下:

1
2
3
4
5
6
7
8
SQL> alter pluggable database pdb01 unplug into '/opt/oracle/pdb01.xml';
 
Pluggable database altered.
 
SQL> ALTER PLUGGABLE DATABASE pdb01 OPEN;
*
ERROR at line 1:
ORA-65086: cannot open/close the pluggable database

继续阅读 »

2013-08-31技术合集

crs_stop 错误一列已关闭评论

crs_stop 错误一列

grid 与 oracle 版本为11.2.0.4,为两节点RAC,在通过crs_stop -all命令关闭oracle服务时出现下面问题:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[oracle@rac01 ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.DATA.dg    ora....up.type OFFLINE   OFFLINE               
ora.FRA.dg     ora....up.type OFFLINE   OFFLINE               
ora....ER.lsnr ora....er.type OFFLINE   OFFLINE               
ora....N1.lsnr ora....er.type OFFLINE   OFFLINE               
ora.OCR.dg     ora....up.type OFFLINE   OFFLINE               
ora.asm        ora.asm.type   OFFLINE   ONLINE    rac02       
ora.cvu        ora.cvu.type   OFFLINE   OFFLINE               
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type OFFLINE   OFFLINE               
ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE               
ora.ons        ora.ons.type   OFFLINE   OFFLINE               
ora.rac.db     ora....se.type OFFLINE   OFFLINE               
ora....SM1.asm application    OFFLINE   ONLINE    rac01       
ora....01.lsnr application    OFFLINE   OFFLINE               
ora.rac01.gsd  application    OFFLINE   OFFLINE               
ora.rac01.ons  application    OFFLINE   OFFLINE               
ora.rac01.vip  ora....t1.type OFFLINE   OFFLINE               
ora....SM2.asm application    OFFLINE   ONLINE    rac02       
ora....02.lsnr application    OFFLINE   OFFLINE               
ora.rac02.gsd  application    OFFLINE   OFFLINE               
ora.rac02.ons  application    OFFLINE   OFFLINE               
ora.rac02.vip  ora....t1.type OFFLINE   OFFLINE               
ora....ry.acfs ora....fs.type OFFLINE   OFFLINE               
ora.scan1.vip  ora....ip.type OFFLINE   OFFLINE

继续阅读 »

2013-06-27技术合集

Oracle Database 12C 体验已关闭评论

Oracle Database 12C 体验

oracle版本:12.1.0.1.0
redhat版本:RedHat EL5.6 x64

安装过程分以下四个步骤

一,安装准备
二,下载安装
三,过程详解
四,常见错误

一,安装准备
1,创建oracle用户
继续阅读 »

2013-04-18技术合集

ORA-00445错误一则已关闭评论

ORA-00445错误一则

数据库在运行中突然出现如下错误,导致服务不可用。
ORA-00445: background process “m000” did not start after 120 seconds
ORA-32701: Possible hangs up to hang ID=0 detected
DIA0 terminating blocker (ospid: 14288486 sid: 4370 ser#: 7549) of hang with ID = 129
requested by master DIA0 process on instance 1
Hang Resolution Reason: Automatic hang resolution was performed to free a
critical database process.
by terminating session sid: 4370 ospid: 14288486
DIA0 successfully terminated session sid:4370 ospid:14288486 with status 31.
ORA-00445: background process “J000” did not start after 120 seconds
ORA-00445: background process “W005” did not start after 120 seconds
ORA-00445: background process “J000” did not start after 120 seconds
ERROR: Unable to normalize symbol name for the following short stack (at offset 311):
继续阅读 »

2013-04-03技术合集

module-init-tools与kmod冲突问题已关闭评论

module-init-tools与kmod冲突问题

环境:redhat 5.6 x64

在安装一个软件包时出现如下提示:

1
2
3
4
[root@tape setup]# rpm -Uvh kmod-mhvtl-1.3-1.el5.elrepo.x86_64.rpm 
warning: kmod-mhvtl-1.3-1.el5.elrepo.x86_64.rpm: Header V4 DSA signature: NOKEY
error: Failed dependencies:
        module-init-tools = 3.3-0.pre3.1.60.el5 conflicts with kmod-mhvtl-1.3-1.el5

经过搜索,原因是新的module管理方式kmod替代了原来软件module-init-tools的功能,在安装的时候造成冲突。

有方法说卸载module-init-tools可以解决问题,但是卸载时会提示将依赖其的很多系统软件包一并卸载,估计不行。

之后通过如下方式解决:
继续阅读 »

2013-03-21技术合集

SSH响应缓慢问题已关闭评论

SSH响应缓慢问题

在linux系统(Redhat 5.6)上,配置DNS后,通过ssh工具登录时,密码框往往反映很慢。

感觉一定是在登录时,系统上的sshd进程进行解析等待导致,Google后证实了这一点。

通过修改 /etc/ssh/sshd_config 可解决,添加如下:

UseLogin no

之后通过 service sshd restart 重启sshd进程即可。

2013-03-19技术合集

GoldenGate 11g 简要配置步骤已关闭评论

GoldenGate 11g 简要配置步骤

描述:源端和目标端为Oracle 10gR2数据库,将scott数据库导出,在源端与目标端新增test用户,并导入scott的逻辑备份,来实现两个数据库之间test下数据同步。两个数据库的实例均为db01。

— scott 资源导入导出命令
expdp scott/tiger schemas=scott dumpfile=scott.dmp directory=backup;
impdp scott/tiger schemas=scott dumpfile=scott.dmp directory=backup;

— 创建GoldenGate用户并授权(S&T)
CREATE USER ogg IDENTIFIED BY ogg
DEFAULT TABLESPACE “USERS”
TEMPORARY TABLESPACE “TEMP”;

GRANT “DBA” TO ogg ;

— 创建数据库用户并授权(S&T)
CREATE USER test IDENTIFIED BY welcome
DEFAULT TABLESPACE “EXAMPLE”
TEMPORARY TABLESPACE “TEMP”;
继续阅读 »