[hobbit] building on Mandriva Corporate Server 4

Daniel J McDonald dan.mcdonald at austinenergy.com
Wed Nov 22 00:09:57 CET 2006


On Tue, 2006-11-21 at 16:09 -0600, Daniel J McDonald wrote:
> On Tue, 2006-11-21 at 13:45 -0600, Daniel J McDonald wrote:
> > On Tue, 2006-11-21 at 19:42 +0200, Buchan Milne wrote:
> > > On Tuesday 21 November 2006 19:21, Daniel J McDonald wrote:
> > > > On Tue, 2006-11-21 at 08:56 -0600, Daniel J McDonald wrote:
> > > > > I finally broke my bb environment, so I'm again trying to get hobbit
> > > > > working.  I took the srpm provided by Mandriva, replaced the allinone
> > > > > patch they had from Sep25 with the one from October 3rd, rebuilt the
> > > > > package, and installed it.
> > > 
> 
> Here is an strace of it failing.

Learning all sorts of things...  here is strace -f, showing more than it
just detaching...

> [hobbit at ldap ~]$ strace -f /usr/lib/hobbit/server/bin/hobbitlaunch --config=/usr/lib/hobbit/server/etc/hobbitlaunch.cfg --env=/usr/lib/hobbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitlaunch.log --pidfile=/var/log/hobbit/hobbitlaunch.pid
execve("/usr/lib/hobbit/server/bin/hobbitlaunch",
["/usr/lib/hobbit/server/bin/hobbi"...,
"--config=/usr/lib/hobbit/server/"...,
"--env=/usr/lib/hobbit/server/etc"...,
"--log=/var/log/hobbit/hobbitlaun"...,
"--pidfile=/var/log/hobbit/hobbit"...], [/* 51 vars */]) = 0
uname({sys="Linux", node="ldap.austin-energy.net", ...}) = 0
brk(0)                                  = 0x8058000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7fca000
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=45365, ...}) = 0
old_mmap(NULL, 45365, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fbe000
close(3)                                = 0
open("/lib/tls/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 at O\1\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1246360, ...}) = 0
old_mmap(NULL, 1252316, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xb7e8c000
old_mmap(0xb7fb8000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x12c000) = 0xb7fb8000
old_mmap(0xb7fbc000, 7132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0xb7fbc000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7e8b000
mprotect(0xb7fb8000, 4096, PROT_READ)   = 0
mprotect(0xb7fe0000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e8b6c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7fbe000, 45365)               = 0
brk(0)                                  = 0x8058000
brk(0x8079000)                          = 0x8079000
open("/usr/lib/hobbit/server/etc/hobbitserver.cfg", O_RDONLY|
O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=11745, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e6b000
read(3, "# NB : Even though it might look"..., 131072) = 11745
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0xb7e6b000, 131072)              = 0
clone(Process 25417 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e8b708) = 25417
[pid 25416] open("/var/log/hobbit/hobbitlaunch.pid", O_WRONLY|O_CREAT|
O_TRUNC|O_LARGEFILE, 0666) = 3
[pid 25417] setsid( <unfinished ...>
[pid 25416] fstat64(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
[pid 25416] mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0xb7e6b000
[pid 25416] write(3, "25417\n", 6)      = 6
[pid 25417] <... setsid resumed> )      = 25417
[pid 25416] close(3)                    = 0
[pid 25416] munmap(0xb7e6b000, 131072)  = 0
[pid 25416] exit_group(0)               = ?
Process 25416 detached
close(0)                                = 0
open("/dev/null", O_RDONLY|O_LARGEFILE) = 0
close(1)                                = 0
open("/var/log/hobbit/hobbitlaunch.log", O_WRONLY|O_APPEND|O_CREAT|
O_LARGEFILE, 0666) = 1
fstat64(1, {st_mode=S_IFREG|0600, st_size=796, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e6b000
fstat64(1, {st_mode=S_IFREG|0600, st_size=796, ...}) = 0
_llseek(1, 796, [796], SEEK_SET)        = 0
close(2)                                = 0
open("/var/log/hobbit/hobbitlaunch.log", O_WRONLY|O_APPEND|O_CREAT|
O_LARGEFILE, 0666) = 2
fstat64(2, {st_mode=S_IFREG|0600, st_size=796, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e4b000
fstat64(2, {st_mode=S_IFREG|0600, st_size=796, ...}) = 0
_llseek(2, 796, [796], SEEK_SET)        = 0
getrlimit(RLIMIT_CORE, {rlim_cur=1000000*1024, rlim_max=RLIM_INFINITY})
= 0
setrlimit(RLIMIT_CORE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY})
= 0
rt_sigaction(SIGSEGV, {0x804d600, [], 0}, NULL, 8) = 0
rt_sigaction(SIGILL, {0x804d600, [], 0}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x804d600, [], 0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR2, {0x804d660, [], 0}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x8049950, [], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x8049950, [], 0}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x8049950, [], 0}, NULL, 8) = 0
time(NULL)                              = 1164150324
open("/etc/localtime", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e2b000
read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0"...,
131072) = 1279
close(3)                                = 0
munmap(0xb7e2b000, 131072)              = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
write(2, "2006-11-21 17:05:24 hobbitlaunch"..., 42) = 42
time(NULL)                              = 1164150324
time(NULL)                              = 1164150324
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
write(2, "2006-11-21 17:05:24 Loading task"..., 100) = 100
open("/usr/lib/hobbit/server/etc/hobbitlaunch.cfg", O_RDONLY|
O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=8992, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=8992, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e2b000
read(3, "#\n# The hobbitlaunch.cfg file is"..., 131072) = 8992
read(3, "", 131072)                     = 0
open("/etc/hobbit/hobbitlaunch.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e0a000
stat64("/etc/hobbit/hobbitlaunch.d", {st_mode=S_IFDIR|0755,
st_size=48, ...}) = 0
getdents64(4, /* 2 entries */, 131072)  = 48
getdents64(4, /* 0 entries */, 131072)  = 0
munmap(0xb7e0a000, 135168)              = 0
close(4)                                = 0
time(NULL)                              = 1164150324
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
write(2, "2006-11-21 17:05:24 xfree: Tryin"..., 57) = 57
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(25417, 25417, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
Process 25417 detached




More information about the Xymon mailing list