[Linux-HA] compiling CVS

Andrew Beekhof abeekhof at suse.de
Thu Jun 8 08:00:56 MDT 2006


any chance you could include the result of "cibadmin -Ql" (it  
contains the status information too) and the logs from both nodes?

On Jun 8, 2006, at 3:51 PM, Tony Aldo wrote:

> Umm I dont think I have it:
> now running the cvs as of an hour ago
>
> 1)
> pingd is finally running now but the system is behaving just as it  
> was with
> ipfail
> I should explain this again
>
> Node1: eth0 (crossover) eth1 to switch
> Node 2:eth0 (crossover) eth1 to switch
>
> if resource on node1 fails, it restarts, very nice.
> if i unplug eth1 cable on node1, it should fail over but it does  
> not. each
> machine think eth1 on the other is dead
>
> I have attached the configs I am using.
> cib.xml was generated using the python script from haresources.temp
> I never modified cib.xml because i used the first option to get pingd
> working which is by adding the respawn in ha.cf (chose the easy way  
> out)
>
> 2) new problem, I cant use haclient anymore, keeps giving me  
> on_listen pam
> auth failed
> i tried mgmtd -t even but same.. i checked the groups/users. looks  
> fine
> any idea?
>
> Do you need any specific logs?
>
> Thank you so much!
> Tony
>
>
> On 6/8/06, Andrew Beekhof <abeekhof at suse.de> wrote:
>>
>>
>> On Jun 8, 2006, at 2:26 PM, Tony Aldo wrote:
>>
>> > Ya I was missing ncurses-devel will try now.
>> > On a different thread, you can ignore my questions about R1  
>> monitoring
>> > resource, I have to use external monitors so I will just stick to
>> > R2 and
>> > FIGURE IT OUT! heh
>>
>> just a hint, you already have....
>>
>> >      <op id="pingd-child-monitor" name="monitor" interval="20s"
>> > timeout="40s" prereq="nothing"/>
>>
>> :-)
>>
>>
>> >
>> > Do I need pingd in haresource? I am assuming the python script will
>> > convert
>> > haresource but will not include any pingd sections? in that case do
>> > I just
>> > need to add something similar to this to cib.xml
>>
>> that looks about right.
>>
>> >
>> > <clone id="pingd">
>> >  <instance_attributes id="pingd">
>> >    <attributes>
>> >      <nvpair id="pingd-clone_max"      name="clone_max"  
>> value="10"/>
>> >      <nvpair id="pingd-clone_node_max" name="clone_node_max"
>> > value="1"/>
>> >      <nvpair id="pingd-dampen"     name="dampen" value="5s"/>
>> >      <nvpair id="pingd-multiplier" name="multiplier" value="100"/>
>> >    </attributes>
>> >  </instance_attributes>
>> >  <primitive id="pingd-child" provider="heartbeat" class="OCF"
>> > type="pingd">
>> >    <operations>
>> >      <op id="pingd-child-monitor" name="monitor" interval="20s"
>> > timeout="40s" prereq="nothing"/>
>> >      <op id="pingd-child-start" name="start" prereq="nothing"/>
>> >    </operations>
>> >  </primitive>
>> > </clone>
>> >
>> >
>> >
>> > On 6/8/06, Andrew Beekhof <abeekhof at suse.de> wrote:
>> >>
>> >> Thats (n)curses code...  do you perhaps have the (n)curses package
>> >> installed but not (n)curses-devel ?
>> >> (I'm just guessing... what distro/OS are you running?)
>> >>
>> >> On Jun 8, 2006, at 1:58 PM, Tony Aldo wrote:
>> >>
>> >> > Hi, I'v been trying to compile the cvs tarball for some time now
>> >> > but no
>> >> > luck, keep running into:
>> >> >
>> >> > what am I missing? I have heartbeat 2.0.5 installed using yum
>> >> but I am
>> >> > trying to overwrite with cvs version.
>> >> >
>> >> > Thanks
>> >> > Tony
>> >> >
>> >> > -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-
>> >> attribute
>> >> > -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long
>> >> > -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -g -O2 -Wall
>> >> > -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
>> >> > -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-
>> >> > function-cast
>> >> > -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security
>> >> > -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing - 
>> Werror -
>> >> ggdb3
>> >> > -funsigned-char -o .libs/crm_diff crm_diff-xml_diff.o
>> >> > ../../lib/clplumbing/.libs/libplumb.so
>> >> > /root/linux-ha/lib/pils/.libs/libpils.so ../../lib/pils/.libs/
>> >> > libpils.so
>> >> > ../../lib/crm/common/.libs/libcrmcommon.so ../../lib/crm/ 
>> cib/.libs/
>> >> > libcib.so
>> >> > ../../lib/apphb/.libs/libapphb.so ../../lib/hbclient/.libs/
>> >> > libhbclient.so -
>> >> > lglib-2.0 -lz -lc -lrt -ldl -Wl,--rpath -Wl,/usr/local/lib
>> >> > creating crm_diff
>> >> > if gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include
>> >> > -I../../include -I../../include -I../../libltdl -I../../libltdl
>> >> > -I../../linux-ha -I../../linux-ha -I../.. -I../..  -D_BSD_SOURCE
>> >> > -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
>> >> > -I/usr/include/glib-2.0-I/usr/lib/glib-
>> >> > 2.0/include    -DHA_VARLIBDIR='"/usr/local/var/lib"' -g -O2  - 
>> Wall
>> >> > -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
>> >> > -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-
>> >> > function-cast
>> >> > -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security
>> >> > -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing - 
>> Werror  -
>> >> > ggdb3
>> >> > -funsigned-char -MT crm_mon-crm_mon.o -MD -MP -MF
>> >> > ".deps/crm_mon-crm_mon.Tpo" -c -o crm_mon-crm_mon.o `test -f
>> >> > 'crm_mon.c' ||
>> >> > echo './'`crm_mon.c; \
>> >> > then mv -f ".deps/crm_mon-crm_mon.Tpo" ".deps/crm_mon- 
>> crm_mon.Po";
>> >> > else rm
>> >> > -f ".deps/crm_mon-crm_mon.Tpo"; exit 1; fi
>> >> > cc1: warnings being treated as errors
>> >> > crm_mon.c: In function 'main':
>> >> > crm_mon.c:212: warning: implicit declaration of function  
>> 'initscr'
>> >> > crm_mon.c:213: warning: implicit declaration of function  
>> 'cbreak'
>> >> > crm_mon.c:214: warning: implicit declaration of function  
>> 'noecho'
>> >> > crm_mon.c:232: warning: implicit declaration of function 'echo'
>> >> > crm_mon.c:233: warning: implicit declaration of function  
>> 'nocbreak'
>> >> > crm_mon.c:234: warning: implicit declaration of function  
>> 'endwin'
>> >> > crm_mon.c: In function 'print_status':
>> >> > crm_mon.c:465: warning: implicit declaration of function  
>> 'refresh'
>> >> > gmake[2]: *** [crm_mon-crm_mon.o] Error 1
>> >> > gmake[2]: Leaving directory `/root/linux-ha/crm/admin'
>> >> > gmake[1]: *** [all-recursive] Error 1
>> >> > gmake[1]: Leaving directory `/root/linux-ha/crm'
>> >> > gmake: *** [all-recursive] Error 1
>> >> > [root at node1 linux-ha]#
>> >> > _______________________________________________
>> >> > Linux-HA mailing list
>> >> > Linux-HA at lists.linux-ha.org
>> >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> >> > See also: http://linux-ha.org/ReportingProblems
>> >>
>> >> --
>> >> Andrew Beekhof
>> >>
>> >> "Would the last person to leave please turn out the  
>> enlightenment?" -
>> >> TISM
>> >>
>> >> _______________________________________________
>> >> Linux-HA mailing list
>> >> Linux-HA at lists.linux-ha.org
>> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> >> See also: http://linux-ha.org/ReportingProblems
>> >>
>> > _______________________________________________
>> > Linux-HA mailing list
>> > Linux-HA at lists.linux-ha.org
>> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> > See also: http://linux-ha.org/ReportingProblems
>>
>> --
>> Andrew Beekhof
>>
>> "Would the last person to leave please turn out the enlightenment?" -
>> TISM
>>
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA at lists.linux-ha.org
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
>> <cib.xml>
>> <ha.cf>
>> <haresources.temp>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

--
Andrew Beekhof

"Would the last person to leave please turn out the enlightenment?" -  
TISM



More information about the Linux-HA mailing list