Skip site navigation (1) Skip section navigation (2)

postmaster doesn't work with UNIX sockets

From: Fawad Halim <fawad(at)fawad(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: postmaster doesn't work with UNIX sockets
Date: 2000-11-19 23:21:15
Message-ID: 3A18606A.3483EA12@fawad.net (view raw or flat)
Thread:
Lists: 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

Next:From: Mickaƫl JouanneDate: 2000-11-20 10:28:22
Subject: Some problem on the data base server !
Previous:From: Tom LaneDate: 2000-11-19 18:02:50
Subject: Re: Upgrade problems

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group