impdp导入数据时报错ORA-12899
[oracle@rhel5 ~]$ impdp parfile=/home/oracle/expbk/impdp.txt Import: Release 11.2.0.1.0 - Production on Fri May 27 22:02:50 2016Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production...
ORA-01012: not logged on
[oracle@rhel5 ~]$ echo $ORACLE_SIDdb02[oracle@rhel5 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Thu May 26 10:56:20 2016Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected.SQL> startup nomountORA-01012: not logged on杀掉db02实例进程[oracle@rhel5 ...
DBCA创建ASM数据库时遇到ORA-01031
问题:是dbca创建ASM数据库时,图形界面缓冲条停留在86% 监控建库日志([root@rhel5 bin]# tail -f /u01/app/oracle/cfgtoollogs/dbca/orcl/trace.log)中显示如下错误:[Thread-73] [ 2016-05-26 10:04:35.701 CST ] [PostDBCreationStep.executeImpl:820] Starting Database HA Resource...
AIX6.1下重新添加oracle11gRAC坏掉的节点,
错误一:bash-3.2$ ./addNode.sh -silent "CLUSTER_NEW_NODES={db2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={db2-vip}" "CLUSTER_NEW_PRIVATE_NODE_NAMES={db2-priv}" Starting Oracle Universal Installer...Checking swap space: must be greater than 500 MB. Actual 4352 MB PassedOrac...
ORA-16014: log 4 sequence# 1 not archived, no available destinations
RAC节点启动实例到mount后,session一直卡在那儿,没有报错。查看警告日志发现ORA-16014报错根据提示为归档日志的问题查看归档日志情况如下:SQL> archive log listDatabase log mode Archive ModeAutomatic archival ...
将表移动表空间时遭遇ORA-01950
SQL> alter table scott.emp move tablespace bank;alter table scott.emp move tablespace bank *ERROR at line 1:ORA-01950: no privileges on tablespace 'BANK'SQL> show userUSER is "SYS"SQL> alte...
数据库恢复时遭遇ORA-01152
故障现象:SQL> alter database open resetlogs;alter database open resetlogs*ERROR at line 1:ORA-01152: file 1 was not restored from a sufficiently old backupORA-01110: data file 1: '+DATA/eisoo/datafile/system.256.901474327'故障原因:在一次全库恢复中,首先恢复控制文件,恢复成功,但是在恢复数...
AIX6.1系统下RAC11gR2启动节点实例遭遇ORA-00205
故障:启动RAC一个实例节点时报错ORA-00205,如下bash-3.2$ srvctl start instance -d db01 -i DB011PRCR-1013 : Failed to start resource ora.db01.dbPRCR-1064 : Failed to start resource ora.db01.db on node db1ORA-00205: error in identifying control file, check alert log for more infoCRS-2674: Start o...
AIX6.1上重新安装RAC11G时,ASM无法识别磁盘为Candidate Dsik
原因:由于在删除原RAC时没有删除ASM磁盘组,导致重新安装是ASM无法利用共享磁盘解决:使用dd命令清楚需要重新使用的共享磁盘dd if=/dev/zero of=/dev/rhdisk1 bs=1024dd if=/dev/zero of=/dev/rhdisk2 bs=1024dd if=/dev/zero of=/dev/rhdisk3 bs=1024dd if=/dev/zero of=/dev/rhdisk4 bs=1024dd if=/dev/zero of=/...
使用impdp导入数据报错:ORA-39001/39000/39142
[oracle@ora10g ~]$ impdp bank/bank directory=my_dir dumpfile=USERBANK.DMP logfile=imp.log remap_schema=userbank:bank remap_tablespace=tablespace_bank:bankImport: Release 10.2.0.5.0 - 64bit Production on Monday, 16 May, 2016 19:36:05Copyright (c) 2003, 2007, Oracle. All rights reserved.Co...
ORA-30012 undo tablespace 'UNDOTBS3' does not exist or of wrong type
问题分析:根据错误提示内容为打开UNDO表空间是出错(发现UNDO表空间不存在或者类型错误),所以此时数据应该是可以启动到mount状态SQL> startup mount;ORACLE instance started.Total System Global Area 534462464 bytesFixed Size 2215064 bytesV...
undo表空间不足,ORA-30036 unable to extend segment by ...
一、一次更新或者删除大量数据,这些数据需要保存在undo表空间中(直到提交或回滚后这些undo表空间中的数据才允许被覆盖),如果undo表空间不足,就会报ORA-30036错误。下面是两种解决办法: 1、增加undo表空间大小,或将undo表空间数据文件设置为自动扩展(如果磁盘空间不足也会导致该问题) 2、批量更新...
ORA-09817 Write to audit file failed错误处理
报错如下:[oracle@rhel5 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Mon May 16 14:39:36 2016Copyright (c) 1982, 2009, Oracle. All rights reserved.ERROR:ORA-09817: Write to audit file failed.Linux-x86_64 Error: 28: No space left on deviceAdditional information: 1...
使用RMAN迁移单库到RAC
一、源库create pfile='/home/oracle/rman_bk/pfile.ora' from spfile;backup incremental level 0 format '/home/oracle/rman_bk/orcl_%U' database plus archivelog delete all input;backup current controlfile format '/home/oracle/rman_bk/control_%U';将/home/oracle/rman_bk目录下文件拷贝到目标库相应目...
使用传输表空间方式将单实例数据库的表空间迁移至rac环境下
说明:将Windows下oracle(11.2.0.1.0)用户数据迁移到rac(centos系统)一、源库(windows平台)下将表空间read only,拷贝该表空间的数据文件并导出元数据SQL> alter tablespace TABLESPACE_BANK read only;SQL> create directory dumpdir as 'E:\dump';expdp 'sys/oracle as sysdba' directory=dumpdir dumpfile...
使用数据泵迁移用户数据
说明:应业务需求需要将Windows下oracle(11.2.0.1.0)用户userbank下所有数据迁移到Linux下oracle(11.2.0.4.0)数据库中解决办法:使用数据泵将Windows下oracle数据库userbank下数据导出,然后将导出的数据导入到Linux下oracle数据库中一、Windows下创建目录E:\expbk,用于存放数据SQL> create directory my_dir ...
RAC切换归档模式
RAC开启归档模式一、将rac数据库重新启动到mount状态[grid@centosnode1 ~]$ srvctl stop database -d DB2016二、在任意一节点上执行下面操作:1、启动节点实例到mount2、设置归档路径SQL> alter system set log_archive_dest_1='location=+DATA/db2016/arch' scope=spfile sid='*';3、更改cluster_database参数...
zabbix配置监控MySQL数据库
说明:zabbix主机(192.168.200.200),被监控mysql主机(192.168.200.66)一、被监控MySQL主机设置1、被监控MySQL主机配置mysql> grant usage on *.* to 'zabbix'@'localhost' identified by 'zabbix';mysql> flush privileges;[root@ora10g ~]# mysql -uzabbix -pzabbix --测试账号[root@ora10g ~]#...
zabbix监控oracle
1、安装jdk(在zabbix服务端)(下载路径http://www.oracle.com/technetwork/java/javase/downloads/)[root@zabbix ~]# rpm -ivh jdk-8u77-linux-x64.rpm Preparing... ########################################### [100%] 1:jdk1.8.0_77 &n...
Zabbix界面报错:zabbvix server is not running:.....
新安装的zabbix服务器,打开web界面后一直显示zabbvix server is not running:the informition displayed is not be current原因:系统selinux没有关闭解决:关闭selinux