Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 89BD3475E25 for ; Sun, 8 Dec 2002 00:30:19 -0500 (EST) Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by postgresql.org (Postfix) with SMTP id D5735475843 for ; Sun, 8 Dec 2002 00:30:18 -0500 (EST) Received: from adsl-63-201-231-236.dsl.snfc21.pacbell.net (HELO kavo) (p?kavanagh@63.201.231.236 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 8 Dec 2002 05:30:24 -0000 From: "Paul Kavanagh" To: , Subject: Re: Connection problem (newbie question) Date: Sat, 7 Dec 2002 21:30:33 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <005101c29e3a$5f815b40$6600a8c0@BLUEFIN> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/86 X-Sequence-Number: 6581 Thanks TaChung, and I tried that, but unfortunately the end result was the same: $ psql template1 psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? Connecting to the port via telnet fails: $ telnet localhost 5432 Connecting To localhost...Could not open a connection to host on port 5432 : Connect failed I tried connecting via pgAdmin 11 (1.4) and got the following error msg: "Number: -2147467259 Description: Could not connect to the server; Could not connect to the remote socket" Finally, I ran 'ps -ef' just after the postmaster successfully started (or so it says), but there's no sign of any postgresql related processes: $ ps -ef UID PID PPID TTY STIME COMMAND pkavan 1868 1 con 11:07:57 /usr/bin/bash pkavan 1692 1868 con 21:27:06 /usr/bin/ps I'm guessing the problems are all interconnected, but I thought the above info might help.. Thanks in advance, -Paul > -----Original Message----- > From: TaChung Huang [mailto:tachung_h@yahoo.com] > Sent: Saturday, December 07, 2002 1:48 PM > To: 'Paul Kavanagh'; pgsql-admin@postgresql.org > Subject: RE: [ADMIN] Connection problem (newbie question) > > > HI Paul: you would need to specify a database name such as the > "template1". The "template1" database is installed by default as you > install PostgreSQL. > > psql > > If you do not specify a database name, the default database name that > psql will use is 'postgresql" > > > Regards > TaChung Huang (¶À¤j©¾) > > > > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Paul Kavanagh > Sent: Saturday, December 07, 2002 12:51 PM > To: pgsql-admin@postgresql.org > Subject: [ADMIN] Connection problem (newbie question) > > > Hi, > > I've just installed Postgresql 7.3 via Cygwin on Win2K, started the > postmaster successfully, yet cannot connect using psql. See below for > trace: > > $ pg_ctl start -D /usr/share/postresql/data -l serverlog postmaster > successfully started > > $ psql > psql: could not connect to server: No such file or directory > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > > I've attached my .conf. > > Any ideas ? > > Thanks in advance, > -Paul