CMK version: 2.2.0p24
OS version: aix 7300-01-03-2346
Error message:
<<<oracle_asm_diskgroup>>>
/usr/lib/check_mk_agent/plugins/mk_oracle: line 597: /etc/oracle/olr.loc: The file access permissions do not allow the specified action.
/usr/lib/check_mk_agent/plugins/mk_oracle: line 625: : A file or directory in the path name does not exist.
/usr/lib/check_mk_agent/plugins/mk_oracle: line 597: /etc/oracle/olr.loc: The file access permissions do not allow the specified action.
stat: cannot stat '/bin/crsctl': A file or directory in the path name does not exist.
stat: cannot stat '/bin/crsctl': A file or directory in the path name does not exist.
stat: cannot stat '/bin/crsctl': A file or directory in the path name does not exist.
stat: cannot stat '/bin/crsctl': A file or directory in the path name does not exist.
sh: /bin/crsctl: not found.
/usr/lib/check_mk_agent/plugins/mk_oracle: line 625: : A file or directory in the path name does not exist.
---
Problem seems to be in the new parsing of the /etc/oracle/olr.loc file.
I can see the new plugin uses a function call to do this: get_crs_home_from_olrloc()
When I remove the file /etc/oracle/olr.loc on the oracle host, the plugin skips this function and does an alternative way of fecthing the oracle homes.
This hack works, and the oracle checks run fine. But it is not a workaround that we can use, because we cant really remove the /etc/oracle/olr.loc file from the system.