From: | amihay gonen <agonenil(at)gmail(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Fwd: : Getting error while starting the server |
Date: | 2015-02-24 07:07:41 |
Message-ID: | CAKb+SBVxqF-Lsy_sPskDwK1ot65t0DU7fRsu4S1x27-PV_YM+w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
---------- Forwarded message ---------
From: amihay gonen <agonenil(at)gmail(dot)com>
Date: Tue, 24 Feb 2015 09:07
Subject: Re: [GENERAL] : Getting error while starting the server
To: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
Check postgresql conf file where the socket file is created.
On Tue, 24 Feb 2015 08:42 Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)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 known
>>
>>
> I guess problem with your server name resolution. Its worth checking as
> said, using psql -h localhost or ping localhost.
>
> ---
> Regards,
> Raghavendra
> EnterpriseDB Corporation
> Blog: http://raghavt.blogspot.com/
>
>>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Mitu Verma | 2015-02-24 07:15:17 | Leap second impact on postgreSQL on June 30 2015 |
Previous Message | Raghavendra | 2015-02-24 06:40:17 | Re: : Getting error while starting the server |