[Zope] [Fwd: How-To: Installing and Upgrading Zope2.x]
John E. Vincent
john@lusis.org
Thu, 10 Feb 2000 23:46:43 -0500 (EST)
If no python guru but I was looking over http-server.py and it looks like
it trys several different methods on finding your hostname before
resorting to using the IP address. Try editing z2.py and changing the
field IP_ADDRESS='' to an actual IP address. just use 127.0.0.1. Also make
sure you have an entry in /etc/hosts for your localhost like this:
127.0.0.1 localhost.localdomain localhost
The default install should set this up for you.
Can any zope genius verify wether what I've said makes sense or not? Does
pythoin require any external resolver libraries to be installed for
gethostname?
hope I haven't sent you on a tangent.
On Thu, 10 Feb 2000, Chris McDonough
wrote:
> Lee, I'm forwarding this to the Zope list in case somebody else knows
> what's going on, because I don't :-)
>
> Lee Catlett wrote:
> >
> > Hi Chris and thanks for the How-To,
> > I was doing just find until I got to the ./start at the very end to
> > see if everything worked and all went south. I received the following:
> >
> > Traceback (innermost last):
> > File "/usr/local/zope/Zope213/z2.py", line 493, in ?
> > logger_object=lg)
> > File "/usr/local/zope/Zope213/ZServer/medusa/http-server.py", line
> > 560, in __init__
> > ip = socket.gethostbyname (socket.gethostname())
> > socket.error: host not found
> >
> > As this is a new install on RedHat 6.1, have I missed setting up
> > something or what??
> > Any help or advise a great help as I haven't a clue as to what to do.
> > Thanks.
> > Lee
>
>
--
John E. Vincent
http://www.lusis.org - opensource(libre) webhosting
http://www.jyradelix.com - Jyradelix Designs
http://www.lusis-integrations.com - Lusis Network Integration Consultants
---------------
"Some people call me crazy but I prefer to think of myself as a freelance
lunatic" - me