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

psycopg can't find postgres process

From: Christoph Pingel <ch(dot)pingel(at)web(dot)de>
To: postgresql-general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: psycopg can't find postgres process
Date: 2005-02-25 13:49:06
Message-ID: a06100502be44dca19157@[62.224.46.210] (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-general
Trying to connect with a pgsql 8 server (locally), psycopg return this error:

Traceback (most recent call last):
   File "<stdin>", line 1, in ?
psycopg.OperationalError: could not connect to server: ?R@
         Is the server running locally and accepting
         connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

There is nothing like postgres under /var/run/, so I'm wondering how 
I can find out the the db server is running. Is this a known problem? 
Could it have to do with the search path (I have to specify to 
absolut path to start postmaster)?

best,
Christoph

pgsql-general by date

Next:From: Ian HardingDate: 2005-02-25 14:30:43
Subject: Re: basic trigger using OLD not working?
Previous:From: Venkatesh BabuDate: 2005-02-25 12:47:58
Subject: Re: Table UPDATE statement

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