When i am trying to query the oracle cluster health monitor repository size in RAC database during addition of node... i got the following error.
[grid@rac12cnode1 ~]$ oclumon manage -get repsize
Bareword found where operator expected at /u01/app/12.1.0/grid/bin/
oclumon.pl line 52, near "/u01/app"
(Missing operator before app?)
syntax error at /u01/app/12.1.0/grid/bin/
oclumon.pl line 52, near "/u01/app"
Execution of /u01/app/12.1.0/grid/bin/
oclumon.pl aborted due to compilation errors.
[grid@rac12cnode1 ~]$ vi /u01/app/12.1.0/grid/bin/
oclumon.pl[grid@rac12cnode1 ~]$ oclumon manage -get repsize
CRS-9003-Cluster Health Monitor is not supported in this configuration.
[grid@rac12cnode1 ~]$
The issue is in the syntax of the script , which is delivered by oracle.
You need to go to the line 52 in the script and include the path in double quotes.