Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 117859FB617 for ; Sun, 8 Jul 2007 13:29:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 26372-01 for ; Sun, 8 Jul 2007 13:29:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D5F239FB435 for ; Sun, 8 Jul 2007 13:29:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l68GTOfG000834; Sun, 8 Jul 2007 12:29:25 -0400 (EDT) To: David cc: pgsql-admin@postgresql.org Subject: Re: Start problem on Linux In-reply-to: <46910482.3070500@theflorys.org> References: <46910482.3070500@theflorys.org> Comments: In-reply-to David message dated "Sun, 08 Jul 2007 11:36:34 -0400" Date: Sun, 08 Jul 2007 12:29:24 -0400 Message-ID: <833.1183912164@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/68 X-Sequence-Number: 26049 David writes: > First: When I restart the Ubuntu server, the Postgres instance is > started and listens on port 5432 using ssl as requested. However, it > does not created its postmaster.pid file in the PGDATA directory. The postmaster will certainly not start without creating a postmaster.pid file. What I think is happening is that you are confused about where PGDATA is, ie, the start script has some other value for it than you think. > Second: If I manually stop the system and then start it (su postgres) > using "pg_ctl start" the system starts and creates its postmaster.pid > file correctly. However, this time port 5432 remains closed and I > cannot connect from the outside. Sounds like your idea of PGDATA contains different configuration files than the start script's idea of it --- after the port number, listen_addresses and pg_hba.conf would be the things to check. regards, tom lane