Hi Dejan, On Thu, 4 Jun 2009 14:51:42 +0200 Dejan Muhamedagic <[email protected]> wrote:
> Funny, I can't see any spot in the code where it wouldn't give a > more specific message. Can you trace strace and post results? I've attached the strace output from /etc/ha.d/resource.d/IPv6addr 2001:770:18:2:0:0:c101:db4a/128/eth0 start Thanks!, rg -- Rob Gallagher | Public Key: 0x1DD13A78 HEAnet Limited, Ireland's Education and Research Network 1st Floor, 5 George's Dock, IFSC, Dublin 1. Registered in Ireland, no 275301 T: (+353-1) 6609040 F: (+353-1) 6603666 WWW: http://www.heanet.ie/
execve("/etc/ha.d/resource.d/IPv6addr", ["/etc/ha.d/resource.d/IPv6addr",
"2001:770:18:2:0:0:c101:db4a/128/"..., "start"], [/* 15 vars */]) = 0
brk(0) = 0x8ca8000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb80da000
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=32224, ...}) = 0
mmap2(NULL, 32224, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb80d2000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/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\320h\1\0004\0\0\0T"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1331404, ...}) = 0
mmap2(NULL, 1336944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f8b000
mmap2(0xb80cc000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x141) = 0xb80cc000
mmap2(0xb80cf000, 9840, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb80cf000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f8a000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f8a6c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "1W\270\313"..., 4) = 4
close(3) = 0
mprotect(0xb80cc000, 8192, PROT_READ) = 0
mprotect(0x805d000, 4096, PROT_READ) = 0
mprotect(0xb80f9000, 4096, PROT_READ) = 0
munmap(0xb80d2000, 32224) = 0
getpid() = 13733
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 0
brk(0) = 0x8ca8000
brk(0x8cc9000) = 0x8cc9000
getppid() = 13732
stat64("/etc/heartbeat", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ha.d/resource.d/IPv6addr", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x8056770, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh\n#\n#\n# Description:\twrap"..., 8192) = 622
open("/etc/ha.d/resource.d//hto-mapfuncs", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "#!/bin/sh\n#\n# Author: Zhao Kai <z"..., 8192) = 2325
open("/etc/ha.d/shellfuncs", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl64(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# Author: Alan Robertson\n# "..., 8192) = 7841
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f8a708) = 13734
close(4) = 0
read(3, "IPv6addr\n"..., 128) = 9
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, ""..., 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13734
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 13 entries */, 4096) = 264
getdents(3, /* 0 entries */, 4096) = 0
close(3) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f8a708) = 13735
close(4) = 0
read(3, "/usr/lib/heartbeat:/usr/sbin:/usr"..., 128) = 111
read(3, ""..., 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13735
read(12, ""..., 8192) = 0
close(12) = 0
read(11, ""..., 8192) = 0
close(11) = 0
open("/usr/lib/ocf/resource.d//heartbeat/.ocf-shellfuncs", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "#\n#\n# \tCommon helper functions fo"..., 8192) = 5629
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f8a708) = 13738
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "IPv6addr\n"..., 128) = 9
read(3, ""..., 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13738
open("/etc/ha.d/shellfuncs", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl64(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# Author: Alan Robertson\n# "..., 8192) = 7841
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents(3, /* 13 entries */, 4096) = 264
getdents(3, /* 0 entries */, 4096) = 0
close(3) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f8a708) = 13739
close(4) = 0
read(3, "/usr/lib/heartbeat:/usr/sbin:/usr"..., 128) = 128
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "in:/usr/sbin:/usr/bin:/sbin:/bin\n"..., 128) = 33
read(3, ""..., 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13739
read(12, ""..., 8192) = 0
close(12) = 0
open("/usr/lib/ocf/resource.d/heartbeat/.ocf-binaries", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl64(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# Make sure PATH contains all the"..., 8192) = 1614
read(12, ""..., 8192) = 0
close(12) = 0
open("/usr/lib/ocf/resource.d/heartbeat/.ocf-returncodes", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl64(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "#\n# \tCommon varibales for the OCF"..., 8192) = 1869
read(12, ""..., 8192) = 0
close(12) = 0
open("/usr/lib/ocf/resource.d/heartbeat/.ocf-directories", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl64(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# Binaries and binary options for"..., 8192) = 665
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents(3, /* 13 entries */, 4096) = 264
getdents(3, /* 0 entries */, 4096) = 0
close(3) = 0
read(12, ""..., 8192) = 0
close(12) = 0
stat64("/usr/lib/ocf", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(11, ""..., 8192) = 0
close(11) = 0
stat64("/usr/lib/ocf/resource.d//heartbeat/IPv6addr", {st_mode=S_IFREG|0755,
st_size=13892, ...}) = 0
geteuid32() = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f8a708) = 13742
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13742
--- SIGCHLD (Child exited) @ 0 (0) ---
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f8a708) = 13743
close(4) = 0
read(3, "2009/06/04_15:17:20 \n"..., 128) = 21
read(3, ""..., 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13743
fcntl64(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
dup2(2, 1) = 1
write(1, "2009/06/04_15:17:20 ERROR: Gener"..., 42) = 42
dup2(11, 1) = 1
close(11) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f8a708) = 13745
close(4) = 0
read(3, "2009/06/04_15:17:20 \n"..., 128) = 21
read(3, ""..., 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13745
open("/dev/null", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
write(1, "IPv6addr[13733]:\t2009/06/04_15:17"..., 59) = 59
dup2(11, 1) = 1
close(11) = 0
write(1, "ERROR: Generic error\n"..., 22) = 22
read(10, ""..., 8192) = 0
exit_group(1) = ?
signature.asc
Description: PGP signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
