From owner-freebsd-ports@FreeBSD.ORG Mon Apr 29 05:25:22 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 49AD5ADE; Mon, 29 Apr 2013 05:25:22 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id 2FA5615CE; Mon, 29 Apr 2013 05:25:22 +0000 (UTC) Received: from delphij-macbook.local (c-67-188-85-47.hsd1.ca.comcast.net [67.188.85.47]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id CF0B711F70; Sun, 28 Apr 2013 22:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1367213121; bh=6CIU+CoSE2rx2BSDHyOtQ5qxg/tmU0dFpgyrshvUr4c=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=VBoZcr32C4k/n3luEpwmRbphrRx042sIQco5+XSxNTxoOq9T+/lZEpLKO0LurvQKc uBtPGtiQhFFZhnjn7mOv/CrbqiLs4uwm8k+h4bQVfgbjqhpdwU6fle1eIQv8jKUuHY 7WVTlKipj+M6U55h9F9LH3HMH4rvGLnUt+jx5gOQ= Message-ID: <517E0443.2050804@delphij.net> Date: Sun, 28 Apr 2013 22:25:23 -0700 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Chris Rees Subject: Re: openldap-2.4.35: "failed to start slapd" References: <20130428070851.60d08788@scorpio> <20130428131704.1eb14721@scorpio> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Xin LI , FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2013 05:25:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 4/28/13 10:30 AM, Chris Rees wrote: > On 28 April 2013 18:17, Jerry wrote: >> On Sun, 28 Apr 2013 16:48:33 +0100 Chris Rees articulated: >> >>> Have you tried getting the older version and installing that? >>> >>> Ports-mgmt/portdowngrade will help you do that. >>> >>> Not a proper solution, but it'll get it working again if >>> you're desperate. >> >> Actually, the database "log" got corrupted. Even the "db-recover" >> would not correct it. Luckily, I had a semi-recent backup of the >> directory. I had to run "/usr/local/libexec/slapd" via "GDB" to >> find out what the problem was. I have no idea what caused the >> corruption though. The only thing that comes to mind is that I >> DID NOT shut down openldap prior to updating it. That never >> caused a problem before though. > > I'm really glad you had backups. I'd be surprised if the in-place > upgrade broke things, but it might cause a problem. I've never had > an issue with any daemons like that. > > Xin Li, do you know if corruption due to this is possible? Would > a @stopdaemon line be appropriate here? This is weird. We do have some similar construct for the server package -- if the package is being removed, the daemon would be stopped. I haven't seen similar issue in the past, what's the BDB version used with OpenLDAP? Cheers, -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJRfgRDAAoJEG80Jeu8UPuz3D0IAIVthtvgUOT2+jhyJ3I1uZXp 7xmvKQXUfHXHvsEmu8eLlkjWGaHjuPgE0Ssvap4nkl5NcEENw9YlIIrm8GDCwsC5 uPphCjLhR+RcX0Z6QOjaoHGR3hj29e1nG/Ei9O4pRxiHnPqJz+sZSbIyzrmaeb1v BAl7df88vlE45e40WuCm9W6QPbaAPqXi9ZMzk9YN9crdB3YKvGMgZT89liS40zQN uBNRE2sBXJUPhtqjEVE04o9QdIYYIuP9zNH1BFqup4XMybIxdrKCtYbW5iKfkDtB 6cRG014/YxhZRvgRvriaifP6SLXu6pTMIuuFWeC8MQn5uEz9mrczrB5RaHIgwPU= =FQom -----END PGP SIGNATURE-----