From owner-freebsd-questions@FreeBSD.ORG Tue Jun 23 14:44:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35B29106564A for ; Tue, 23 Jun 2009 14:44:54 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id E174D8FC20 for ; Tue, 23 Jun 2009 14:44:53 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so56008qwe.7 for ; Tue, 23 Jun 2009 07:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MBh8FgWrpM19jp3Yzvd0U6vIZXlECyh/EHWpK9BNEY0=; b=Nv44z34iL8OJsPkIiu0HBfrwzUF3DvOJleDwOUNW6MmDHlBt4unk1ZeuKt9yQ5Rlju H/qSiWjbuykI1s9YYB89dfNfIcbUahT4hA93ARqmGe5p53ANOQ5eaqlTcGpnvcrVDUgA avKSNrVENTG1R0QPQLRicsLs7Cr6CdHA6B6fA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cSmlpCqg2xnb2xO+xB+YZ1CQ797xz1UwzU3p8zgZguC4l2TXA5PqbM3eNfCTnhW9kA U2PJVpA9KxlWnKEcFLaGMB/s4GukaYTqHLQ8e0owIQwcAkaz//5vb/6kF4sX/TI8MtKV bZZX1MuJV8IDE4++MuI8R5RKeyaAIRtw2n5O0= MIME-Version: 1.0 Received: by 10.220.76.147 with SMTP id c19mr210319vck.96.1245768293134; Tue, 23 Jun 2009 07:44:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Jun 2009 08:44:53 -0600 Message-ID: From: Tim Judd To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: carmel@hotmail.com Subject: Re: Problem starting slapd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 14:44:54 -0000 On 6/23/09, Carmel NY wrote: > FreeBSD-7.2 > openldap-server-2.4.16_1 > > I just installed this port. For some reason it will not start > correctly. I have all of the information entered in the /etc/rc.conf > file and the slapd.conf and ldap.conf files are configured correctly. > > There is no 'PID' file created. Below is what I receive when I attempt > to start or stop the program. > > /usr/local/etc/rc.d # ./slapd start > Starting slapd. > /usr/local/etc/rc.d # ./slapd stop > slapd not running? (check /var/run/openldap/slapd.pid). > /usr/local/etc/rc.d # ls /var/run/openldap > ldapi= > /usr/local/etc/rc.d # > > There is a 'socket' created, but that is it. I a pulling my hair out, > what is left of it, trying to figure out what the problem is. Any > suggestions? > > Thanks! is there a /usr/local/etc/openldap/slapd.conf? does it pass muster, config check 'n all? did you enable logging? would you pastebin your slapd.conf - masking out any passwords or sensitive information? I've run slapd plenty times, I bet it's something with your config file. Posting your /usr/ports/net/openldap24-server make showconfig would be appreciative too. --TJ