X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B74643A46ED for ; Thu, 25 Nov 2004 09:55:00 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 87100-04 for ; Thu, 25 Nov 2004 09:54:56 +0000 (GMT) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by svr1.postgresql.org (Postfix) with ESMTP id 318EC3A470C for ; Thu, 25 Nov 2004 09:54:56 +0000 (GMT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-31.mail.demon.net with esmtp (Exim 4.42) id 1CXGL4-000H2k-4G; Thu, 25 Nov 2004 09:54:58 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 3964216AFF; Thu, 25 Nov 2004 09:54:54 +0000 (GMT) Message-ID: <41A5ABED.5030800@archonet.com> Date: Thu, 25 Nov 2004 09:54:53 +0000 From: Richard Huxton User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ElayaRaja S Cc: pgsql-general@postgresql.org Subject: Re: [HACKERS] Help! References: <79f1097e04112422418f21ae7@mail.gmail.com> In-Reply-To: <79f1097e04112422418f21ae7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/1264 X-Sequence-Number: 69344 ElayaRaja S wrote: > Hi, > While configuring OpenCRX by using Postgresql i am facing probmelm. > The problem while creating db using the command ( createdb -h > localhost -E utf8 -U system crx-CRX ) . > Erro: > createdb: could not connect to database template1: could not connect > to server: > Connection refused > Is the server running on host "localhost" and accepting > TCP/IP connections on port 5432? OK - it's saying it can't connect and asks you whether the server is running and accepting connections on localhost:5432. Is it? What does "service postgresql status" say? Have you checked your pg_hba.conf settings? > Details of Platfor that i am using: > 1) Linux 9 No such thing. Do you mean RedHat 9? > 2) Postgre SQL 7.4.5 > Note: I have doubt whether the error is due to my existing Postgresql > 7.3. Means while installing linux there is built in postgresql 7.3. > But i am installed postgresql 7.4.5. Plz let me know its very urgent. How did you install 7.4.5? How was 7.3 Installed? What errors did you see? There are RPMs available for RedHat 9 (if that's what you're running) - look in the "binary" folder on the download page. They should install without problem, just remove 7.3 before. -- Richard Huxton Archonet Ltd