rep@mydb2:/home/rep/>sqlplus rep_odi/***
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 21 17:01:10 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select * from dba_indexes;
select * from dba_indexes
*
ERROR at line 1:
ORA-01115: IO error reading block from file (block # )
ORA-01110: data file 1: '+DATA/mydb/datafile/system.272.743775337'
ORA-15081: failed to submit an I/O operation to a disk
Further if you are seeing below lines in alert.log of database:
Mon Nov 21 17:23:23 2011
Errors in file /u01/app/oracle/diag/rdbms/mydb/MYDB2/trace/MYDB2_ora_13518.trc:
ORA-15186: ASMLIB error function = [asm_init], error = [18446744073709551611], mesg = [Driver not installed]
ERROR: error ORA-15186 caught in ASM I/O path
The real cause is you are connecting with OS user which does not belong to OS dba, oper, asmadmin ... etc group.
In order to succesfully do the operation, you must change the ownership of the OS user you are using or conenct to database over tns name, like below:
rep@mydb2:/home/rep/>sqlplus rep_odi/***@REP
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 21 17:01:10 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select * from dba_indexes;
SQL>...
Thanks to brilliant guy Hakan Dömbekçi for routing me to MOS Note.
Ora-01115, Ora-01110, Ora-15081 When Connecting DB with non-dba Group Users [ID 1372571.1]