Posts

Showing posts with the label Oracle Error

ORACLE RMAN 错误收集

现象: 备份 失败; 原因:备份空间用完了 解决方案: 1. 查看配置:show parameter db_recovery_file_dest_size; 2. 调大db_recovery_file_dest_size:alter system set db_recovery_file_dest_size= XXX G scope=BOTH; 或者:修改 rman 保存时间:configure retention policy to recovery window of  XXX days   RMAN-06207: WARNING: 2 objects could not be deleted for DISK channel(s) RMAN-06208: to mismatched status. Use CROSSCHECK command to fix RMAN-06210: List of Mismatched objects RMAN-06211: ========================== RMAN-06212: Object Type Filename/Handle RMAN-06213: RMAN-06214: Datafile Copy /u10/oraback/DPDEVUG/HOT/control1DPDEVUG.ctl RMAN-06214: Datafile Copy /u10/oraback/DPDEVUG/HOT/control2DPDEVUG.ctl 解决方案:crosscheck controlfilecopy ‘/u10/oraback/DPDEVUG/HOT/control1DPDEVUG.ctl'   RMAN-03009: failure of backup command on c1 channel at 01/05/2012 06:03:14 ORA-19502: write error on file "/backup/dbtemp/bkp_20120105_5138_1.dbf", blockno 4775297 (blocksize=8192) ORA-27072: File I/O error Linux-x86...

win08r2使用sqlplus编码问题(10g)

Image
安装好oracle10g之后使用sqlplus  登录数据库发现有下面的现象   解决方案: 编辑系统注册表,修改NLS_LANG的键值.如图:

ORACLE 启动停止错误收集

场景一: 停止数据库shudown immediate; 一直没有反应,监控alert日志,发现停在这里: Active call for process 6755 user 'oracle' program  'oracleprimary0@nissandb3' SHUTDOWN: waiting for active calls to complete. 解决方法:退出到系统中kill -9 6755 继续监控,发现停在这里: PMON failed to acquire latch, see PMON dump 解决方法:重开一个session,输入命令:shutdown abort 场景二: 停止数据库shutdown immedaite; 一直没有反应,监控alert日志,发现停在这里: kkjcre1p: unable to spawn jobq slave process, error 1089 解决方案:重开一个session,输入命令:shutdown abort 场景三: 启动数据库后启动监听器报错: TNS-12541: TNS:no listener 解决方案: 1. 修改/etc/hosts文件 原文件为: 127.0.0.1        主机名.localhost     主机名 修改为: 127.0.0.1        localhost 2. 用netca窗口,reconfigure监听器 场景四: 服务器上sqlplus没反应 解决方案: 查看系统负载,一般原因是系统负载过高引起,需要重启系统。 场景五: 进入数据库显示IDLE, 但是进程有,不能停,也不能启动 解决方案:在系统中kill相关进程。再进入数据库启动。 场景六: SQL> startup mount; ORA-00119: invalid specification for system parameter LOCAL_LISTENER ...

ORACLE Error

Image
oracle official error explanation  http://docs.oracle.com/cd/E11882_01/server.112/e17766/toc.htm 从服务器下载ALERT日志文件,传输方式需要选择"ASCII" ORA-01078: failure in processing system parameters 发生场景:新建数据库第一次启动时 SQL> startup ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file ‘/home/oracle/oracle/product/10.2.0/db_1/dbs/initorcl.ora’ 原因:oracle_sid没有配置正确 解决方案: 1. 修改oracle用户.bash_profile文件中ORACLE_SID后的内容; 2. 重新已oracle用户登录; ORA-01157: cannot identify/lock data file string - see DBWR trace file  Cause: The background process was either unable to find one of the data files or failed to lock it because the file was already in use. The database will prohibit access to this file but other files will be unaffected. However the first instance to open the database will need to access all online data files. Accompanying error from the operating system describes why the file could not be identified. Action: Have operating system make file ...