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

Re: Can't connect to socket in Debian distribution

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "KEVIN ZEMBOWER" <KZEMBOWER(at)jhuccp(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Can't connect to socket in Debian distribution
Date: 2002-11-27 18:52:51
Message-ID: 20774.1038423171@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"KEVIN ZEMBOWER" <KZEMBOWER(at)jhuccp(dot)org> writes:
> When I try to run psql as root, I get this error:
> www2:/etc/postgresql# psql -p mnogosearch mnogosearch
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.0"?

"-p" is probably not what you want here.  It looks like the code is
failing to notice that the argument of -p doesn't look like an integer...

			regards, tom lane

In response to

pgsql-novice by date

Next:From: KEVIN ZEMBOWERDate: 2002-11-27 20:10:22
Subject: Re: Can't connect to socket in Debian distribution
Previous:From: KEVIN ZEMBOWERDate: 2002-11-27 18:07:59
Subject: Can't connect to socket in Debian distribution

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