[Zope] startup exception

Jens Vagelpohl jens@zope.com
Tue, 13 Aug 2002 10:22:16 -0400


<please keep this on the list so other people can benefit from it, too>

i think you can use /etc/hostconfig for that, but i am not sure if other=20=

things might break if you change that setting from -AUTOMATIC- to a host=20=

name. it will most likely give you trouble whenever you connect the =
machine=20
to a network where that host name cannot be resolved anymore.

on the other hand, why can't the "automatic" hostname not be resolved? =
are=20
you sure your DNS settings are correct?

jens


On Tuesday, August 13, 2002, at 10:15 , baiewola@netscape.net wrote:

> Thank you, Jens. Yes, I'm using OS X.
>
> I had set the hostname already and just did it again. It seems like =
what=20
> is happening is that the hostname is resetting itself when I restart =
the=20
> computer. Is there a configuration file somewhere that I can change to=20=

> hard-code it in?
>
> Chris
>
>
> Jens Vagelpohl <jens@zope.com> wrote:
>
>> the machine name of the machine you are using cannot be resolved to =
an IP.
>> =A0make sure the machine name is resolvable. use hostname -s =
<newhostname>
>>  to
>> change the hostname if needed. this is described here under the =
header
>> "Zope"::
>>
>> http://www.zope.org/Members/jens/docs/zope_osx
>>
>> (i assume you are running OS X, i think Fink is OS X-only)
>>
>> jens
>>
>>
>> On Tuesday, August 13, 2002, at 08:35 , baiewola@netscape.net wrote:
>>
>>> I just installed Zope 2.5.1. It installed alright and seemed to be=20=

>>> running
>>> okay. I did some other installations for Fink and MySQL, then I went =
back
>>> to Zope to change the default startup switch from -D to -Z '' and =
now it
>>> something strange happens. It seems to start up but a few seconds =
later=20
>>> it
>>> spits out this line:
>>>
>>> [1] =A0 =A0Done =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0./start
>>>
>>> If I look at the running processes immediately after startup up Zope =
(and
>>> before receiving the "done" message), there is a z2.py process =
running=20
>>> for
>>> a few seconds.
>>>
>>> I thought maybe I screwed up the start file, but changing it back to =
-D
>>> didn't work, so I started Zope up myself from the command line, like=20=

>>> this:
>>> myuser% /usr/local/bin/python2.1 /Applications/Zope/z2.py -D
>>>
>>>
>>> And I received a startup exception that I don't understand:
>>> ------
>>> 2002-08-13T12:06:26 INFO(0) ZODB Opening database for mounting:
>>> '12691952_1028915609.880719'
>>> ------
>>> 2002-08-13T12:06:26 INFO(0) ZODB Mounted database
>>> '12691952_1028915609.880719' at /temp_folder
>>> ------
>>> 2002-08-13T12:06:27 PANIC(300) z2 Startup exception
>>> Traceback (innermost last):
>>> =A0 File /Applications/Zope/z2.py, line 558, in ?
>>> =A0 File /Applications/Zope/ZServer/HTTPServer.py, line 320, in =
__init__
>>> =A0 File /Applications/Zope/ZServer/medusa/http_server.py, line 578, =
in
>>> __init__
>>> error: host not found
>>>
>>> Help!
>>>
>>>
>>
>>
>> _______________________________________________
>> Zope maillist =A0- =A0Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> ** =A0 No cross posts or HTML encoding! =A0**
>> (Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>>
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.=20
> Experience the convenience of buying online with Shop@Netscape!=20
> http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at =
http://webmail.
> netscape.com/
>