今天在搭建备库,恢复控制文件的时候报了下面的错误:
Errors in file /oracle/database/diag/rdbms/bpmrac/bpmrac01/trace/bpmrac01_rbal_143309.trc:
ORA-15183: ASMLIB initialization error [driver/agent not installed]
WARNING: FAILED to load library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so
Errors in file /oracle/database/diag/rdbms/bpmrac/bpmrac01/trace/bpmrac01_rbal_143309.trc:
ORA-15183: ASMLIB initialization error [driver/agent not installed]
Fri Sep 28 09:04:16 2018
SUCCESS: diskgroup DATA was dismounted
ERROR: diskgroup DATA was not mounted
Fri Sep 28 09:08:55 2018
网上看资料说下oracle 用户下,下面文件权限的问题,和测试环境的对比如下
[oracle@bpmrac02 bin]$ ll oracle
-rwsr-s--x 1 oracle oinstall 239626697 Sep 27 11:14 oracle
(测试环境)
将权限改成和测试环境一样,就没有报错了