From owner-freebsd-questions@FreeBSD.ORG Tue Dec 7 06:01:29 2010 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 3E8BC106567A for ; Tue, 7 Dec 2010 06:01:29 +0000 (UTC) (envelope-from dave-freebsd@pooserville.com) Received: from smtp.pooserville.com (mail.pooserville.com [69.26.223.253]) by mx1.freebsd.org (Postfix) with ESMTP id E51688FC13 for ; Tue, 7 Dec 2010 06:01:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=mail.pooserville.com) by smtp.pooserville.com with esmtp (Exim 4.68) (envelope-from ) id LD1LWR-000NT4-6U for freebsd-questions@freebsd.org; Mon, 06 Dec 2010 23:29:15 -0600 Received: from [76.183.154.180] (account dave-sa@pooserville.com HELO [192.168.74.51]) by mail.pooserville.com (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 890259 for freebsd-questions@freebsd.org; Mon, 06 Dec 2010 23:29:15 -0600 User-Agent: Microsoft-Entourage/12.27.0.100910 Date: Mon, 06 Dec 2010 23:29:12 -0600 From: Dave Pooser To: Message-ID: Thread-Topic: PostgreSQL + 8.1 RELEASE + DTrace = pain? Thread-Index: AcuVz639rsiDJ1FSPkeg4RO2zsiDiA== Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: PostgreSQL + 8.1 RELEASE + DTrace = pain? 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, 07 Dec 2010 06:01:29 -0000 First off, I'll freely admit I'm a *BSD noob; I've been administering Mac servers for a decade and OpenSolaris and Linux for 3-4 years but this is my first ever attempt to set up a FreeBSD system. The goal is to replace a Linux box that is currently a PostgreSQL database server; I need LDAP authentication and I want DTrace. (I also want GSSAPI, but that's another discussion entirely). (Why FreeBSD? DTrace and ZFS without the Oracle Solaris pricetag. Plus it's a *NIX I haven't used yet.) So I used csup to update to the latest ports, built postgresql90-server from ports with LDAP and no DTrace, and it worked fine. Then I used pkg_delete to remove the postgresql packages (server and client), recompiled the kernel to include DTrace and eliminate some unused drivers, updated loader.conf to bring up dtraceall at boot, did a make clean and a make config to add DTrace, and built postgresql90-server again. It appeared to work fine, but now I'm getting segfaults when I try to launch it. Am I doing something obviously stupid here? Is there a good source for troubleshooting steps? What other information should I be posting to help y'all help me figure this out? -- Dave Pooser Cat-Herder-in-Chief, Pooserville.com "...Life is not a journey to the grave with the intention of arriving safely in one pretty and well-preserved piece, but to slide across the finish line broadside, thoroughly used up, worn out, leaking oil, and shouting GERONIMO!!!" -- Bill McKenna