Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eBCIphm28599 for ; Tue, 12 Dec 2000 13:51:43 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBCHl3m18715; Tue, 12 Dec 2000 12:47:03 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id eBCHlDQ02208; Tue, 12 Dec 2000 12:47:13 -0500 (EST) To: Andrew Perrin - Demography cc: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Re: [GENERAL] postmaster does not start up In-reply-to: References: Comments: In-reply-to Andrew Perrin - Demography message dated "Tue, 05 Dec 2000 09:40:10 -0800" Date: Tue, 12 Dec 2000 12:47:13 -0500 Message-ID: <2205.976643233@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200012/85 X-Sequence-Number: 280 Andrew Perrin - Demography writes: > Greetings - this is with a newly-compiled 7.0.3 under debian 2.2 on a > pentium box. All compiling went just fine; however, although the > postmaster is running based on ps, it can't be accessed. Any ideas will be > much appreciated. > postgres@nujoma:~$ /usr/local/pgsql/bin/pg_ctl start > postgres@nujoma:~$ psql > Connection to database 'template1' failed. > connectDB() -- connect() failed: Connection refused > Is the postmaster running at 'localhost' and accepting connections on Unix > socket '5432'? Hmm. Where are you invoking psql from, and is it the same one you compiled yourself? ISTR that the Debian RPMs use a nonstandard location of the pgsql Unix socket file, which means that an RPM psql will NOT talk to a standard compilation of the postmaster, nor vice versa. I've complained about that packaging choice in the past ;-) regards, tom lane