rendered paste bodyroot@tyc:/var/server# strace ejabberdctl
execve("/usr/sbin/ejabberdctl", ["ejabberdctl"], [/* 18 vars */]) = 0
brk(0) = 0x805e000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ee7000
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=46402, ...}) = 0
mmap2(NULL, 46402, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7edb000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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\20Z\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1248904, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eda000
mmap2(NULL, 1258876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7da6000
mmap2(0xb7ed3000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c) = 0xb7ed3000
mmap2(0xb7ed7000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ed7000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7da5000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7da56b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7ed3000, 8192, PROT_READ) = 0
munmap(0xb7edb000, 46402) = 0
getpid() = 19569
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 0
brk(0) = 0x805e000
brk(0x807f000) = 0x807f000
getppid() = 19568
stat64("/var/server", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/sbin/ejabberdctl", 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, {0x8054c2e, ~[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\nNODE=ejabberd\nHOST=lo"..., 8192) = 1262
stat64("@prefix@/var/lib/ejabberd/db/ejabberd", 0xbf811e4c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/sbin/mkdir", 0xbf81200c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/mkdir", 0xbf81200c) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/mkdir", 0xbf81200c) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/mkdir", 0xbf81200c) = -1 ENOENT (No such file or directory)
stat64("/sbin/mkdir", 0xbf81200c) = -1 ENOENT (No such file or directory)
stat64("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=23628, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7da56f8) = 19570
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 19570
--- SIGCHLD (Child exited) @ 0 (0) ---
stat64("/usr/local/sbin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/sbin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/bin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/X11/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/games/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
write(2, "/usr/sbin/ejabberdctl: 18: ", 27/usr/sbin/ejabberdctl: 18: ) = 27
write(2, "function: not found", 19function: not found) = 19
write(2, "\n", 1
) = 1
stat64("/usr/local/sbin/erl", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/erl", {st_mode=S_IFREG|0755, st_size=203, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7da56f8) = 19571
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 19571
--- SIGCHLD (Child exited) @ 0 (0) ---
stat64("/usr/local/sbin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/sbin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/bin/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/X11/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
stat64("/usr/games/function", 0xbf81202c) = -1 ENOENT (No such file or directory)
write(2, "/usr/sbin/ejabberdctl: 31: ", 27/usr/sbin/ejabberdctl: 31: ) = 27
write(2, "function: not found", 19function: not found) = 19
write(2, "\n", 1
) = 1
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7da56f8) = 19581
wait4(-1, Erlang (BEAM) emulator version 5.5.4 [source] [async-threads:0] [hipe] [kernel-poll:false]
*** ERROR: Shell process terminated! (^G to start new job) ***
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
(v)ersion (k)ill (D)b-tables (d)istribution
<unfinished ...>