postmaster doesn't work with UNIX sockets - Mailing list pgsql-novice

From Fawad Halim
Subject postmaster doesn't work with UNIX sockets
Date
Msg-id 3A18606A.3483EA12@fawad.net
Whole thread Raw
List pgsql-novice
I'm having trouble connecting to postmaster without using the UNIX
sockets interface.

I'm starting postmaster as....

------------------------

fawad:~/bin$ postmaster -d 5&
[1] 2899
fawad:~/bin$ FindExec: found "/usr/local/pgsql/bin/postgres" using
argv[0]
binding ShmemCreate(key=52e2c1, size=1104896)
DEBUG:  Data Base System is starting up at Sun Nov 19 17:17:07 2000
DEBUG:  Data Base System was shut down at Sun Nov 19 17:17:00 2000
DEBUG:  Data Base System is in production state at Sun Nov 19 17:17:07
2000
proc_exit(0)
shmem_exit(0)
exit(0)
/usr/local/pgsql/bin/postmaster: reaping dead processes...

------------------------

after that, when I run psql, it gives me the error


------------------------
fawad:~/bin$ psql
psql: connectDBStart() -- connect() failed: No such file or directory
    Is the postmaster running at 'localhost'
    and accepting connections on Unix socket '5432'?
fawad:~/bin$
------------------------



running netstat -a|grep 5432 gives me

fawad:~/bin$ netstat -a|grep 5432
unix  2      [ ACC ]     STREAM     LISTENING     12794
/tmp/.s.PGSQL.5432



I'm running kernel 2.4.0-test10 on debian 'woody'

Any ideas about what could be wrong?


Thanks


-fawad

____________________________
BN3 Hosted Customer Service Solution, basic service FREE.
CRM enable your web site in 5 minutes! http://www.bn3.com

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Upgrade problems
Next
From: Mickaël Jouanne
Date:
Subject: Some problem on the data base server !