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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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