Hi,
On Tue, Nov 24, 2009 at 11:01:22AM +0100, Yves Schumann wrote:
>
> Hi there,
>
> I've got the following errors on the log if I use the resource IPaddr2:
>
> ...
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: rsc:rscIpaddr2:7: start
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 186: Echo: command not found
>
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 194: Echo: command not found
>
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 186: Echo: command not found
>
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 194: Echo: command not found
>
> Nov 24 10:49:00 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 186: Echo: command not found
>
> Nov 24 10:49:00 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 194: Echo: command not found
>
> Nov 24 10:49:00 LAB4 crmd: [9648]: info: process_lrm_event: LRM operation
> rscIpaddr2_start_0 (call=7, rc=0, cib-update=15, confirmed=true) complete
> ok
> ...
>
> It seems to me that there is the import of the file /etc/ha.d/shellfuncs
> missing. After adding the line
>
> . ${HA_DIR}/shellfuncs
>
> on the initialization section, the errors went away.
>
> Any ideas? A bug or something wrong here on my installation?
In the current IPaddr2 there are no Echo calls. Strange that you
have a version with Echo calls but it doesn't source shellfuncs.
That package seems to be broken.
Thanks,
Dejan
> Regards,
>
> Yves Schumann
> Softwareentwicklungsingenieur Security Solutions Division
> IT-Koordinator
> ______________________________
> Ascom (Schweiz) AG
>
> "Walking on water and developing software from a specification are easy if
> both are frozen" -- Edward V. Berard
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems