Error while creating Resource using GDS
807567Jul 1 2008 — edited Jul 8 2008Hi
Iam trying to create Resource using GDS and it is throwing me error
clresource: (C189917) VALIDATE on resource egateq00-haegate_reg-res, resource group egateq00-rg, exited with non-zero exit status.
clresource: (C720144) Validation of resource egateq00-haegate_reg-res in resource group egateq00-rg on node uhegateq02 failed.
clresource: (C891200) Failed to create resource "egateq00-haegate_reg-res".
This is the command I executed
rclresource create -g egateq00-rg -t SUNW.gds
-p Scalable=false -p Start_timeout=120 -p Stop_timeout=120 -p Probe_timeout=30
-p Port_list="23001/tcp" -p Start_command="/egateq00/scripts/reg_START.sh" -p Stop_command="/egateq00/scripts/reg_STOP.sh"
-p Probe_command="/egateq00/scripts/reg_PROBE.sh" -p Child_mon_level=1 -p Network_resources_used=egateq00-lh-res -p Failover_enabled=FALSE
-p Stop_signal=15 egateq00-haegate_reg-res
The log under /var/cluster/logs/DS says following
07/01/2008 17:56:43 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
07/01/2008 17:56:43 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
07/01/2008 18:13:23 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
07/01/2008 18:13:23 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
However, I can open these scripts and run it from anywhere. I also tested these scripts and they all work fine. They are all set to chmod 777 , so everyone should have execute permission
Iam not returning any return value from these Start and Stop script , is that the why it is failing
thanks