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: (view raw, whole thread or download thread mbox)
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
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
/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'?

running netstat -a|grep 5432 gives me

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

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

Any ideas about what could be wrong?



BN3 Hosted Customer Service Solution, basic service FREE.
CRM enable your web site in 5 minutes!

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-2017 The PostgreSQL Global Development Group