Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 010BF2E0039 for ; Mon, 9 Jun 2008 11:39:31 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60181-07 for ; Mon, 9 Jun 2008 11:39:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by developer.postgresql.org (Postfix) with ESMTP id 29A762E0032 for ; Mon, 9 Jun 2008 11:39:25 -0300 (ADT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEAArdTEjLevdH/2dsb2JhbACBVK0/ X-IronPort-AV: E=Sophos;i="4.27,613,1204464600"; d="scan'208";a="122063962" Received: from ppp247-71.static.internode.on.net (HELO DevBox.local) ([203.122.247.71]) by ipmail01.adl6.internode.on.net with ESMTP; 10 Jun 2008 00:09:21 +0930 Message-ID: <484D4097.4070807@Sheeky.Biz> Date: Tue, 10 Jun 2008 00:09:19 +0930 From: Shane Ambler User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Simone Gadenz CC: pgsql-admin@postgresql.org Subject: Re: Connecting from xp to linux server References: <484D11CC.3050806@geologyx.it> In-Reply-To: <484D11CC.3050806@geologyx.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/53 X-Sequence-Number: 29391 Simone Gadenz wrote: > Hi all, > > this is the problem I am facing. > > I have PG 8.3 running on a KUBUNTU installation running on a virtual > machine. From inside the virtual machine I can use PGADMIN to manage PG > but when I try to connect from the xp machine I have this error: "Error > connecting to the server:FATAL: missing or erroneous pg_hba.conf file" . > > I set the permission in the pg_hba.conf on the server. > > The machine talk each oher, I can ping and use telnet on the 5432 port. > > The log on the server does not report any problem. > > Ideas? > If you can telnet then I would say your network and firewall is right and the error with pg_hba.conf is where you need to look. The pg_hba.conf is located in the data dir that you have specified for postgresql. Is it there? What entries do you have after all the comments? The errornous part would indicate a small syntax error or did you edit it on windows with cr/nl characters and copy it across to linux? -- Shane Ambler pgSQL (at) Sheeky (dot) Biz Get Sheeky @ http://Sheeky.Biz