[Zope] Starting Zope2 on Win95

James M. Slack slack@orion.cs.mankato.msus.edu
Sun, 25 Jul 1999 20:34:12 -0500 (CDT)


I renamed hosts.sam to hosts, rebooted the machine, and still get the
same error message:

C:\Programs\Zope>start

C:\Programs\Zope>"C:\Programs\Zope\bin\python.exe"
"C:\Programs\Zope\z2.py"

Traceback (innermost last):
  File "C:\Programs\Zope\z2.py", line 417, in ?
    logger_object=lg)
  File "C:\Programs\Zope\ZServer\medusa\http_server.py", line 528, in
__init__
    ip = socket.gethostbyname (socket.gethostname())
socket.error: host not found

Weird...  (Thanks for the suggestions so far!)



On Sun, 25 Jul 1999, Anthony Pfrunder wrote:

> No,
>
> It needs to be called HOSTS (not HOSTS.SAM) or Windows won't read it

On Sun, 25 Jul 1999, Rob Page wrote:

> > I have a HOSTS.SAM file in C:\WINDOWS with the entry
> >   127.0.0.1       localhost
> 
> the hosts.sam that comes with windows is the SAMple.
> 
> copy hosts.sam hosts
> 
> that should work
> 
> --Rob
>