[Linux-HA] printw warning
tanghy at ict.ac.cn
tanghy at ict.ac.cn
Thu Aug 4 20:40:57 MDT 2005
Tried haresources2cib.py, good enough for old resource config.
Much better than write cib.xml by hand. :)
> tanghy at ict.ac.cn wrote:
>> Thx, Andrew. I read the GettingStartedV2 on resources and
>> rewirte the cib.xml, now the nodes take the resources very well.
>>
>> The prototype of printw is:
>> #include <curses.h>
>> int printw(char *fmt [, arg] ...);
>
> This is incorrect.
>
> It should be:
> int printw(const char *fmt [, arg] ...);
>
> You have a broken definition of printw on your system. This is what is
> causing the warnings.
>
> We treat warnings very seriously - as you can tell ;-)
>
> I have no idea what's causing the data corruption you're seeing with the
> IPC messages. We don't see it on any other system - to my knowledge.
>
>>>>
>>>> And, we also have a tool to convert haresources into a CIB - which
>>>> should be handy for people converting over.
>>>>
>> which tool? :)
>
> haresources2cib.py
>
> I'm not sure where it's installed, but it's defined in the cts directory
> (which is an odd place for it to be).
>
> If I remember right, it doesn't create the XML to monitor resources, but
> that could probably be added pretty simply if desired...
>
> --
> Alan Robertson <alanr at unix.sh>
>
> "Openness is the foundation and preservative of friendship... Let me
> claim from you at all times your undisguised opinions." - William
> Wilberforce
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>
More information about the Linux-HA
mailing list