Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C5D63476EA1 for ; Wed, 22 Jan 2003 11:19:52 -0500 (EST) Received: from mach.laeff.esa.es (hubble.laeff.esa.es [193.147.152.202]) by postgresql.org (Postfix) with ESMTP id C4A91476E50 for ; Wed, 22 Jan 2003 11:07:47 -0500 (EST) Received: from laeff.esa.es (marconi [192.168.130.153]) by mach.laeff.esa.es (8.9.3/8.9.3) with ESMTP id RAA01004; Wed, 22 Jan 2003 17:05:50 +0100 (MET) Message-ID: <3E2EC1AB.F431C2B0@laeff.esa.es> Date: Wed, 22 Jan 2003 17:07:07 +0100 From: =?iso-8859-1?Q?Ra=FAl=20Guti=E9rrez=20S=E1nchez?= X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: es, en MIME-Version: 1.0 To: "Andrei Verovski (aka MacGuru)" Cc: pgsql-admin@postgresql.org Subject: Re: PostgreSQL 7.3 and SuSE 8.1 problem References: <2C64ED94-2E1F-11D7-86DD-0003936EF034@starlett.lv> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/243 X-Sequence-Number: 7085 Make sure you have started the server allowing TCP/IP connections (-i option form postmaster command). Otherwise, only local Unix domain socket connections are accepted. Regards, Raul Gutierrez "Andrei Verovski (aka MacGuru)" wrote: > > Hi, > > I have problem with SuSE Linux 8.1 and PostgreSQL 7.3 (all SuSE built > packages). > > PostgreSQL server (which is launched via "rcpostgesql start") refuses > connections from localhost (to any database), whenever I am trying to > connect with phpPgAdmin or pgaccess with message "blah blah blah... > refused connection" as user "postgres" and no password (or password of > UNIX user "postgres"). > > However, I can connect with psql command-line utility as user > "postgres", AND with Webmin (without any additional logon parameters > except root/password at the beginning). This is quite strange. > > I have checked PostgreSQL config files (hba.conf), and enabled all > connections from localhost and local network (192.168.*.*) with "trust" > parameter. > > Also, I have changed password for UNIX user "postgres" as "abc", but > anyway, it did not worked from PHP and pgaccess. > > PS. Yes, I have done "initdb", and PostgreSQL server is running. > > Thanks in advance for any suggestion. > > ********************************************* > * Best Regards --- Andrei Verovski > * > * Personal Home Page > * http://snow.prohosting.com/guru4mac > * Mac, Linux, DTP, Development, IT WEB Site > ********************************************* > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly