From owner-freebsd-questions@FreeBSD.ORG Fri Apr 8 08:03:33 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 504AC16A4CE for ; Fri, 8 Apr 2005 08:03:33 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02FCE43D41 for ; Fri, 8 Apr 2005 08:03:33 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DJoPN-0004MB-D0 for freebsd-questions@freebsd.org; Fri, 08 Apr 2005 10:00:05 +0200 Received: from ns.ag.dn.ua ([213.130.22.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Apr 2005 10:00:05 +0200 Received: from arcade by ns.ag.dn.ua with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Apr 2005 10:00:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Fri, 08 Apr 2005 10:59:13 +0300 Lines: 12 Message-ID: References: <810a540e050407212817eb7cee@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ns.ag.dn.ua User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; uk-UA; rv:1.8b) Gecko/20050327 In-Reply-To: <810a540e050407212817eb7cee@mail.gmail.com> Sender: news Subject: Re: Can't control PostgreSQL with RC scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 08:03:33 -0000 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 -- [WBR], Arcade. [SAT Astronomy/Think to survive!]