Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6CB6564FCFB for ; Thu, 11 Sep 2008 15:00:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 16645-10 for ; Thu, 11 Sep 2008 15:00:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.eliteswa.com (mail.eliteswa.com [71.216.117.110]) by postgresql.org (Postfix) with ESMTP id B6E9664FCD2 for ; Thu, 11 Sep 2008 15:00:01 -0300 (ADT) Received: from mobile-166-214-161-152.mycingular.net (mobile-166-214-161-152.mycingular.net [166.214.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.eliteswa.com (Postfix) with ESMTPSA id 59A94602C9 for ; Thu, 11 Sep 2008 12:30:21 -0500 (CDT) Message-ID: <48C95CA4.7070408@johndubchak.com> Date: Thu, 11 Sep 2008 13:00:04 -0500 From: John User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: Re: starting postgres on red hat References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/102 X-Sequence-Number: 30195 Scott Marlowe wrote: > Oh yeah, please note that the proper way to start and stop services on > RH oses is via the service command: > > service postgresql start > service postgresql initdb > > etc... > Scott, How does the above compare with using postmaster to start PostgreSQL? I tried in the past to use the "service postgresql start" command, but couldn't connect from a java application. I gave up and have been using a script that uses postmaster to append a "-i" to the command line to allow TCP/IP connections from a Java app. Can that be configured in postgresql.conf? Thanks, John