[Linux-HA] crm_mon will always complain about opening a file with html mode

Andrew Beekhof beekhof at gmail.com
Thu Apr 24 00:33:00 MDT 2008


On Thu, Apr 24, 2008 at 3:10 AM, 谷口 都美 <taniguchis at intellilink.co.jp> wrote:
> Hi,
>
>  There is a discussion about a feature that "crm_mon" displays
>  the failcount in this list before,
>  http://www.gossamer-threads.com/lists/linuxha/users/47607
>  I'm trying to implement it now. It's working.

cool!

>
>  To start with, I look into the "crm_mon" code.
>  When crm_mon get executed with html mode,
>  cl_perror function will be always called and complain about opening a file.
>  See attached patch.
>  It is made for Pacemaker-0.6 (fd8904c9bc67).

"oops"
applied. thanks!

>
>  And if crm_mon actually fails to open a file,
>  We can see some error messages, but the exit code of crm_mon itself will
>  be "0" as no error.
>  It's kind of odd.

hmm, true.  i'll have to look at that


More information about the Linux-HA mailing list