From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 21:38:05 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47DAD30C for ; Thu, 12 Jun 2014 21:38:05 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF522B4C for ; Thu, 12 Jun 2014 21:38:04 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 678EB20E7088B; Thu, 12 Jun 2014 21:38:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id 50DC620E70885; Thu, 12 Jun 2014 21:37:58 +0000 (UTC) Message-ID: <9C4B004B82984D7688EF110733F2D1D0@multiplay.co.uk> From: "Steven Hartland" To: "O. Hartmann" , "FreeBSD CURRENT" References: <20140612230659.37f5b528@munin.walstatt.dyndns.org> Subject: Re: 11.0-CURRENT #1 r267422: OpenLDAP fails to startup out of the blue after buildworld Date: Thu, 12 Jun 2014 22:37:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 12 Jun 2014 21:38:05 -0000 I've nevery used this but Error 13 is permission denied in errno.h so I've guessing something has messed with some permissions possibly a file permission there somewhere? If its not obvious, the you could try run it under truss to see what is returning error 13. Regards Steve ----- Original Message ----- From: "O. Hartmann" After updating ports yesterday with all this ICU update horror today slapd rejects to start out of the blue after months of working like a charm: [...] 5399feba slapd startup: initiated. 5399feba backend_startup_one: starting "cn=config" 5399feba config_back_db_open 5399feba send_ldap_result: conn=-1 op=0 p=0 5399feba backend_startup_one: starting "dc=dumami" 5399feba mdb_db_open: database "dc=dumami": dbenv_open(/var/db/openldap-data/). 5399feba mdb_db_open: database "dc=dumami" cannot be opened, err 13. Restore from backup! 5399feba backend_startup_one (type=mdb, suffix="dc=dumami"): bi_db_open failed! (13) 5399feba slapd shutdown: initiated 5399feba slapd destroy: freeing system resources. 5399feba syncinfo_free: rid=001 5399feba syncinfo_free: rid=003 5399feba slapd stopped. /usr/local/etc/rc.d/slapd: WARNING: failed to start slapd According to that useless "suggestion" to restore from backup, I restored the configuration and the users from backups. slapadd works fine. But then starting the server fails again. Via "portmaster -f openldap24-server" I tried to rebuild all ports necessary for that fragile OpenLDAP thing, but still no success. I can not find any hints in the log (using -d1 or -d257 starting slapd) except the failure shown above. Since the very same configuration and dataset worked for months now and even after the massive icu-related update of ports yesterday (ended by restarting slapd), I wouldn't expect any usefull hint. Can anybody offer suggestions, please? I'm out of ideas. I find it very strange. Regards, Oliver