couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph Davis <paul.joseph.da...@gmail.com>
Subject Re: CouchDB doesn't work for me
Date Tue, 03 Nov 2009 06:06:59 GMT
Did you happen to copy source files from an os x machine? Can you  
paste the contents of ./src/couchdb/couch.app?

If you did copy I think this is a bad regexp. Try trunk to see if that  
works.

Paul Davis

On Nov 3, 2009, at 12:40 AM, "James R. Leek" <leek2@llnl.gov> wrote:

> Hi there, I'm a newbie who was hoping to use couchDB for a grad  
> school project.  I have a cluster to run it on, but I don't have  
> root on the cluster, so getting it to build was a bit of a chore.  I  
> had to independently build all the dependencies from source.  (On my  
> home Ubuntu machine I was able to download it off the repos and get  
> it running instantly, but I need it running on the cluster.)
>
> So, first I tried 0.10.0, but that didn't work for me, and the  
> troubleshooting recommended I try what's in the repo.  Having  
> checked out from the repo, it built fine, I installed it, and it  
> just sits there.  It doesn't do anything.  Not even terminal  
> output.  Hrm.
>
> I built to following dependencies, and I've attached an strace  
> output.  Does anyone know what obviously stupid thing I'm doing wrong?
>
> js-1.8.0-rc1
> curl-7.19.6
> icu4c-4_2_1
> otp_src_R12B-5
> autoconf-2.64
> automake-1.10.2
> libtool-2.2.4
>
>
> Thanks,
> Jim
>
> execve("couchinst/bin/couchdb", ["couchinst/bin/couchdb"], [/* 23  
> vars */]) = 0
> brk(0)                                  = 0x8253000
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7fac000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or  
> directory)
> open("tls/i686/sse2/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("tls/i686/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/sse2/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/libtermcap.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("i686/libtermcap.so.2", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("sse2/libtermcap.so.2", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("libtermcap.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/sse2/libtermcap.so. 
> 2", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686/sse2", 0xbfd786c8)  
> = -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686", 0xbfd786c8) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/sse2/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/sse2", 0xbfd786c8) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls", 0xbfd786c8) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/sse2/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686/sse2", 0xbfd786c8) =  
> -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686", 0xbfd786c8) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/sse2/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/sse2", 0xbfd786c8) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/libtermcap.so.2", O_RDONLY) =  
> -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib", {st_mode=S_IFDIR|0775,  
> st_size=4096, ...}) = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=31733, ...}) = 0
> mmap2(NULL, 31733, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa4000
> close(3)                                = 0
> open("/lib/libtermcap.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\320\312\225\0004\0\0\0"...,  
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=13084, ...}) = 0
> mmap2(0x95c000, 14568, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x95c000
> mmap2(0x95f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x2) = 0x95f000
> close(3)                                = 0
> open("tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("i686/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("sse2/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libdl.so.2", O_RDONLY) = -1  
> ENOENT (No such file or directory)
> 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 
> \3720\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=16428, ...}) = 0
> mmap2(0x30f000, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x30f000
> mmap2(0x311000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x1) = 0x311000
> close(3)                                = 0
> open("tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("sse2/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libc.so.6", O_RDONLY) = -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\0000\377\35\0004\0\0\0"...,  
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1597968, ...}) = 0
> mmap2(0x1ca000, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x313000
> mmap2(0x450000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x13c) = 0x450000
> mmap2(0x453000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_ANONYMOUS, -1, 0) = 0x453000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7fa3000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fa36c0, limit:1048575 
> , seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,  
> seg_not_present:0, useable:1}) = 0
> mprotect(0x450000, 8192, PROT_READ)     = 0
> mprotect(0x311000, 4096, PROT_READ)     = 0
> mprotect(0x1c1000, 4096, PROT_READ)     = 0
> munmap(0xb7fa4000, 31733)               = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
> close(3)                                = 0
> brk(0)                                  = 0x8253000
> brk(0x8274000)                          = 0x8274000
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=56421920, ...}) = 0
> mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7da3000
> close(3)                                = 0
> getuid32()                              = 58910
> getgid32()                              = 58910
> geteuid32()                             = 58910
> getegid32()                             = 58910
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> time(NULL)                              = 1257225725
> open("/proc/meminfo", O_RDONLY)         = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7fab000
> read(3, "MemTotal:      4141528 kB\nMemFre"..., 4096) = 771
> close(3)                                = 0
> munmap(0xb7fab000, 4096)                = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigaction(SIGQUIT, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> uname({sys="Linux", node="tuson2", ...}) = 0
> stat64("/siscnas/scratch/leek2", {st_mode=S_IFDIR|0775,  
> st_size=4096, ...}) = 0
> stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
> getpid()                                = 18323
> open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=25462, ...}) = 0
> mmap2(NULL, 25462, PROT_READ, MAP_SHARED, 3, 0) = 0xb7fa5000
> close(3)                                = 0
> getppid()                               = 18322
> getpgrp()                               = 18322
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> open("couchinst/bin/couchdb", O_RDONLY|O_LARGEFILE) = 3
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfd78c98) = -1 ENOTTY  
> (Inappropriate ioctl for device)
> _llseek(3, 0, [0], SEEK_CUR)            = 0
> read(3, "#! /bin/sh -e\n\n# Licensed under "..., 80) = 80
> _llseek(3, 0, [0], SEEK_SET)            = 0
> getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
> dup2(3, 255)                            = 255
> close(3)                                = 0
> fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
> fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY| 
> O_LARGEFILE)
> fstat64(255, {st_mode=S_IFREG|0755, st_size=9744, ...}) = 0
> _llseek(255, 0, [0], SEEK_CUR)          = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "#! /bin/sh -e\n\n# Licensed under "..., 8192) = 8192
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> pipe([3, 4])                            = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -6898, [1294], SEEK_CUR)   = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
> SIGCHLD, child_tidptr=0xb7fa3708) = 18324
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> close(4)                                = 0
> read(3, "couchdb\n", 128)               = 8
> read(3, "", 128)                        = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18324
> waitpid(-1, 0xbfd78638, WNOHANG)        = -1 ECHILD (No child  
> processes)
> sigreturn()                             = ? (mask now [])
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807b580, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "\ndisplay_version () {\n    cat <<"..., 8192) = 8192
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "      --) shift; break;;\n       "..., 8192) = 258
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> pipe([3, 4])                            = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
> SIGCHLD, child_tidptr=0xb7fa3708) = 18325
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> close(4)                                = 0
> read(3, "", 128)                        = 0
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18325
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfd76a98, WNOHANG)        = -1 ECHILD (No child  
> processes)
> sigreturn()                             = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807b580, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> pipe([3, 4])                            = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
> SIGCHLD, child_tidptr=0xb7fa3708) = 18326
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> close(4)                                = 0
> read(3, "/siscnas/scratch/leek2/couchinst"..., 128) = 112
> read(3, "", 128)                        = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18326
> waitpid(-1, 0xbfd766f8, WNOHANG)        = -1 ECHILD (No child  
> processes)
> sigreturn()                             = ? (mask now [])
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807b580, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> pipe([3, 4])                            = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
> SIGCHLD, child_tidptr=0xb7fa3708) = 18328
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> close(4)                                = 0
> read(3, "", 128)                        = 0
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18328
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfd76ed8, WNOHANG)        = -1 ECHILD (No child  
> processes)
> sigreturn()                             = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807b580, [], 0}, 8) = 0
> pipe([3, 4])                            = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
> SIGCHLD, child_tidptr=0xb7fa3708) = 18329
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> close(4)                                = 0
> read(3, " --\n", 128)                   = 4
> read(3, "", 128)                        = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18329
> waitpid(-1, 0xbfd77798, WNOHANG)        = -1 ECHILD (No child  
> processes)
> sigreturn()                             = ? (mask now [])
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807b580, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
> fcntl64(2, F_GETFD)                     = 0
> fcntl64(2, F_DUPFD, 10)                 = 10
> fcntl64(2, F_GETFD)                     = 0
> fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
> dup2(3, 2)                              = 2
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> pipe([3, 4])                            = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
> SIGCHLD, child_tidptr=0xb7fa3708) = 18330
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> close(4)                                = 0
> read(3, "\n", 128)                      = 1
> read(3, "", 128)                        = 0
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18330
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfd76908, WNOHANG)        = -1 ECHILD (No child  
> processes)
> sigreturn()                             = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807b580, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> fcntl64(1, F_GETFD)                     = 0
> fcntl64(1, F_DUPFD, 10)                 = 11
> fcntl64(1, F_GETFD)                     = 0
> fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
> dup2(2, 1)                              = 1
> fcntl64(2, F_GETFD)                     = 0
> fstat64(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
> ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfd76810) = -1 ENOTTY  
> (Inappropriate ioctl for device)
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7fa4000
> write(1, "Apache CouchDB is not running.\n", 31) = 31
> dup2(11, 1)                             = 1
> fcntl64(11, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
> close(11)                               = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> dup2(10, 2)                             = 2
> fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
> close(10)                               = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_IGN, [], 0}, 8) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> execve("/siscnas/scratch/leek2/local/bin/erl", ["/siscnas/scratch/ 
> leek2/local/bin"..., "+Bd", "-noinput", "-sasl", "errlog_type",  
> "error", "+K", "true", "-env", "ERL_LIBS", "/siscnas/scratch/leek2/ 
> couchinst"..., "-couch_ini", "/siscnas/scratch/leek2/couchinst"...,  
> "/siscnas/scratch/leek2/couchinst"..., "-s", "couch", ...], [/* 21  
> vars */]) = 0
> brk(0)                                  = 0x8fe9000
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7f16000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or  
> directory)
> open("tls/i686/sse2/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("tls/i686/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/sse2/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/libtermcap.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("i686/libtermcap.so.2", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("sse2/libtermcap.so.2", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("libtermcap.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/sse2/libtermcap.so. 
> 2", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686/sse2", 0xbf81f868)  
> = -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686", 0xbf81f868) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/sse2/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/sse2", 0xbf81f868) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls", 0xbf81f868) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/sse2/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686/sse2", 0xbf81f868) =  
> -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686", 0xbf81f868) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/sse2/libtermcap.so.2",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/sse2", 0xbf81f868) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/libtermcap.so.2", O_RDONLY) =  
> -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib", {st_mode=S_IFDIR|0775,  
> st_size=4096, ...}) = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=31733, ...}) = 0
> mmap2(NULL, 31733, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0e000
> close(3)                                = 0
> open("/lib/libtermcap.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\320\312\225\0004\0\0\0"...,  
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=13084, ...}) = 0
> mmap2(0x95c000, 14568, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x95c000
> mmap2(0x95f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x2) = 0x95f000
> close(3)                                = 0
> open("tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("i686/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("sse2/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libdl.so.2", O_RDONLY) = -1  
> ENOENT (No such file or directory)
> 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 
> \3720\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=16428, ...}) = 0
> mmap2(0x30f000, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x30f000
> mmap2(0x311000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x1) = 0x311000
> close(3)                                = 0
> open("tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("sse2/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libc.so.6", O_RDONLY) = -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\0000\377\35\0004\0\0\0"...,  
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1597968, ...}) = 0
> mmap2(0x1ca000, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x1ca000
> mmap2(0x307000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x13c) = 0x307000
> mmap2(0x30a000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_ANONYMOUS, -1, 0) = 0x30a000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7f0d000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f0d6c0, limit:1048575 
> , seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,  
> seg_not_present:0, useable:1}) = 0
> mprotect(0x311000, 4096, PROT_READ)     = 0
> mprotect(0x307000, 8192, PROT_READ)     = 0
> mprotect(0x1c1000, 4096, PROT_READ)     = 0
> munmap(0xb7f0e000, 31733)               = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
> close(3)                                = 0
> brk(0)                                  = 0x8fe9000
> brk(0x900a000)                          = 0x900a000
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=56421920, ...}) = 0
> mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d0d000
> close(3)                                = 0
> getuid32()                              = 58910
> getgid32()                              = 58910
> geteuid32()                             = 58910
> getegid32()                             = 58910
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> time(NULL)                              = 1257225725
> open("/proc/meminfo", O_RDONLY)         = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7f15000
> read(3, "MemTotal:      4141528 kB\nMemFre"..., 4096) = 771
> close(3)                                = 0
> munmap(0xb7f15000, 4096)                = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigaction(SIGQUIT, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> uname({sys="Linux", node="tuson2", ...}) = 0
> stat64("/siscnas/scratch/leek2", {st_mode=S_IFDIR|0775,  
> st_size=4096, ...}) = 0
> stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
> getpid()                                = 18323
> open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=25462, ...}) = 0
> mmap2(NULL, 25462, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f0f000
> close(3)                                = 0
> getppid()                               = 18322
> getpgrp()                               = 18322
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> open("/siscnas/scratch/leek2/local/bin/erl", O_RDONLY|O_LARGEFILE) = 3
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf81fe38) = -1 ENOTTY  
> (Inappropriate ioctl for device)
> _llseek(3, 0, [0], SEEK_CUR)            = 0
> read(3, "#!/bin/sh\nROOTDIR=/siscnas/scrat"..., 80) = 80
> _llseek(3, 0, [0], SEEK_SET)            = 0
> getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
> dup2(3, 255)                            = 255
> close(3)                                = 0
> fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
> fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY| 
> O_LARGEFILE)
> fstat64(255, {st_mode=S_IFREG|0755, st_size=221, ...}) = 0
> _llseek(255, 0, [0], SEEK_CUR)          = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "#!/bin/sh\nROOTDIR=/siscnas/scrat"..., 221) = 221
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> pipe([3, 4])                            = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -87, [134], SEEK_CUR)      = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
> SIGCHLD, child_tidptr=0xb7f0d708) = 18331
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x807a9d0, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> close(4)                                = 0
> read(3, "erl\n", 128)                   = 4
> read(3, "", 128)                        = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18331
> waitpid(-1, 0xbf81f7d8, WNOHANG)        = -1 ECHILD (No child  
> processes)
> sigreturn()                             = ? (mask now [])
> close(3)                                = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807b580, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "export EMU\nexport ROOTDIR\nexport"..., 221) = 87
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_IGN, [], 0}, 8) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {0x807a9d0, [], 0}, 8) = 0
> execve("/siscnas/scratch/leek2/local/lib/erlang/erts-5.6.5/bin/ 
> erlexec", ["/siscnas/scratch/leek2/local/lib"..., "+Bd", "-noinput",  
> "-sasl", "errlog_type", "error", "+K", "true", "-env", "ERL_LIBS", "/ 
> siscnas/scratch/leek2/couchinst"..., "-couch_ini", "/siscnas/scratch/ 
> leek2/couchinst"..., "/siscnas/scratch/leek2/couchinst"..., "-s",  
> "couch", ...], [/* 25 vars */]) = 0
> brk(0)                                  = 0x9dc4000
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7f8b000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or  
> directory)
> open("tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("sse2/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/sse2/libc.so.6",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686/sse2", 0xbfafe288)  
> = -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/libc.so.6",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686", 0xbfafe288) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/sse2/libc.so.6",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/sse2", 0xbfafe288) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/libc.so.6", O_RDONLY) =  
> -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls", 0xbfafe288) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/sse2/libc.so.6",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686/sse2", 0xbfafe288) =  
> -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/libc.so.6", O_RDONLY) =  
> -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686", 0xbfafe288) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/sse2/libc.so.6", O_RDONLY) =  
> -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/sse2", 0xbfafe288) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/libc.so.6", O_RDONLY) = -1  
> ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib", {st_mode=S_IFDIR|0775,  
> st_size=4096, ...}) = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=31733, ...}) = 0
> mmap2(NULL, 31733, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f83000
> close(3)                                = 0
> 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\0000\377\35\0004\0\0\0"...,  
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1597968, ...}) = 0
> mmap2(0x1ca000, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x2ca000
> mmap2(0x407000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x13c) = 0x407000
> mmap2(0x40a000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_ANONYMOUS, -1, 0) = 0x40a000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7f82000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f826c0, limit:1048575 
> , seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,  
> seg_not_present:0, useable:1}) = 0
> mprotect(0x407000, 8192, PROT_READ)     = 0
> mprotect(0x1c1000, 4096, PROT_READ)     = 0
> munmap(0xb7f83000, 31733)               = 0
> brk(0)                                  = 0x9dc4000
> brk(0x9de5000)                          = 0x9de5000
> open("/proc/stat", O_RDONLY)            = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7f8a000
> read(3, "cpu  5790743 3977 4989755 659426"..., 4096) = 812
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0xb7f8a000, 4096)                = 0
> execve("/siscnas/scratch/leek2/local/lib/erlang/erts-5.6.5/bin/ 
> beam.smp", ["/siscnas/scratch/leek2/local/lib"..., "-Bd", "-K",  
> "true", "--", "-root", "/siscnas/scratch/leek2/local/lib"..., "- 
> progname", "erl", "--", "-home", "/home/leek2", "-noshell", "- 
> noinput", "-sasl", "errlog_type", ...], [/* 26 vars */]) = 0
> brk(0)                                  = 0x94c4000
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x110000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or  
> directory)
> open("tls/i686/sse2/libutil.so.1", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("tls/i686/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or  
> directory)
> open("tls/libutil.so.1", O_RDONLY)      = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("i686/libutil.so.1", O_RDONLY)     = -1 ENOENT (No such file or  
> directory)
> open("sse2/libutil.so.1", O_RDONLY)     = -1 ENOENT (No such file or  
> directory)
> open("libutil.so.1", O_RDONLY)          = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/sse2/libutil.so.1",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686/sse2", 0xbf850f08)  
> = -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/i686/libutil.so.1",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/i686", 0xbf850f08) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/sse2/libutil.so.1",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls/sse2", 0xbf850f08) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/tls/libutil.so.1", O_RDONLY)  
> = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/tls", 0xbf850f08) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/sse2/libutil.so.1",  
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686/sse2", 0xbf850f08) =  
> -1 ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/i686/libutil.so.1", O_RDONLY)  
> = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/i686", 0xbf850f08) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/sse2/libutil.so.1", O_RDONLY)  
> = -1 ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib/sse2", 0xbf850f08) = -1  
> ENOENT (No such file or directory)
> open("/siscnas/scratch/leek2/local/lib/libutil.so.1", O_RDONLY) = -1  
> ENOENT (No such file or directory)
> stat64("/siscnas/scratch/leek2/local/lib", {st_mode=S_IFDIR|0775,  
> st_size=4096, ...}) = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=31733, ...}) = 0
> mmap2(NULL, 31733, PROT_READ, MAP_PRIVATE, 3, 0) = 0xca2000
> close(3)                                = 0
> open("/lib/libutil.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 \nv 
> \0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=15164, ...}) = 0
> mmap2(0x760000, 12428, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x760000
> mmap2(0x762000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x1) = 0x762000
> close(3)                                = 0
> open("tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("i686/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("sse2/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libdl.so.2", O_RDONLY) = -1  
> ENOENT (No such file or directory)
> 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 
> \3720\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=16428, ...}) = 0
> mmap2(0x30f000, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x30f000
> mmap2(0x311000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x1) = 0x311000
> close(3)                                = 0
> open("tls/i686/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libm.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libm.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/libm.so.6", O_RDONLY)         = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libm.so.6", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/libm.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("sse2/libm.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("libm.so.6", O_RDONLY)             = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libm.so.6", O_RDONLY) = -1  
> ENOENT (No such file or directory)
> open("/lib/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\0\20dS 
> \0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=208352, ...}) = 0
> mmap2(0x533000, 155760, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x533000
> mmap2(0x558000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x24) = 0x558000
> close(3)                                = 0
> open("tls/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/libncurses.so.5", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("i686/libncurses.so.5", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("sse2/libncurses.so.5", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("libncurses.so.5", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libncurses.so.5", O_RDONLY) =  
> -1 ENOENT (No such file or directory)
> open("/usr/lib/libncurses.so.5", 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\220s> 
> \0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=297464, ...}) = 0
> mmap2(0x3d9000, 297220, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x3d9000
> mmap2(0x419000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x40) = 0x419000
> mmap2(0x421000, 2308, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_ANONYMOUS, -1, 0) = 0x421000
> close(3)                                = 0
> open("tls/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("tls/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/libpthread.so.0", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such  
> file or directory)
> open("i686/libpthread.so.0", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("sse2/libpthread.so.0", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("libpthread.so.0", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libpthread.so.0", O_RDONLY) =  
> -1 ENOENT (No such file or directory)
> open("/lib/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\0\2301\0004\0\0\0"..., 512)  
> = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=125744, ...}) = 0
> mmap2(0x315000, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x315000
> mmap2(0x328000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x12) = 0x328000
> mmap2(0x32a000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_ANONYMOUS, -1, 0) = 0x32a000
> close(3)                                = 0
> open("tls/i686/sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/librt.so.1", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/librt.so.1", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("tls/librt.so.1", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/librt.so.1", O_RDONLY)  = -1 ENOENT (No such file or  
> directory)
> open("i686/librt.so.1", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("sse2/librt.so.1", O_RDONLY)       = -1 ENOENT (No such file or  
> directory)
> open("librt.so.1", O_RDONLY)            = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/librt.so.1", O_RDONLY) = -1  
> ENOENT (No such file or directory)
> open("/lib/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\200\370< 
> \0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=44060, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb5c000
> mmap2(0x3ce000, 33324, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x3ce000
> mmap2(0x3d5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x6) = 0x3d5000
> close(3)                                = 0
> open("tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file  
> or directory)
> open("tls/i686/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/sse2/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or  
> directory)
> open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or  
> directory)
> open("i686/sse2/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or  
> directory)
> open("i686/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("sse2/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or  
> directory)
> open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or  
> directory)
> open("/siscnas/scratch/leek2/local/lib/libc.so.6", O_RDONLY) = -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\0000\377\35\0004\0\0\0"...,  
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1597968, ...}) = 0
> mmap2(0x1ca000, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE| 
> MAP_DENYWRITE, 3, 0) = 0x1ca000
> mmap2(0x307000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_DENYWRITE, 3, 0x13c) = 0x307000
> mmap2(0x30a000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
> MAP_ANONYMOUS, -1, 0) = 0x30a000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb58000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb588d0, limit:1048575 
> , seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,  
> seg_not_present:0, useable:1}) = 0
> mprotect(0x307000, 8192, PROT_READ)     = 0
> mprotect(0x3d5000, 4096, PROT_READ)     = 0
> mprotect(0x328000, 4096, PROT_READ)     = 0
> mprotect(0x558000, 4096, PROT_READ)     = 0
> mprotect(0x311000, 4096, PROT_READ)     = 0
> mprotect(0x762000, 4096, PROT_READ)     = 0
> mprotect(0x1c1000, 4096, PROT_READ)     = 0
> munmap(0xca2000, 31733)                 = 0
> set_tid_address(0xb58918)               = 18323
> set_robust_list(0xb58920, 0xc)          = 0
> rt_sigaction(SIGRTMIN, {0x3193d0, [], SA_SIGINFO}, NULL, 8) = 0
> rt_sigaction(SIGRT_1, {0x3192e0, [], SA_RESTART|SA_SIGINFO}, NULL,  
> 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
> getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024,  
> rlim_max=RLIM_INFINITY}) = 0
> uname({sys="Linux", node="tuson2", ...}) = 0
> brk(0)                                  = 0x94c4000
> brk(0x94e5000)                          = 0x94e5000
> open("/proc/stat", O_RDONLY)            = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x4d9000
> read(3, "cpu  5790744 3977 4989756 659426"..., 4096) = 812
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0x4d9000, 4096)                  = 0
> mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xd0a000
> mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x111000
> mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x132000
> brk(0x94e7000)                          = 0x94e7000
> brk(0x94e8000)                          = 0x94e8000
> brk(0x94f8000)                          = 0x94f8000
> brk(0x9508000)                          = 0x9508000
> mmap2(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
> MAP_ANONYMOUS, -1, 0) = 0x55a000
> brk(0x9509000)                          = 0x9509000
> mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x368000
> mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x153000
> brk(0x950a000)                          = 0x950a000
> brk(0x951a000)                          = 0x951a000
> brk(0x952a000)                          = 0x952a000
> brk(0x952b000)                          = 0x952b000
> brk(0x953b000)                          = 0x953b000
> brk(0x954b000)                          = 0x954b000
> brk(0x954d000)                          = 0x954d000
> brk(0x955d000)                          = 0x955d000
> brk(0x956d000)                          = 0x956d000
> futex(0x31206c, FUTEX_WAKE, 2147483647) = 0
> rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGILL, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGTRAP, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGABRT, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGKILL, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGUSR1, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGUSR2, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGPIPE, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGSTKFLT, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGCONT, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGSTOP, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGTSTP, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGTTIN, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGTTOU, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGURG, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGXCPU, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGXFSZ, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGVTALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGIO, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGPWR, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGSYS, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_2, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_3, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_4, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_5, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_6, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_7, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_8, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_9, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_10, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_11, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_12, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_13, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_14, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_15, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_16, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_17, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_18, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_19, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_20, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_21, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_22, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_23, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_24, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_25, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_26, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_27, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_28, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_29, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_30, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_31, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGRT_32, NULL, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGFPE, {0x8151090, [], SA_STACK|SA_SIGINFO}, NULL, 8)  
> = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon  
> echo ...}) = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon  
> echo ...}) = 0
> open("/etc/localtime", O_RDONLY)        = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> fstat64(3, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xa0c000
> read(3,  
> "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\0\0"...,  
> 4096) = 2819
> close(3)                                = 0
> munmap(0xa0c000, 4096)                  = 0
> getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
> epoll_create(256)                       = 3
> pipe([4, 5])                            = 0
> fcntl64(4, F_GETFL)                     = 0 (flags O_RDONLY)
> fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> fcntl64(5, F_GETFL)                     = 0x1 (flags O_WRONLY)
> fcntl64(5, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
> epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLIN, {u32=4,  
> u64=13800500104173453316}}) = 0
> pipe([6, 7])                            = 0
> rt_sigprocmask(SIG_BLOCK, [INT USR1 CHLD], [], 8) = 0
> mmap2(NULL, 10489856, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE| 
> MAP_ANONYMOUS, -1, 0) = 0xd41000
> mprotect(0xd41000, 4096, PROT_NONE)     = 0
> clone(child_stack=0x17414b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES| 
> CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| 
> CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x1741bd8,  
> {entry_number:6, base_addr:0x1741b90, limit:1048575, seg_32bit:1,  
> contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,  
> useable:1}, child_tidptr=0x1741bd8) = 18334
> futex(0xbf85138c, FUTEX_WAIT, 1, NULL)  = 0
> futex(0xbf851370, FUTEX_WAIT, 2, NULL)  = 0
> futex(0xbf851370, FUTEX_WAKE, 1)        = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> open("/proc/stat", O_RDONLY)            = 8
> fstat64(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x1a2000
> read(8, "cpu  5790744 3977 4989757 659426"..., 4096) = 812
> read(8, "", 4096)                       = 0
> close(8)                                = 0
> munmap(0x1a2000, 4096)                  = 0
> rt_sigprocmask(SIG_BLOCK, [INT USR1 CHLD], [], 8) = 0
> mmap2(NULL, 10489856, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE| 
> MAP_ANONYMOUS, -1, 0) = 0x33f5000
> mprotect(0x33f5000, 4096, PROT_NONE)    = 0
> clone(child_stack=0x3df54b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES| 
> CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| 
> CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x3df5bd8,  
> {entry_number:6, base_addr:0x3df5b90, limit:1048575, seg_32bit:1,  
> contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,  
> useable:1}, child_tidptr=0x3df5bd8) = 18335
> futex(0xbf8513dc, FUTEX_WAIT, 1, NULL)  = 0
> futex(0xbf8513c0, FUTEX_WAIT, 2, NULL)  = 0
> futex(0xbf8513c0, FUTEX_WAKE, 1)        = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> gettimeofday({1257225725, 800745}, NULL) = 0
> clock_gettime(CLOCK_MONOTONIC, {3393065, 935973072}) = 0
> clock_gettime(CLOCK_MONOTONIC, {3393065, 936040414}) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x814ba00, [], SA_STACK}, {SIG_DFL, [], 0},  
> 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT USR1 CHLD], [CHLD], 8) = 0
> mmap2(NULL, 20480, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE| 
> MAP_ANONYMOUS, -1, 0) = 0x194000
> mprotect(0x194000, 4096, PROT_NONE)     = 0
> clone(child_stack=0x1984b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES| 
> CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| 
> CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x198bd8,  
> {entry_number:6, base_addr:0x198b90, limit:1048575, seg_32bit:1,  
> contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,  
> useable:1}, child_tidptr=0x198bd8) = 18336
> futex(0xbf85136c, FUTEX_WAIT, 1, NULL)  = 0
> futex(0xbf851350, FUTEX_WAIT, 2, NULL)  = 0
> futex(0xbf851350, FUTEX_WAKE, 1)        = 0
> rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
> brk(0x956e000)                          = 0x956e000
> brk(0x956f000)                          = 0x956f000
> brk(0x9571000)                          = 0x9571000
> open("/proc/meminfo", O_RDONLY)         = 8
> fstat64(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0x199000
> read(8, "MemTotal:      4141528 kB\nMemFre"..., 4096) = 771
> close(8)                                = 0
> munmap(0x199000, 4096)                  = 0
> clock_gettime(CLOCK_MONOTONIC, {3393065, 955023353}) = 0
> rt_sigprocmask(SIG_BLOCK, [INT USR1 CHLD], [CHLD], 8) = 0
> mmap2(NULL, 10489856, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE| 
> MAP_ANONYMOUS, -1, 0) = 0x1b50000
> mprotect(0x1b50000, 4096, PROT_NONE)    = 0
> clone(child_stack=0x25504b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES| 
> CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| 
> CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2550bd8,  
> {entry_number:6, base_addr:0x2550b90, limit:1048575, seg_32bit:1,  
> contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,  
> useable:1}, child_tidptr=0x2550bd8) = 18337
> futex(0xbf8513cc, FUTEX_WAIT, 1, NULL)  = 0
> futex(0xbf8513b0, FUTEX_WAIT, 2, NULL)  = 0
> futex(0xbf8513b0, FUTEX_WAKE, 1)        = 0
> rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT USR1 CHLD], [CHLD], 8) = 0
> mmap2(NULL, 10489856, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE| 
> MAP_ANONYMOUS, -1, 0) = 0x5c98000
> mprotect(0x5c98000, 4096, PROT_NONE)    = 0
> clone(child_stack=0x66984b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES| 
> CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| 
> CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x6698bd8,  
> {entry_number:6, base_addr:0x6698b90, limit:1048575, seg_32bit:1,  
> contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,  
> useable:1}, child_tidptr=0x6698bd8) = 18338
> futex(0xbf8513cc, FUTEX_WAIT, 1, NULL)  = 0
> futex(0xbf8513b0, FUTEX_WAIT, 2, NULL)  = 0
> futex(0xbf8513b0, FUTEX_WAKE, 1)        = 0
> rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
> futex(0x821f040, FUTEX_WAKE, 1)         = 1
> write(7, "\0", 1)                       = 1
> select(0, NULL, NULL, NULL, NULL <unfinished ...>

Mime
View raw message