From owner-freebsd-ports@FreeBSD.ORG Sun Apr 28 17:30:52 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 8F347818 for ; Sun, 28 Apr 2013 17:30:52 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ia0-x235.google.com (mail-ia0-x235.google.com [IPv6:2607:f8b0:4001:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id 676E11E7F for ; Sun, 28 Apr 2013 17:30:52 +0000 (UTC) Received: by mail-ia0-f181.google.com with SMTP id k38so4945521iah.26 for ; Sun, 28 Apr 2013 10:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=pkoUjDpnco5BXFYjJmnMQ4AZJiQ0YtbdQ6ubyM9FA3I=; b=VfwLSlrS99sC5RfAnnjVdwuODtrYaZgSNVuUznS1JFvD+proq7HP0uqEpUr86l2nQJ DcMCe/woYVxXCMNHDfe1ruXNWr1sxCyYAGozXiRnwZFNC+pjQ3q5KzYkgGTEwSa4CG4d V7B/Gy9epNd5Uwg885sDTyNMK4cBpR+jKn6TuQlU2nvyEzl7uNTDi8maXRVO8uIQ6r2k R+lC6FHyPbmuvl3frbGgxD9//AGu/sry7qKKalOLwBByDKqQ+Cdpioun4khLYr7O3tHF TzSK5357UKNDjspedScoQ+Gc0ihdV7bLvIrotIqib+qTio23eP01W6H1Q9HrvyEdxJPN 3pXA== X-Received: by 10.50.114.3 with SMTP id jc3mr3484393igb.75.1367170252124; Sun, 28 Apr 2013 10:30:52 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.58.52 with HTTP; Sun, 28 Apr 2013 10:30:22 -0700 (PDT) In-Reply-To: <20130428131704.1eb14721@scorpio> References: <20130428070851.60d08788@scorpio> <20130428131704.1eb14721@scorpio> From: Chris Rees Date: Sun, 28 Apr 2013 18:30:22 +0100 X-Google-Sender-Auth: xMDp3QhWVtArvXiVZYXuodJ97aI Message-ID: Subject: Re: openldap-2.4.35: "failed to start slapd" To: FreeBSD Mailing List , Xin LI Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 17:30:52 -0000 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? Chris