>>>crm configure primitive iptables lsb::iptables op monitor interval=10s
> o/p is
>
> ERROR: lsb:cups: could not parse meta-data:
> ERROR: lsb:iptables: could not parse meta-data:
> ERROR: lsb:iptables: could not parse meta-data:
> ERROR: lsb:iptables: no such resource agent
> Do you still want to commit? yes
>
This error is pretty straight forward, there is not
/etc/init.d/{cups,iptables} script.
>>>No, there are scripts(cups, iptables, sshd)
> It's not allowing me to add a new resource, its giving timeout error.
> But I am able to add resource using crm_gui.
That shouldn't work.
>>>Its working.
> And I tried adding resouce using lrmadmin
> for eg,
> lrmadmin -A sshd lsb sshd NULL op monitor interval=30s
>
> o/p Succeeded in adding this resource.
# lrmadmin -A sshd lsb sshd NULL op monitor interval=30s
Succeeded in adding this resource.
Yes, the first time you run it, it works, this is a bug. However
subsequent attempts result in:
>>>ok.
# lrmadmin -A sshd lsb sshd NULL op monitor interval=30s
lrmadmin[18992]: 2011/12/12_05:01:22 ERROR: lrm_add_rsc(876): got a
return code HA_FAIL from a reply message of addrsc with function
get_ret_from_msg.
Failed to add this resource.
>
> But when I did crm_resource -l
> It didnt display "sshd"
Also the resource name might be ssh, not sshd, check /etc/init.d/ directory.
>>>The resource name is sshd, not ssh.
Regards,
Sony.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems