[GENERAL] could not translate host name - Mailing list pgsql-general

From Tom Ekberg
Subject [GENERAL] could not translate host name
Date
Msg-id alpine.LRH.2.01.1702241337450.12808@hymn02.u.washington.edu
Whole thread Raw
Responses Re: [GENERAL] could not translate host name  (Steve Atkins <steve@blighty.com>)
Re: [GENERAL] could not translate host name  (John R Pierce <pierce@hogranch.com>)
Re: [GENERAL] could not translate host name  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
I'm running postgres 9.6.2 (also happened on 9.3.14) and have a cron job that runs hourly that runs a program that does
mostlypostgres SELECTs on a different host. Occasionally I get email (not hourly) from the cron daemon that contains a
stacktrace that ends with this: 

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db3.labmed.uw.edu" to
address:Name or service not known 

It has happened about 9 times so far this month. I have one of our network people look into this but there is no real
answer.I could use the IP address but I'd rather not. This problem only happens on one host. I moved the data from db2
todb3. I was getting similar emails regarding db2 which runs the older postgres. 

Any ideas on how to proceed?

Tom Ekberg
Senior Computer Specialist, Lab Medicine
University of Washington Medical Center
1959 NE Pacific St, MS 357110
Seattle WA 98195
work: (206) 598-8544
email: tekberg@uw.edu




pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: [GENERAL] SELECT x'00000000F'::int leading zeros causes "integerout of range"
Next
From: Steve Atkins
Date:
Subject: Re: [GENERAL] could not translate host name