[Zope] z2 Startup exception

Kevin Carlson khcarlso@bellsouth.net
Wed, 20 Mar 2002 09:25:56 -0500


I had a similar problem and once I made sure that the host name and domain
name were properly set everything worked fine.

I had to edit my /etc/hosts and etc/sysconfig/network and make sure the
hostnames matched.

Hope this helps.

Kevin

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Bill
Barnes
Sent: Wednesday, March 20, 2002 8:50 AM
To: Zope users
Subject: [Zope] z2 Startup exception


New installation of Zope.
Here is the screen from the start command:
[root@kgb02 zope]# ./start
------
2002-03-20T13:42:04 INFO(0) ZODB Opening database for mounting:
'142006424_1016626881.913133'
------
2002-03-20T13:42:04 INFO(0) ZODB Mounted database
'142006424_1016626881.913133' at /temp_folder
------
2002-03-20T13:42:04 PANIC(300) z2 Startup exception
Traceback (innermost last):
  File /usr/local/zope/z2.py, line 556, in ?
  File /usr/local/zope/ZServer/HTTPServer.py, line 320, in __init__
  File /usr/local/zope/ZServer/medusa/http_server.py, line 578, in __init__
error: host not found

And from the relevant z2.py


  if HTTP_PORT:
        if type(HTTP_PORT) is type(0): HTTP_PORT=((IP_ADDRESS, HTTP_PORT),)
        for address, port in HTTP_PORT:
            hs = zhttp_server(
                ip=address,
                port=port,
                resolver=rs,
                logger_object=lg)                 *line 556

TIA
-Bill

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )