[Linux-HA] printw warning
tanghy at ict.ac.cn
tanghy at ict.ac.cn
Wed Aug 3 19:41:04 MDT 2005
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] ...);
The problem of node2 is that after I run "./crmadmin -N" for the
first time(it returns all nodes correctly), the following
crmadmin commands won't work any more. I read the log, it
seems the error is "ipc_bufpool_update: magic number in head
does not match". As I remember, I also met this error once when
I run v1.99.4. Following is the log(which is quite long :))
heartbeat[29855]: 2005/08/04_08:33:34 WARN: Logging daemon is disabled
--enabling logging daemon is recommended
heartbeat[29855]: 2005/08/04_08:33:34 info: **************************
heartbeat[29855]: 2005/08/04_08:33:34 info: Configuration validated.
Starting heartbeat 2.0.0
heartbeat[29856]: 2005/08/04_08:33:34 info: heartbeat: version 2.0.0
heartbeat[29856]: 2005/08/04_08:33:35 info: Heartbeat generation: 3
heartbeat[29856]: 2005/08/04_08:33:35 info: Removing
/var/lib/heartbeat/rsctmp failed, recreating.
heartbeat[29856]: 2005/08/04_08:33:35 info: glib: UDP multicast heartbeat
started for group 225.0.0.1 port 694 interface eth1 (ttl=1 loop=0)
heartbeat[29856]: 2005/08/04_08:33:35 info: G_main_add_SignalHandler:
Added signal handler for signal 17
heartbeat[29859]: 2005/08/04_08:33:35 info: pid 29859 locked in memory.
heartbeat[29860]: 2005/08/04_08:33:36 info: pid 29860 locked in memory.
heartbeat[29861]: 2005/08/04_08:33:36 info: pid 29861 locked in memory.
heartbeat[29856]: 2005/08/04_08:33:36 info: pid 29856 locked in memory.
heartbeat[29856]: 2005/08/04_08:33:36 info: Local status now set to: 'up'
heartbeat[29856]: 2005/08/04_08:33:36 WARN: Performed 3 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:36 info: Total non-realtime malloc
bytes: 28672
heartbeat[29856]: 2005/08/04_08:33:37 info: Link node1.localdomain:eth1 up.
heartbeat[29856]: 2005/08/04_08:33:37 info: Status update for node
node1.localdomain: status active
heartbeat[29856]: 2005/08/04_08:33:38 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:38 info: Total non-realtime malloc
bytes: 32768
heartbeat[29856]: 2005/08/04_08:33:41 info: Link node3.localdomain:eth1 up.
heartbeat[29856]: 2005/08/04_08:33:41 info: Local status now set to: 'active'
heartbeat[29856]: 2005/08/04_08:33:41 info: Starting child client
"/usr/lib/heartbeat/ccm" (501,501)
heartbeat[29856]: 2005/08/04_08:33:41 info: Starting child client
"/usr/lib/heartbeat/cib" (501,501)
heartbeat[29856]: 2005/08/04_08:33:41 info: Starting child client
"/usr/lib/heartbeat/stonithd" (0,0)
heartbeat[29863]: 2005/08/04_08:33:41 info: Starting
"/usr/lib/heartbeat/cib" as uid 501 gid 501 (pid 29863)
heartbeat[29856]: 2005/08/04_08:33:41 info: Starting child client
"/usr/lib/heartbeat/lrmd" (0,0)
heartbeat[29856]: 2005/08/04_08:33:41 info: Starting child client
"/usr/lib/heartbeat/crmd" (501,501)
heartbeat[29856]: 2005/08/04_08:33:41 WARN: Performed 5 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:41 info: Total non-realtime malloc
bytes: 57344
heartbeat[29865]: 2005/08/04_08:33:41 info: Starting
"/usr/lib/heartbeat/lrmd" as uid 0 gid 0 (pid 29865)
heartbeat[29856]: 2005/08/04_08:33:41 info: Status update for node
node3.localdomain: status up
heartbeat[29856]: 2005/08/04_08:33:41 info: Status update for node
node3.localdomain: status active
heartbeat[29866]: 2005/08/04_08:33:42 info: Starting
"/usr/lib/heartbeat/crmd" as uid 501 gid 501 (pid 29866)
heartbeat[29862]: 2005/08/04_08:33:42 info: Starting
"/usr/lib/heartbeat/ccm" as uid 501 gid 501 (pid 29862)
heartbeat[29856]: 2005/08/04_08:33:42 WARN: 1 lost packet(s) for
[node3.localdomain] [7:9]
heartbeat[29856]: 2005/08/04_08:33:42 info: No pkts missing from
node3.localdomain!
cib[29863]: 2005/08/04_08:33:42 info: G_main_add_SignalHandler: Added
signal handler for signal 15
cib[29863]: 2005/08/04_08:33:42 info: mask(main.c:cib_register_ha):
Signing in with Heartbeat
heartbeat[29864]: 2005/08/04_08:33:42 info: Starting
"/usr/lib/heartbeat/stonithd" as uid 0 gid 0 (pid 29864)
stonithd[29864]: 2005/08/04_08:33:42 info: G_main_add_SignalHandler: Added
signal handler for signal 10
stonithd[29864]: 2005/08/04_08:33:42 info: G_main_add_SignalHandler: Added
signal handler for signal 12
heartbeat[29856]: 2005/08/04_08:33:42 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:42 info: Total non-realtime malloc
bytes: 61440
stonithd[29864]: 2005/08/04_08:33:42 info: pid 29864 locked in memory.
crmd[29866]: 2005/08/04_08:33:43 info: mask(main.c:init_start): Starting crmd
lrmd[29865]: 2005/08/04_08:33:43 info: G_main_add_SignalHandler: Added
signal handler for signal 15
lrmd[29865]: 2005/08/04_08:33:43 info: G_main_add_SignalHandler: Added
signal handler for signal 17
lrmd[29865]: 2005/08/04_08:33:43 info: G_main_add_SignalHandler: Added
signal handler for signal 10
lrmd[29865]: 2005/08/04_08:33:43 info: G_main_add_SignalHandler: Added
signal handler for signal 12
lrmd[29865]: 2005/08/04_08:33:43 info: Started.
heartbeat[29856]: 2005/08/04_08:33:43 WARN: Performed 1 more non-realtime
malloc calls.
stonithd[29864]: 2005/08/04_08:33:43 info: Signing in with heartbeat.
heartbeat[29856]: 2005/08/04_08:33:43 info: Total non-realtime malloc
bytes: 65536
stonithd[29864]: 2005/08/04_08:33:43 notice: /usr/lib/heartbeat/stonithd
start up successfully.
stonithd[29864]: 2005/08/04_08:33:43 info: G_main_add_SignalHandler: Added
signal handler for signal 17
crmd[29866]: 2005/08/04_08:33:43 info: mask(control.c:register_with_ha):
FSA Hostname: node2.localdomain
heartbeat[29856]: 2005/08/04_08:33:43 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:43 info: Total non-realtime malloc
bytes: 73728
crmd[29866]: 2005/08/04_08:33:43 info: mask(control.c:do_startup):
Register Signal Handler
crmd[29866]: 2005/08/04_08:33:43 info: G_main_add_SignalHandler: Added
signal handler for signal 15
crmd[29866]: 2005/08/04_08:33:43 info: G_main_add_TriggerHandler: Added
signal manual handler
crmd[29866]: 2005/08/04_08:33:43 info: mask(control.c:do_startup): Init
server comms
crmd[29866]: 2005/08/04_08:33:44 info: mask(control.c:do_startup):
Creating CIB object
crmd[29866]: 2005/08/04_08:33:44 info: G_main_add_SignalHandler: Added
signal handler for signal 17
crmd[29866]: 2005/08/04_08:33:44 WARN:
mask(cib_native.c:cib_native_signon): Connection to CIB failed: connection
failed
crmd[29866]: 2005/08/04_08:33:44 info:
mask(cib_native.c:cib_native_signoff): Signing out of the CIB Service
crmd[29866]: 2005/08/04_08:33:44 WARN: mask(cib.c:do_cib_control):
Couldn't complete CIB registration 1 times... pause and retry
crmd[29866]: 2005/08/04_08:33:44 info: mask(main.c:init_start): Starting
crmd's mainloop
crmd[29866]: 2005/08/04_08:33:44 WARN:
mask(cib_native.c:cib_native_signon): Connection to CIB failed: connection
failed
crmd[29866]: 2005/08/04_08:33:44 info:
mask(cib_native.c:cib_native_signoff): Signing out of the CIB Service
crmd[29866]: 2005/08/04_08:33:44 WARN: mask(cib.c:do_cib_control):
Couldn't complete CIB registration 2 times... pause and retry
heartbeat[29856]: 2005/08/04_08:33:44 WARN: Performed 2 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:44 info: Total non-realtime malloc
bytes: 90112
crmd[29866]: 2005/08/04_08:33:44 info: mask(utils.c:crm_timer_popped):
Timer I_NULL just popped!
cib[29863]: 2005/08/04_08:33:44 info: mask(main.c:cib_register_ha): FSA
Hostname: node2.localdomain
crmd[29866]: 2005/08/04_08:33:44 WARN:
mask(cib_native.c:cib_native_signon): Connection to CIB failed: connection
failed
heartbeat[29856]: 2005/08/04_08:33:44 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:44 info: Total non-realtime malloc
bytes: 94208
heartbeat[29856]: 2005/08/04_08:33:44 WARN: 1 lost packet(s) for
[node3.localdomain] [15:17]
heartbeat[29856]: 2005/08/04_08:33:44 info: No pkts missing from
node3.localdomain!
crmd[29866]: 2005/08/04_08:33:44 info:
mask(cib_native.c:cib_native_signoff): Signing out of the CIB Service
crmd[29866]: 2005/08/04_08:33:44 WARN: mask(cib.c:do_cib_control):
Couldn't complete CIB registration 3 times... pause and retry
cib[29863]: 2005/08/04_08:33:45 ERROR: mask(primatives.c:do_id_check):
Object with attributes but no ID field detected. Assigned:
016e67e6-7c32-41d9-a184-a3b70b4a1d4a
cib[29863]: 2005/08/04_08:33:45 WARN: mask(do_id_check): Updated object
<nvpair name="ip" value="192.168.0.11"
id="016e67e6-7c32-41d9-a184-a3b70b4a1d4a"/>
cib[29863]: 2005/08/04_08:33:45 ERROR: mask(primatives.c:do_id_check):
Object with attributes but no ID field detected. Assigned:
6286e78b-15d6-4d6c-8d20-7030824ccb4a
cib[29863]: 2005/08/04_08:33:45 WARN: mask(do_id_check): Updated object
<nvpair name="ip" value="192.168.0.12"
id="6286e78b-15d6-4d6c-8d20-7030824ccb4a"/>
heartbeat[29856]: 2005/08/04_08:33:45 WARN: Performed 1 more non-realtime
malloc calls.
cib[29863]: 2005/08/04_08:33:45 ERROR: mask(primatives.c:do_id_check):
Object with attributes but no ID field detected. Assigned:
11f2f55e-650f-4fd5-bd7d-0b779c111c99
heartbeat[29856]: 2005/08/04_08:33:45 info: Total non-realtime malloc
bytes: 98304
cib[29863]: 2005/08/04_08:33:45 WARN: mask(do_id_check): Updated object
<nvpair name="ip" value="192.168.0.13"
id="11f2f55e-650f-4fd5-bd7d-0b779c111c99"/>
cib[29863]: 2005/08/04_08:33:45 ERROR: mask(primatives.c:do_id_check):
Object with attributes but no ID field detected. Assigned:
7c1ecd87-8247-4b55-8d5d-a2540c29fe18
cib[29863]: 2005/08/04_08:33:45 WARN: mask(do_id_check): Updated object
<expression attribute="#uname" operation="eq" value="node1.localdomain"
id="7c1ecd87-8247-4b55-8d5d-a2540c29fe18"/>
cib[29863]: 2005/08/04_08:33:45 ERROR: mask(primatives.c:do_id_check):
Object with attributes but no ID field detected. Assigned:
1db23266-7d2e-4074-b20d-83441db6e082
crmd[29866]: 2005/08/04_08:33:45 info: mask(utils.c:crm_timer_popped):
Timer I_NULL just popped!
cib[29863]: 2005/08/04_08:33:45 WARN: mask(do_id_check): Updated object
<expression attribute="#uname" operation="eq" value="node2.localdomain"
id="1db23266-7d2e-4074-b20d-83441db6e082"/>
crmd[29866]: 2005/08/04_08:33:45 WARN:
mask(cib_native.c:cib_native_signon): Connection to CIB failed: connection
failed
cib[29863]: 2005/08/04_08:33:45 ERROR: mask(primatives.c:do_id_check):
Object with attributes but no ID field detected. Assigned:
c0838e65-85df-4a55-a71b-213cf55becf6
crmd[29866]: 2005/08/04_08:33:45 info:
mask(cib_native.c:cib_native_signoff): Signing out of the CIB Service
cib[29863]: 2005/08/04_08:33:45 WARN: mask(do_id_check): Updated object
<expression attribute="#uname" operation="eq" value="node3.localdomain"
id="c0838e65-85df-4a55-a71b-213cf55becf6"/>
crmd[29866]: 2005/08/04_08:33:45 WARN: mask(cib.c:do_cib_control):
Couldn't complete CIB registration 4 times... pause and retry
cib[29863]: 2005/08/04_08:33:45 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:33:45 info: mask(main.c:startCib): CIB
Initialization completed successfully
cib[29863]: 2005/08/04_08:33:45 info: mask(main.c:init_start): Starting
cib mainloop
crmd[29866]: 2005/08/04_08:33:46 info: mask(utils.c:crm_timer_popped):
Timer I_NULL just popped!
cib[29863]: 2005/08/04_08:33:46 info: mem_handle_event: Got an event
OC_EV_MS_NEW_MEMBERSHIP from ccm
cib[29863]: 2005/08/04_08:33:46 info: mem_handle_event: instance=3,
nodes=3, new=3, lost=0, n_idx=0, new_idx=0, old_idx=6
cib[29863]: 2005/08/04_08:33:46 info:
mask(callbacks.c:cib_ccm_msg_callback): Process CCM event=NEW MEMBERSHIP
(id=3)
cib[29863]: 2005/08/04_08:33:46 info:
mask(callbacks.c:cib_ccm_msg_callback): Quorum (re)attained after
event=NEW MEMBERSHIP (id=3)
crmd[29866]: 2005/08/04_08:33:46 info:
mask(cib_native.c:cib_native_signon): Connection to CIB successful
crmd[29866]: 2005/08/04_08:33:47 info: mask(ccm.c:do_ccm_control): CCM
Activation passed... all set to go!
crmd[29866]: 2005/08/04_08:33:47 info: mask(control.c:do_started):
Delaying start, CCM (0000000000100000) not connected
crmd[29866]: 2005/08/04_08:33:47 info: mem_handle_event: Got an event
OC_EV_MS_NEW_MEMBERSHIP from ccm
crmd[29866]: 2005/08/04_08:33:47 info: mem_handle_event: instance=3,
nodes=3, new=3, lost=0, n_idx=0, new_idx=0, old_idx=6
crmd[29866]: 2005/08/04_08:33:47 info:
mask(callbacks.c:crmd_ccm_msg_callback): Quorum (re)attained after
event=NEW MEMBERSHIP (id=3)
crmd[29866]: 2005/08/04_08:33:47 info: mask(ccm.c:ccm_event_detail): NEW
MEMBERSHIP: trans=3, nodes=3, new=3, lost=0 n_idx=0, new_idx=0, old_idx=6
crmd[29866]: 2005/08/04_08:33:47 info: mask(ccm.c:ccm_event_detail):
NEW: node1.localdomain [nodeid=0, born=1]
crmd[29866]: 2005/08/04_08:33:47 info: mask(ccm.c:ccm_event_detail):
NEW: node3.localdomain [nodeid=2, born=2]
crmd[29866]: 2005/08/04_08:33:47 info: mask(ccm.c:ccm_event_detail):
NEW: node2.localdomain [nodeid=1, born=3]
crmd[29866]: 2005/08/04_08:33:47 info: mask(control.c:do_started): The
local CRM is operational
crmd[29866]: 2005/08/04_08:33:47 info: mask(fsa.c:do_state_transition):
State transition S_STARTING -> S_PENDING [ input=I_PENDING
cause=C_CCM_CALLBACK origin=do_started ]
heartbeat[29856]: 2005/08/04_08:33:56 WARN: 1 lost packet(s) for
[node1.localdomain] [66:68]
heartbeat[29856]: 2005/08/04_08:33:56 info: No pkts missing from
node1.localdomain!
heartbeat[29856]: 2005/08/04_08:33:56 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:56 info: Total non-realtime malloc
bytes: 102400
crmd[29866]: 2005/08/04_08:33:56 info:
mask(join_client.c:do_cl_join_request): Set DC to node1.localdomain
heartbeat[29861]: 2005/08/04_08:33:56 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29861]: 2005/08/04_08:33:56 info: Total non-realtime malloc
bytes: 12288
cib[29863]: 2005/08/04_08:33:57 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
crmd[29866]: 2005/08/04_08:33:57 info: mask(fsa.c:do_state_transition):
State transition S_PENDING -> S_NOT_DC [ input=I_NOT_DC cause=C_HA_MESSAGE
origin=do_cl_join_result ]
heartbeat[29856]: 2005/08/04_08:33:57 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:33:57 info: Total non-realtime malloc
bytes: 114688
cib[29863]: 2005/08/04_08:33:58 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:33:58 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:33:59 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:33:59 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:33:59 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:33:59 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:34:00 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:34:00 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:34:00 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:34:01 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:34:01 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
crmd[29866]: 2005/08/04_08:34:01 WARN: lrm_get_rsc(653): got a return code
HA_FAIL from a reply message of getrsc with function get_ret_from_msg.
crmd[29866]: 2005/08/04_08:34:01 WARN: lrm_get_rsc(653): got a return code
HA_FAIL from a reply message of getrsc with function get_ret_from_msg.
crmd[29866]: 2005/08/04_08:34:01 info: mask(lrm.c:do_lrm_rsc_op):
Performing op start on ip2
IPaddr[29869]: 2005/08/04_08:34:04 INFO: /sbin/ifconfig eth1:0
192.168.0.12 netmask 255.255.255.0 broadcast 192.168.0.255
cib[29863]: 2005/08/04_08:34:04 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
cib[29863]: 2005/08/04_08:34:04 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
IPaddr[29869]: 2005/08/04_08:34:04 INFO: Sending Gratuitous Arp for
192.168.0.12 on eth1:0 [eth1]
IPaddr[29869]: 2005/08/04_08:34:05 INFO: /usr/lib/heartbeat/send_arp -i
500 -r 10 -p /var/lib/heartbeat/rsctmp/send_arp/send_arp-192.168.0.12 eth1
192.168.0.12 auto 192.168.0.12 ffffffffffff
heartbeat[29856]: 2005/08/04_08:34:05 WARN: Performed 1 more non-realtime
malloc calls.
heartbeat[29856]: 2005/08/04_08:34:05 info: Total non-realtime malloc
bytes: 126976
cib[29863]: 2005/08/04_08:34:06 WARN: mask(io.c:initializeCib): Option
suppress_cib_writes not set
stonithd[29864]: 2005/08/04_08:34:42 WARN: Performed 4 more non-realtime
malloc calls.
stonithd[29864]: 2005/08/04_08:34:42 info: Total non-realtime malloc
bytes: 24576
cib[29863]: 2005/08/04_08:35:15 info:
mask(callbacks.c:cib_process_disconnect): Cleaning up after cib_rw channel
disconnect from client (0x805bea0)
c409476a-f63c-47b3-b8e6-cfca55a7186/<null>
heartbeat[29856]: 2005/08/04_08:35:15 ERROR: ipc_bufpool_update: magic
number in head does not match.Something very bad happened, abort now,
farside pid =29863
heartbeat[29856]: 2005/08/04_08:35:15 ERROR: magic=7365636f, expected
value=abcd
heartbeat[29856]: 2005/08/04_08:35:15 info: pool: refcount=1,
startpos=0x8158878, currpos=0x8158eb5,consumepos=0x8158e34,
endpos=0x8159860, size=4096
heartbeat[29856]: 2005/08/04_08:35:15 info: nmsgs=0
cib[29863]: 2005/08/04_08:35:15 info:
mask(callbacks.c:cib_process_disconnect): Cleaning up after cib_callback
channel disconnect from client (0x8072c00)
7bef43bd-5a7f-4ffc-a5c2-fc586cba33c/crmadmin
cib[29863]: 2005/08/04_08:35:15 CRIT: mask(callbacks.c:cib_ha_dispatch):
Lost connection to heartbeat service... exiting
crmd[29866]: 2005/08/04_08:35:15 CRIT:
mask(callbacks.c:crmd_ha_msg_dispatch): Lost connection to heartbeat
service.
crmd[29866]: 2005/08/04_08:35:15 CRIT:
mask(callbacks.c:crmd_ha_connection_destroy): Heartbeat has left us
crmd[29866]: 2005/08/04_08:35:15 WARN:
mask(cib_native.c:cib_native_rcvmsg): Received a NULL msg from CIB
service.
crmd[29866]: 2005/08/04_08:35:15 CRIT:
mask(cib_native.c:cib_native_dispatch): Lost connection to the CIB
service.
crmd[29866]: 2005/08/04_08:35:16 ERROR:
mask(callbacks.c:crmd_cib_connection_destroy): Connection to the CIB
terminated...
heartbeat[29859]: 2005/08/04_08:35:16 CRIT: Emergency Shutdown: Master
Control process died.
crmd[29866]: 2005/08/04_08:35:16 ERROR: mask(misc.c:do_log): [[FSA]] Input
I_ERROR from crmd_ha_connection_destroy() received in state (S_NOT_DC)
heartbeat[29859]: 2005/08/04_08:35:16 CRIT: Killing pid 29856 with SIGTERM
crmd[29866]: 2005/08/04_08:35:16 info: mask(fsa.c:do_state_transition):
State transition S_NOT_DC -> S_RECOVERY [ input=I_ERROR
cause=C_HA_DISCONNECT origin=crmd_ha_connection_destroy ]
heartbeat[29859]: 2005/08/04_08:35:16 CRIT: Killing pid 29860 with SIGTERM
heartbeat[29859]: 2005/08/04_08:35:16 CRIT: Killing pid 29861 with SIGTERM
heartbeat[29859]: 2005/08/04_08:35:16 CRIT: Emergency Shutdown(MCP dead):
Killing ourselves.
>
> On Aug 3, 2005, at 9:49 AM, tanghy at ict.ac.cn wrote:
>
>> Hi,
>>
>> I am installing v2.0.0 on RedHat 8.0.
>> I use the following commands:
>> ./ConfigureMe configure
>> ./make
>> Then there are warnings of printw:
>>
>> cc1: warnings being treated as errors
>> native.c: In function 'native_printw':
>> native.c:813: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:816: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:820: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:822: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:826: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:830: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:830: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:831: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> native.c:833: warning: passing arg 1 of 'printw' discards
>> qualifiers from
>> pointer target type
>> gmake[2]: *** [native.lo] Error 1
>> gmake[2]: Leaving directory '/root/heartbeat-2.0.0/crm/pengine
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory '/root/heartbeat-2.0.0/crm'
>> gmake: *** [all-recursive] Error 1
>
> can you please supply the function prototype for printw (part of
> ncurses or curses) on your system?
>
>>
>> Such warnings also happened to other files with 'printw'.
>> Are these warnings serious?
>
> no, but i'd worry about anything that uses a non-constant format
> string for printf-like functions
>
>>
>> Anyway, I changed the configure file, deleted the "-Werror", then
>> install
>> the HA software.
>> But I have the problem to run it successfully. I put "crm yes" in
>> ha.cf
>> (haresource is not used any more?),
>
> correct
>
>> run "/etc/init.d/heartbeat start"
>> on 3 nodes. 2 nodes works normally, 1 node returns nothing when I
>> run the
>> command "./crmadmin -N/-R/-D", other nodes can not get its status
>> either.
>> I don't know why.
>
> can you supply some logs?
>
>> Also I add some resource as IPaddr in cib.xml as the sample file.
>> But it
>> does not run on any node. In fact, I am not sure when and how to add
>> resources. Is there any document on this?
>
> http://www.linux-ha.org/GettingStartedV2
>
>>
>> v2.0.0 is really powerful, but not so easy to configure and use as
>> previous
>> version. Maybe it is because I didn't find the right way. Thx for
>> help! :)
>
> unfortunately with flexibility and power comes configuration
> complexity... eventually we will have a GUI to hide a lot of the
> details but for now all we have is the CLI-tools (patches are being
> accepted :).
>
>>
>>
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA at lists.linux-ha.org
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>
>
> --
> Andrew Beekhof
>
> "Ooo Ahhh, Glenn McRath" - TISM
>
> _______________________________________________
> 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