[DRBD-user] Re: [Linux-HA] cl_status ERROR / nagios

Rois Cannon rois at cobiz.com
Thu Dec 20 23:12:32 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


OH MY GOODNESS THIS IS SCARY LOOKING!  Of coarse I have no idea what
strace does but here's what I got.  I hope someone knows what this means
and can tell me what my problem is.

[root at svr91 contrib]# strace cl_status hbstatus
execve("/usr/bin/cl_status", ["cl_status", "hbstatus"], [/* 47 vars */])
= 0
brk(0)                                  = 0x804c000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=18861, ...}) = 0
mmap2(NULL, 18861, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fda000
close(3)                                = 0
open("/usr/lib/libhbclient.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\22"...,
512) = 512
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fd9000
fstat64(3, {st_mode=S_IFREG|0755, st_size=44120, ...}) = 0
mmap2(NULL, 43780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7fce000
mmap2(0xb7fd7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x9) = 0xb7fd7000
close(3)                                = 0
open("/usr/lib/libplumb.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pm\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=178788, ...}) = 0
mmap2(NULL, 183616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7fa1000
mmap2(0xb7fcc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x2a) = 0xb7fcc000
close(3)                                = 0
open("/usr/lib/libpils.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\34\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=55492, ...}) = 0
mmap2(NULL, 54528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7f93000
mmap2(0xb7fa0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0xd) = 0xb7fa0000
close(3)                                = 0
open("/usr/lib/libglib-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \345\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=826124, ...}) = 0
mmap2(NULL, 825760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ec9000
mmap2(0xb7f92000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0xc9) = 0xb7f92000
close(3)                                = 0
open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\256\1"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1261084, ...}) = 0
mmap2(NULL, 1263636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7d94000
mmap2(0xb7ec3000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x12f) = 0xb7ec3000
mmap2(0xb7ec8000, 2068, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0xb7ec8000
close(3)                                = 0
open("/lib/libz.so.1", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\25"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=74988, ...}) = 0
mmap2(NULL, 77808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7d81000
mmap2(0xb7d93000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x11) = 0xb7d93000
close(3)                                = 0
open("/lib/i686/libm.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\00004\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=149336, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7d80000
mmap2(NULL, 147584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7d5b000
mmap2(0xb7d7e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x23) = 0xb7d7e000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360`\1"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1298800, ...}) = 0
mmap2(NULL, 1308112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7c1b000
mmap2(0xb7d55000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x139) = 0xb7d55000
mmap2(0xb7d58000, 9680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0xb7d58000
close(3)                                = 0
open("/lib/libuuid.so.1", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\n\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9844, ...}) = 0
mmap2(NULL, 8596, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7c18000
mmap2(0xb7c1a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x2) = 0xb7c1a000
close(3)                                = 0
open("/lib/i686/librt.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\30"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=30632, ...}) = 0
mmap2(NULL, 33356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7c0f000
mmap2(0xb7c16000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x6) = 0xb7c16000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9692, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7c0b000
mmap2(0xb7c0d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x1) = 0xb7c0d000
close(3)                                = 0
open("/lib/i686/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340G\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=107818, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7c0a000
mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7bf3000
mmap2(0xb7c06000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x12) = 0xb7c06000
mmap2(0xb7c08000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0xb7c08000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7bf2000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7bf26c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7d55000, 4096, PROT_READ)   = 0
mprotect(0xb7ff8000, 4096, PROT_READ)   = 0
munmap(0xb7fda000, 18861)               = 0
set_tid_address(0xb7bf2708)             = 18790
set_robust_list(0xb7bf2710, 0xc)        = 0
rt_sigaction(SIGRTMIN, {0xb7bf72c0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7bf7340, [], SA_RESTART|SA_SIGINFO}, NULL, 8)
= 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) =
0
uname({sys="Linux", node="svr91", ...}) = 0
brk(0)                                  = 0x804c000
brk(0x806d000)                          = 0x806d000
alarm(5)                                = 0
rt_sigaction(SIGALRM, {0x8049b00, [ALRM], SA_RESTART}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="svr91", ...}) = 0
geteuid32()                             = 0
getegid32()                             = 0
gettimeofday({1198188488, 755304}, NULL) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/heartbeat/register"}, 110)
= 0
getsockopt(3, SOL_SOCKET, SO_PEERCRED, "#G\0\0\0\0\0\0\0\0\0\0", [12]) =
0
recv(3, 0x804e508, 4072, MSG_DONTWAIT)  = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=0}], 1, 0)          = 0
recv(3, 0x804e508, 4072, MSG_DONTWAIT)  = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=0}], 1, 0)          = 0
send(3, "S\0\0\0\315\253\0\0>>>\nt=hbapi-req\nreqtype="..., 91,
MSG_DONTWAIT|MSG_NOSIGNAL) = 91
recv(3, "f\0\0\0\315\253\0\0>>>\nt=hbapi-resp\nreqtype"..., 4072,
MSG_DONTWAIT) = 110
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
recv(3, "", 3962, MSG_DONTWAIT)         = 0
poll([{fd=3, events=0, revents=POLLHUP}], 1, 0) = 1
fstat64(1, {st_mode=S_IFCHR|0620, st_size=makedev(0, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fde000
write(1, "Heartbeat is running on this mac"..., 38Heartbeat is running
on this machine.
) = 38
time(NULL)                              = 1198188488
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fdd000
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0"...,
4096) = 2294
close(4)                                = 0
munmap(0xb7fdd000, 4096)                = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
connect(4, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
send(4, "<11>Dec 20 14:08:08 cl_status: ["..., 79, MSG_NOSIGNAL) = 79
time(NULL)                              = 1198188488
write(2, "cl_status[18790]: 2007/12/20_14:"..., 77cl_status[18790]:
2007/12/20_14:08:08 ERROR: Cannot sign off from heartbeat.
) = 77
time(NULL)                              = 1198188488
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
send(4, "<11>Dec 20 14:08:08 cl_status: ["..., 115, MSG_NOSIGNAL) = 115
time(NULL)                              = 1198188488
write(2, "cl_status[18790]: 2007/12/20_14:"..., 113cl_status[18790]:
2007/12/20_14:08:08 ERROR: REASON: can't send message to IPC: Resource
temporarily unavailable
) = 113
exit_group(0)                           = ?
Process 18790 detached




More information about the drbd-user mailing list