Re: : Getting error while starting the server

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: VENKTESH GUTTEDAR <venkteshguttedar(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: : Getting error while starting the server
Date: 2015-02-24 06:40:17
Message-ID: CA+h6AhgsQVMUPi=eTUkQ6id=Hz8pnosKoviSB0Dp890pgBQe4Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> 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/

>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message amihay gonen 2015-02-24 07:07:41 Fwd: : Getting error while starting the server
Previous Message Pavel Stehule 2015-02-24 04:39:03 Re: rollback in function