Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2F5CA133655C for ; Fri, 1 Oct 2010 11:55:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 53859-07-2 for ; Fri, 1 Oct 2010 14:55:23 +0000 (UTC) X-Greylist: delayed 08:16:51.329723 by SQLgrey-1.7.6 Received: from kka003.ashisuto.co.jp (kka003.ashisuto.co.jp [202.32.38.142]) by mail.postgresql.org (Postfix) with ESMTP id 7D01C1337B83 for ; Fri, 1 Oct 2010 11:55:19 -0300 (ADT) Received: from kka003.ashisuto.co.jp (localhost [127.0.0.1]) by kka003.ashisuto.co.jp (xx.xx.xx/3.7W) with ESMTP id o91Et6Xm010086 for ; Fri, 1 Oct 2010 23:55:18 +0900 (JST) Received: from kka003.ashisuto.co.jp (localhost [127.0.0.1]) by kka003.ashisuto.co.jp (xx.xx.xx/3.7W) with ESMTP id o916cQgr019415 for ; Fri, 1 Oct 2010 15:38:26 +0900 (JST) Received: from ashisuto.co.jp (maildlv [192.168.1.242]) by kka003.ashisuto.co.jp (xx.xx.xx/3.7W) with ESMTP id o916cQ5p019408 for ; Fri, 1 Oct 2010 15:38:26 +0900 (JST) Received: from maildlv.ashisuto.co.jp (localhost [127.0.0.1]) by ashisuto.co.jp (8.14.3/8.11.6) with ESMTP id o916cPgd027964 for ; Fri, 1 Oct 2010 15:38:25 +0900 (JST) Received: from localhost [127.0.0.1] by maildlv.ashisuto.co.jp with ESMTP id RAA27957; Fri, 1 Oct 2010 15:38:25 +0900 Received: from mailtora.ashisuto.co.jp (mailtora [192.168.1.241]) by ashisuto.co.jp (8.14.3/8.11.6) with ESMTP id o916cOcA027950 for ; Fri, 1 Oct 2010 15:38:24 +0900 (JST) Received: from [192.168.23.183] ([192.168.23.183]) (authenticated) by mailtora.ashisuto.co.jp (xx.xx.xx./8.11.6) with ESMTP id o916cNn21046 for ; Fri, 1 Oct 2010 15:38:23 +0900 (JST) Message-ID: <4CA581DA.5010009@ashisuto.co.jp> Date: Fri, 01 Oct 2010 15:38:18 +0900 From: Kenichiro Tanaka User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: I can't get postgres started. References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/11 X-Sequence-Number: 35752 Hello If your listen_addresses is wrong,the same error can occur. example) $ cat postgresql.conf |grep listen_addresses #listen_addresses = '*' # what IP address(es) to listen on; $ psql -h 192.168.23.133 psql: could not connect to server: Connection refused Is the server running on host "192.168.23.133" and accepting TCP/IP connections on port 1844? Is your listen_addresses right? (2010/10/01 13:10), Tena Sakai wrote: > Hi everybody, > > Sorry, I previously didn’t put subject line. > > I recently built postgres 8.4.4 from source and tested it. > It seemed to work fine then, but I cannot seem to run psql > today. I built it to run on port 6543. Do I need to specify the > port number when I start it? > > Here’s the session dialog: > > bash-3.2$ pg_ctl stop -D /usr/local/pgsql/data > LOG: received smart shutdown request > LOG: autovacuum launcher shutting down > LOG: shutting down > waiting for server to shut down....LOG: database system is shut down > done > server stopped > bash-3.2$ > > bash-3.2$ pg_ctl start -D /usr/local/pgsql/data > server starting > bash-3.2$ LOG: database system was shut down at 2010-09-30 20:38:47 PDT > LOG: autovacuum launcher started > LOG: database system is ready to accept connections > bash-3.2$ > > bash-3.2$ psql canon > psql: could not connect to server: Connection refused > Is the server running on host "172.16.0.151" and accepting > TCP/IP connections on port 6543? > bash-3.2$ > > Thank you for your help. > > Regards, > > Tena Sakai > _tsakai@gallo.ucsf.edu_