[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Xenserver 5 + Centos 5.2 x64 DomU + DB 4.7.25 + Openldap 2.4.13 or 2.4.15 do not work
On Mon, Mar 23, 2009 at 3:57 PM, Steven Truong <midair77@gmail.com> wrote:
> Dear, all. ÂI googled and found some people mentioned that openldap
> does not work under Xen with db database backends and the information
> were from 2006 http://www.openldap.org/lists/openldap-software/200603/msg00199.html.
> ÂI actually encountered this myself and I am not sure if this is still
> the same problem.
>
> Openldap and DB were compiled and installed from sources and
> everything was configure manually. My /etc/hosts include entry such
> as:
>
> 192.168.10.119 alfresco.mynetwork.com alfresco.
>
> [root@alfresco ~]# hostname
> alfresco.mynetwork.com
> [root@alfresco ~]# hostname -f
> alfresco.mynetwork.com
>
> Could some experts please look into this problem and suggest ways to fix it?
>
> Thank you.
>
>
> Attached is the output for strace for this problem and below is the
> part where the problem started.
>
> 2499 Âopen("/etc/hosts", O_RDONLY) Â Â Â= 4
> 2499 Âfcntl(4, F_GETFD) Â Â Â Â Â Â Â Â = 0
> 2499 Âfcntl(4, F_SETFD, FD_CLOEXEC) Â Â = 0
> 2499 Âfstat(4, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
> 2499 Âmmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b32b87fd000
> 2499 Âread(4, "# Do not remove the following li"..., 4096) = 294
> 2499 Âclose(4) Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âmunmap(0x2b32b87fd000, 4096) Â Â Â= 0
> 2499 Âgetrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
> 2499 Âpipe([4, 5]) Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âepoll_create(1024) Â Â Â Â Â Â Â Â= 6
> 2499 Âopen("/etc/gai.conf", O_RDONLY) Â = -1 ENOENT (No such file or directory)
> 2499 Âfutex(0x3f837509a8, FUTEX_WAKE, 2147483647) = 0
> 2499 Âsocket(PF_NETLINK, SOCK_RAW, 0) Â = 7
> 2499 Âbind(7, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
> 2499 Âgetsockname(7, {sa_family=AF_NETLINK, pid=2499,
> groups=00000000}, [17449945317507072012]) = 0
> 2499 Âtime(NULL) Â Â Â Â Â Â Â Â Â Â Â Â= 1237846847
> 2499 Âsendto(7, "\24\0\0\0\26\0\1\3?\v\310I\0\0\0\0\0\0\0\0", 20, 0,
> {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
> 2499 Âconnect(7, {sa_family=AF_INET6, sin6_port=htons(389),
> inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0,
> sin6_scope_id=0}, 28) = 0
> 2499 Âgetsockname(7, {sa_family=AF_INET6, sin6_port=htons(42391),
> inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0,
> sin6_scope_id=0}, [8589934620]) = 0
> 2499 Âclose(7) Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âsocket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
> 2499 Âconnect(7, {sa_family=AF_INET, sin_port=htons(389),
> sin_addr=inet_addr("0.0.0.0")}, 16) = 0
> 2499 Âgetsockname(7, {sa_family=AF_INET, sin_port=htons(52357),
> sin_addr=inet_addr("127.0.0.1")}, [8589934608]) = 0
> 2499 Âclose(7) Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âsocket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 7
> 2499 Âsetsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> 2499 Âsetsockopt(7, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
> 2499 Âbind(7, {sa_family=AF_INET6, sin6_port=htons(389),
> inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0,
> sin6_scope_id=0}, 28) = 0
> 2499 Âsocket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 8
> 2499 Âsetsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> 2499 Âbind(8, {sa_family=AF_INET, sin_port=htons(389),
> sin_addr=inet_addr("0.0.0.0")}, 16) = 0
> 2499 Âtime([1237846847]) Â Â Â Â Â Â Â Â= 1237846847
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âsendto(3, "<167>Mar 23 15:20:47 slapd[2499]"..., 72,
> MSG_NOSIGNAL, NULL, 0) = 72
> 2499 Âtime([1237846847]) Â Â Â Â Â Â Â Â= 1237846847
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âsendto(3, "<167>Mar 23 15:20:47 slapd[2499]"..., 49,
> MSG_NOSIGNAL, NULL, 0) = 49
> 2499 Âclose(3) Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âtime([1237846847]) Â Â Â Â Â Â Â Â= 1237846847
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âstat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
> 2499 Âsocket(PF_FILE, SOCK_DGRAM, 0) Â Â= 3
> 2499 Âfcntl(3, F_SETFD, FD_CLOEXEC) Â Â = 0
> 2499 Âconnect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
> 2499 Âsendto(3, "<167>Mar 23 15:20:47 slapd[2499]"..., 75,
> MSG_NOSIGNAL, NULL, 0) = 75
> 2499 Âshutdown(5, 2 /* send and receive */) = -1 ENOTSOCK (Socket
> operation on non-socket)
> 2499 Âclose(5) Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âshutdown(4, 2 /* send and receive */) = -1 ENOTSOCK (Socket
> operation on non-socket)
> 2499 Âclose(4) Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âclose(6) Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2499 Âexit_group(1) Â Â Â Â Â Â Â Â Â Â = ?
> 2498 Â<... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0,
> NULL) = 2499
> 2498 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2498 Â--- SIGCHLD (Child exited) @ 0 (0) ---
> 2498 Âwait4(-1, 0x7fffedefdfc4, WNOHANG, NULL) = -1 ECHILD (No child processes)
> 2498 Ârt_sigreturn(0xffffffffffffffff) Â= 0
> 2498 Ârt_sigaction(SIGINT, {SIG_IGN}, {SIG_IGN}, 8) = 0
> 2498 Âexit_group(1) Â Â Â Â Â Â Â Â Â Â = ?
> 2470 Â<... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0,
> NULL) = 2498
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Â--- SIGCHLD (Child exited) @ 0 (0) ---
> 2470 Âwait4(-1, 0x7fffec338194, WNOHANG, NULL) = -1 ECHILD (No child processes)
> 2470 Ârt_sigreturn(0xffffffffffffffff) Â= 0
> 2470 Ârt_sigaction(SIGINT, {SIG_IGN}, {SIG_IGN}, 8) = 0
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Âwrite(1, "\33[60G", 5) Â Â Â Â Â Â= 5
> 2470 Âwrite(1, "[", 1) Â Â Â Â Â Â Â Â Â= 1
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Âwrite(1, "\33[0;31m", 7) Â Â Â Â Â= 7
> 2470 Âwrite(1, "FAILED", 6) Â Â Â Â Â Â = 6
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Âwrite(1, "\33[0;39m", 7) Â Â Â Â Â= 7
> 2470 Âwrite(1, "]", 1) Â Â Â Â Â Â Â Â Â= 1
> 2470 Âwrite(1, "\r", 1) Â Â Â Â Â Â Â Â = 1
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Ârt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 2470 Âstat("/usr/bin/rhgb-client", {st_mode=S_IFREG|0755,
> st_size=13704, ...}) = 0
> 2470 Âgeteuid() Â Â Â Â Â Â Â Â Â Â Â Â = 0
> 2470 Âgetegid() Â Â Â Â Â Â Â Â Â Â Â Â = 0
> 2470 Âgetuid() Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2470 Âgetgid() Â Â Â Â Â Â Â Â Â Â Â Â Â= 0
> 2470 Âaccess("/usr/bin/rhgb-client", X_OK) = 0
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 2470 Ârt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> 2470 Âclone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x2b1cbe77fe50) = 2500
> 2500 Âclose(255 <unfinished ...>
> 2470 Ârt_sigprocmask(SIG_SETMASK, [], Â<unfinished ...>
> 2500 Â<... close resumed> ) Â Â Â Â Â Â = 0
>