Fwd: : Getting error while starting the server
От | amihay gonen |
---|---|
Тема | Fwd: : Getting error while starting the server |
Дата | |
Msg-id | CAKb+SBVxqF-Lsy_sPskDwK1ot65t0DU7fRsu4S1x27-PV_YM+w@mail.gmail.com обсуждение исходный текст |
Ответ на | : Getting error while starting the server (VENKTESH GUTTEDAR <venkteshguttedar@gmail.com>) |
Список | pgsql-general |
---------- Forwarded message ---------
From: amihay gonen <agonenil@gmail.com>
Date: Tue, 24 Feb 2015 09:07
Subject: Re: [GENERAL] : Getting error while starting the server
To: Raghavendra <raghavendra.rao@enterprisedb.com>
From: amihay gonen <agonenil@gmail.com>
Date: Tue, 24 Feb 2015 09:07
Subject: Re: [GENERAL] : Getting error while starting the server
To: Raghavendra <raghavendra.rao@enterprisedb.com>
Check postgresql conf file where the socket file is created.
On Tue, 24 Feb 2015 08:42 Raghavendra <raghavendra.rao@enterprisedb.com> wrote:
return Database.connect(**conn_params)File "/usr/local/lib/python3.4/dist-packages/psycopg2/__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
django.db.utils.OperationalError: could not translate host name "localhost" to address: Name or service not knownI guess problem with your server name resolution. Its worth checking as said, using psql -h localhost or ping localhost.
В списке pgsql-general по дате отправления: