From owner-freebsd-current@FreeBSD.ORG Sat May 5 16:34:17 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07B92106566C; Sat, 5 May 2012 16:34:17 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3FDB58FC0C; Sat, 5 May 2012 16:34:16 +0000 (UTC) Received: by bkvi17 with SMTP id i17so4039087bkv.13 for ; Sat, 05 May 2012 09:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=N4qEG43OdOblbUFjr6YZGJDjYkKI1zC6A8rb9Kz/5vA=; b=QZ+CuwWds1F8CAnJA2hlyJk4V1S7mozGXMtYbWz14147pqZAackAm6qw6POA9K28u5 NUozG2BixCqoTAYR/Y2EuQ6VoBoXg72cguioPmC4slc3ffGbWo00VH+Ap5DFngNxRo+b 19cZbKb2XiGAyaEoaXQ5NVprYFjX4nhgg4mrgqjQt2T/jJYuxNzmKgqCtIvgGak02WXQ zjf6tEamvOe1bPuBKK8nOBK/uLlrs7On6cuTDZdH+juC3s5jJ2R2s7DIqsSUm5T2CLuI ROpKFQGrQXJ7FEgcOdO92KSoCkHTOulTz0jcnAO7IjuXRpiOdmDJcEJi1LZ4rUtL1saH xnSA== MIME-Version: 1.0 Received: by 10.204.153.15 with SMTP id i15mr3529147bkw.74.1336235654848; Sat, 05 May 2012 09:34:14 -0700 (PDT) Received: by 10.204.171.138 with HTTP; Sat, 5 May 2012 09:34:14 -0700 (PDT) Received: by 10.204.171.138 with HTTP; Sat, 5 May 2012 09:34:14 -0700 (PDT) In-Reply-To: <4FA54D4A.4050703@zedat.fu-berlin.de> References: <4FA54D4A.4050703@zedat.fu-berlin.de> Date: Sat, 5 May 2012 17:34:14 +0100 Message-ID: From: Chris Rees To: "Hartmann, O." Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: OpenLDAP 2.4.31 on FreeBSD 10.0-CURRENT/amd64 broken! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:34:17 -0000 On 5 May 2012 16:55, "Hartmann, O." wrote: > > Hello lists. > > Since Friday, I have on all of our FreeBSD 10.0-CURRENT/amd64 boxes > massive trouble with net/openldap24-server (SASL enabled, so it is > openldap-sasl-server). > > Last time OpenLDAP worked was Thursday last week, when obviously a > problematic update to the OS was made - it is a wild guess, since I did > daily make world and by the end of the day after the last make world > things went worse. I'm sorry having no SVN release tag handy. > > Well, here some facts. > > 1) The update of net/openldap24-server has been performed earlier this > month and has been run successfully (2.4.31). > > 2) It doesn't matter whether OpenLDAP is compiled with CLANG 3.1 or > legacy GCC 4.2.1, compiled with CLANG, slapd(8C) coredumps immediately, > compiled with gcc, it starts, but when slapd(8C) gets accessed, it > coredumps immediately. A simple "id ohartmann" is enough. > > 3) I recompiled OpenLDAP 2.4.31 client and server and it requisites via > "portmaster -f net/openldap24-server|client. No effect/success. I also > recompiled every port used with OpenLDAP: security/pam_ldap and > net/nss_ldap. > > 4) OpenLDAP server uses DB5 based backend. > > 5) The very same configuration (copied slap.d folder's .ldif files) > works fine on FreeBSD 9.0-STABLE/amd64, even compiled with CLANG. This > makes me believe this is a FreeBSD 10.0-CURRENT specific bug. > > 6) Following is a truss output of the following comand issued: > > /usr/local/libexec/slapd -d32 -o ldap -g ldap -F > /usr/local/etc/openldap/slapd.d : > > [...] > connect(8,{ AF_INET 192.168.0.128:389 },16) ERR#61 'Connection refused' > shutdown(8,SHUT_RDWR) ERR#54 'Connection > reset by pee > r' > close(8) = 0 (0x0) > clock_gettime(13,{1336231852.000000000 }) = 0 (0x0) > getpid() = 84297 (0x14949) > sendto(3,"<163>May 5 17:30:52 slapd[84297"...,97,0x0,NULL,0x0) = 97 (0x61) > sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGF > PE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP| > SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH > |SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) > sigaction(SIGPIPE,{ SIG_DFL SA_RESTART ss_t },{ SIG_IGN 0x0 ss_t }) = 0 > (0x0) > sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) > 4fa547ac ldif_read_file: checksum error on > "/usr/local/etc/openldap/slapd.d//cn= > config/olcDatabase={1}hdb.ldif" > 4fa547ac hdb_db_open: database "dc=walstatt,dc=dyndns,dc=org": unclean > shutdown > detected; attempting recovery. > 4fa547ad hdb_db_open: database "cn=accesslog": unclean shutdown > detected; attemp > ting recovery. > 4fa547ad slapd starting > SIGNAL 11 (SIGSEGV) > setgroups(0x1,0x802c7a000,0x802c7c001,0xffffffff,0x0,0x0) ERR#4 > 'Interrupted sys > tem call' > process exit, rval = 0 > > > 7) Desperately, I tried nearly every variation of the configurable > "overlays", even those my configuration doesn't use. But this seems > nonesense since OpenLDAP worked before. > > I'm floating like a dead man in the water and I was wondering if someone > else doesn't face this problem. FreeBSD is said to be run in large > environments, so at least one should have OpenLDAP as user backend > running ... > > I need some help in this case. > Why are you running -CURRENT in production? Chris