From owner-freebsd-questions@FreeBSD.ORG Tue Apr 12 23:50:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC82316A4D8 for ; Tue, 12 Apr 2005 23:50:38 +0000 (GMT) Received: from mail.nativenerds.com (host-70-0-111-24.midco.net [24.111.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A65643D49 for ; Tue, 12 Apr 2005 23:50:38 +0000 (GMT) (envelope-from estover@nativenerds.com) Received: from red (host-14-37-230-24.midco.net [24.230.37.14]) j3D03sIe030240; Tue, 12 Apr 2005 18:03:55 -0600 (MDT) (envelope-from estover@nativenerds.com) From: Ed Stover To: Volodymyr Kostyrko In-Reply-To: References: <810a540e050407212817eb7cee@mail.gmail.com> Content-Type: text/plain Organization: Native Nerds Date: Tue, 12 Apr 2005 17:51:23 -0600 Message-Id: <1113349883.88379.11.camel@red.nativenerds.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail.nativenerds.com cc: freebsd-questions@freebsd.org Subject: Re: Can't control PostgreSQL with RC scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: estover@nativenerds.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 23:50:39 -0000 On Fri, 2005-04-08 at 10:59 +0300, Volodymyr Kostyrko wrote: > Pat Maddox wrote: > > I installed PostgreSQL 8.0.1 from ports, and now I'd like to control > > it with the RC scripts. I wasn't able to run initdb with the scripts, > > I had to do that manually with the regular initdb command. Now I've > > got the db dir as /usr/local/pgsql/data, which is what it looks like > > pgsql expects, but the scripts still won't start it or stop it. They > > don't produce any output either. Any ideas on what to do? > > echo 'postgresql_enable="YES"' >> /etc/rc.conf > that Darn rcsubr again ;)