[Zope] Socket.Error

Tino Wildenhain tino@wildenhain.de
Sat, 02 Sep 2000 09:32:51 +0200


Matthias Füsting wrote:
> The other day I have change my hostname.
> Today I have restart ZOPE and I get follow
> Error-Message:
> 2000-08-30T20:12:44 PROBLEM(100) ZServer Computing default hostname
> Traceback (innermost last):
>    File "/opt/zope/2-1-6/z2.py", line 493, in ?
>      logger_object=lg)
>    File "/opt/zope/2-1-6/ZServer/medusa/http_server.py", line 560, in __init__
>      ip = socket.gethostbyname (socket.gethostname())
> socket.error: host not found

Zope does a so called double-reverse lookup to make sure one can
unduptfully reresolve the hostname to its ip-address again.
It asks first for the name to the ip-address. Then it asks for
the ip-address to this name.
The question is, where did you change the name? In DNS you have
to change it in both databases.

Tino Wildenhain