PostgreSQL 6.4 fails connect on local UNIX Sockets

From: "O(dot)J(dot)" <fpojb(at)nlh10(dot)nlh(dot)no>
To: pgsql-admin(at)postgresql(dot)org
Subject: PostgreSQL 6.4 fails connect on local UNIX Sockets
Date: 1998-12-09 08:00:33
Message-ID: 366E2E21.720BBABB@fpark.nlh.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I am runing Postgres 6.4 on two RedHat 5.1 systems.

At one of them, i cannot connect thrugh Unix domain sockets(using psql
or DBI), only thru Internet domain sockets, EXCEPT of when i am logged
in as the Postgres superuser. (It is acting like a opposite of the
postmaster's -i
flag).

I have tried dump/restore of the database, copying the entire data
directory, and creating a hole clean databasesystem with initd.

When i try to connect i get the

ojb(at)server ojb]$ psql ojb
Connection to database 'ojb' failed.
connectDB() failed: Is the postmaster running and accepting connections
at 'UNIX Socket' on port '5432'?

If i try the "psql -h localhost ojb" it connects successfully.

The kernel has also been modified on the problem-machine. May this be
the reason? Other programs uses Unix sockets OK.

--
Med vennlig hilsen / Yours sincerly \____/
/\__/\
Ole-Jørgen Bjerve - mailto:fpojb(at)fpark(dot)nlh(dot)no __/_/\/\_\___
Forskningparken i Aas - faks: 64 94 84 35 \ \/\/ /
http://www.fparkas.no \/__\/
http://fpwww.nlh.no ___ __ _ _ _ _ _ _ _/ \

Browse pgsql-admin by date

  From Date Subject
Next Message #ANG LI MIN# 1998-12-09 08:08:16 Enquiries
Previous Message Adam Maddock 1998-12-08 19:26:05 Postgre security