Eric Beda wrote: > below is the result from an strace command > it doesn't make much sense to me, but it seems that it tries to locate the > processes PID but to no avail > First, you don't want to strace the start-slapd shell script, you should instead edit the start-slapd shell script to put an strace -o trace.out before the ./ns-slapd ..... command. Second, before doing this, try doing start-slapd -d 1 - maybe slapd will tell us what's wrong. > > xecve("slapd-mlimani/./start-slapd", ["slapd-mlimani/./start-slapd"], [/* > 23 vars */]) = 0 > uname({sys="Linux", node="mlimani.ac.tz", ...}) = 0 > brk(0) = 0x80def34 > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/etc/ld.so.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=48065, ...}) = 0 > old_mmap(NULL, 48065, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75df000 > 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\340\r\0"..., 512) > = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=11784, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb75de000 > old_mmap(NULL, 14856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb75da000 > old_mmap(0xb75dd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x2000) = 0xb75dd000 > close(3) = 0 > 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\32\0\000"..., > 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=14728, ...}) = 0 > old_mmap(NULL, 12148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb75d7000 > old_mmap(0xb75d9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x1000) = 0xb75d9000 > 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\0000X\1\000"..., > 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=1563240, ...}) = 0 > old_mmap(NULL, 1272460, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb74a0000 > old_mmap(0xb75d1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x130000) = 0xb75d1000 > old_mmap(0xb75d4000, 10892, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb75d4000 > close(3) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb749f000 > set_thread_area({entry_number:-1 -> 6, base_addr:0xb749f080, > limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, > limit_in_pages:1, seg_not_present:0, useable:1}) = 0 > munmap(0xb75df000, 48065) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3 > close(3) = 0 > brk(0) = 0x80def34 > brk(0x80fff34) = 0x80fff34 > brk(0) = 0x80fff34 > brk(0x8100000) = 0x8100000 > open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0 > mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb729f000 > close(3) = 0 > getuid32() = 0 > getgid32() = 0 > geteuid32() = 0 > getegid32() = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > time(NULL) = 1164107910 > open("/etc/mtab", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) > = 0xb729e000 > read(3, "/dev/sda2 / ext3 rw 0 0\nnone /pr"..., 4096) = 270 > close(3) = 0 > munmap(0xb729e000, 4096) = 0 > 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) > = 0xb729e000 > read(3, " total: used: free:"..., 4096) = 729 > close(3) = 0 > munmap(0xb729e000, 4096) = 0 > rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 > uname({sys="Linux", node="mlimani.ac.tz", ...}) = 0 > stat64("/opt/fedora-ds", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > getpid() = 2915 > getppid() = 2914 > getpgrp() = 2914 > rt_sigaction(SIGCHLD, {0x8074f80, [], SA_RESTORER, 0xb74c7be8}, {SIG_DFL}, > 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > open("slapd-mlimani/./start-slapd", O_RDONLY|O_LARGEFILE) = 3 > ioctl(3, TCGETS, 0xbfffb5c8) = -1 ENOTTY (Inappropriate ioctl > for device) > _llseek(3, 0, [0], SEEK_CUR) = 0 > read(3, "#!/bin/sh\n\nunset LD_LIBRARY_PATH"..., 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=1927, ...}) = 0 > _llseek(255, 0, [0], SEEK_CUR) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > read(255, "#!/bin/sh\n\nunset LD_LIBRARY_PATH"..., 1927) = 1927 > open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=21436, ...}) = 0 > mmap2(NULL, 21436, PROT_READ, MAP_SHARED, 3, 0) = 0xb7299000 > close(3) = 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 > stat64("/opt/fedora-ds/slapd-mlimani/logs/startpid", 0xbfffb470) = -1 > ENOENT (No such file or directory) > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > stat64("/opt/fedora-ds/slapd-mlimani/logs/pid", 0xbfffb470) = -1 ENOENT > (No such file or directory) > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > stat64("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat64("/opt/fedora-ds", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat64("/opt/fedora-ds/bin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat64("/opt/fedora-ds/bin/slapd", {st_mode=S_IFDIR|0755, st_size=4096, > ...}) = 0 > stat64("/opt/fedora-ds/bin/slapd/server", {st_mode=S_IFDIR|0700, > st_size=4096, ...}) = 0 > chdir("/opt/fedora-ds/bin/slapd/server") = 0 > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 > _llseek(255, -977, [950], SEEK_CUR) = 0 > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0xb749f0c8) = 2916 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > rt_sigaction(SIGINT, {0x8074000, [], SA_RESTORER, 0xb74c7be8}, {SIG_DFL}, > 8) = 0 > waitpid(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], 0) = 2916 > fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) > = 0xb7298000 > open("/usr/share/locale/locale.alias", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) > = 0xb7297000 > read(3, "# Locale name alias data base.\n#"..., 4096) = 2601 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xb7297000, 4096) = 0 > open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No > such file or directory) > write(2, "slapd-mlimani/./start-slapd: lin"..., > 174slapd-mlimani/./start-slapd: line 33: 2916 Segmentation fault > ./ns-slapd -D /opt/fedora-ds/slapd-mlimani -i > /opt/fedora-ds/slapd-mlimani/logs/pid -w $STARTPIDFILE "$@" > ) = 174 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > --- SIGCHLD (Child exited) @ 0 (0) --- > waitpid(-1, 0xbfffb15c, WNOHANG) = -1 ECHILD (No child processes) > sigreturn() = ? (mask now []) > rt_sigaction(SIGINT, {SIG_DFL}, {0x8074000, [], SA_RESTORER, 0xb74c7be8}, > 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > read(255, "if [ $? -ne 0 ]; then\n exit 1"..., 1927) = 977 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > munmap(0xb7298000, 4096) = 0 > exit_group(1) = ? > > > > > > > > > >> Eric Beda napisa??(a): >> >>> Hi, >>> i'm quite new to fedora ds,, recently i have been trying fedora ds with >>> the Jamm schema, it worked fine for like half an hour then whenever i >>> try >>> to start fedora ds i get a segmentation fault error as follows >>> >>> slapd-servername/./start-slapd: line 33: 2526 Segmentation fault >>> ./ns-slapd -D /opt/fedora-ds/slapd-servername -i >>> /opt/fedora-ds/slapd-servername/logs/pid -w $STARTPIDFILE "$@" >>> >>> i was wondering if anybody knows whats going on >>> >> maybe try to strace ns-slapd? >> >> -- >> koniczynek >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > -- > Fedora-directory-users mailing list > Fedora-directory-users at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3178 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20061121/eceea23d/attachment.bin