Search Postgresql Archives

Re: : Getting error while starting the server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




    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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux