11/03/2018 18:49:08.963 ERROR (Exec Task Consumer#0) [com.aveksa.server.xfw.TaskExecutor] Failed method=Execute ExecutionTask[TaskID=158008 RunID=274732 Source=3669 Type=DataRelationshipProcessing Status=InProgress] com.aveksa.server.xfw.ExecutionException: com.aveksa.server.collector.DataProcessorException: com.aveksa.server.db.PersistenceException:
java.sql.SQLException: ORA-20011: Approximate NDV failed: ORA-12805: parallel query server died unexpectedly
ORA-06512: at "AVUSER.EDC_DATA_COLLECTOR", line 265
As this error relates to the Oracle database, the Alert log for the Oracle database needs to be examined.
The typical location for the Oracle database Alert log is: /u01/app/oracle/diag/rdbms/avdb/AVDB/trace/alert_AVDB.log.
Around the same time the error is reported in the aveksaServer.log, there should also be a trace file generated for an Oracle Parallel process.
For example, in the Alert log extract below, the Oracle Parallel process is called: p003.
Sat Nov 03 18:41:30 2018
Errors in file /u01/app/oracle/diag/rdbms/avdb/AVDB/trace/AVDB_p003_18234.trc:
ORA-15186: ASMLIB error function = [kfk_asm_ioerror], error = [0], mesg = [I/O Error]
ORA-01115: IO error reading block from file 10 (block # 12636800)
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
ORA-15186: ASMLIB error function = [kfk_asm_ioerror], error = [0], mesg = [I/O Error]
If we examine the Oracle Parallel process trace file, we can confirm that the errors that caused the process to fail.
ORA-00603: ORACLE server session terminated by fatal error ORA-24557: error 1115 encountered while handling error 1115; exiting server process ORA-01115: IO error reading block from file (block # ) ORA-01115: IO error reading block from file 10 (block # 12636800) ORA-15081: failed to submit an I/O operation to a disk ORA-15081: failed to submit an I/O operation to a disk ORA-15186: ASMLIB error function = [kfk_asm_ioerror], error = [0], mesg = [I/O Error]
Finally, as this error also involves the "ASMLIB", the Alert log for the Oracle ASM instance can also be examined.
The typical location for the Oracle ASM Alert log is: /u01/app/oracle/diag/rdbms/+asm/+ASM/trace/alert_+ASM.log.
So, around the same time the error is reported in the Alert log, the +ASM instance may report the following.
These warning show that Oracle ASM also detected problems writing to a disk.
Sat Nov 03 18:39:59 2018 WARNING: Waited 121 secs for write IO to PST disk 0 in group 1. WARNING: Waited 121 secs for write IO to PST disk 0 in group 1.
ORA-63999: data file suffered media failure
WARNING: Read Failed. group:1 disk:0 AU:171184 offset:0 size:262144 path:ORCL:VOL1 incarnation:0x0 asynchronous result:'I/O error' subsys:/opt/oracle/extapi/64/asm/orcl/1/libasm.so krq:0x2b03c7aef670 bufp:0x2b03c96cf000 osderr1:0x3 osderr2:0x2e IO elapsed time: 436092000 usec Time waited on I/O: 0 usec WARNING: failed to read mirror side 1 of virtual extent 112098 logical extent 0 of file 277 in group [1.1781028343] from disk VOL1 allocation unit 171184 reason error; if possible, will try another mirror sideFinally, the errors can also be caused if access to the disks managed by Oracle ASM have the wrong permissions.
ORA-15025: could not open disk '/dev/sda3' ORA-27041: unable to open file Linux-x86_64 Error: 13: Permission denied (or Input/Output error)
/dev/oracleasm/disks # ll total 0 brw-rw---- 1 oracle dba 8, 3 Oct 31 16:25 VOL1