[Zope] Problem starting zope on Win98

David Burton eloquence@eloquent-designs.f2s.com
Mon, 5 Mar 2001 17:11:37 -0000


This looks like its exactly the same as I get when I run Zope on 98 - and I
don't have any problems.

This does mean that it's listening on port 8080, though, so to try to
connect to the page you need to visit http://localhost:8080/ not
http://localhost/ - if this is all you're getting from Zope then you
shouldn't then have a problem.

Apart from that, if you want Zope to listen on the default HTML port (port
80), open z2.py in the root of the Zope installation folder (in notepad will
do but PythonWin's better) and look for the following lines:

# Port for HTTP Server. The standard port for HTTP services is 80
HTTP_PORT=8080

Change it to read HTTP_PORT=80 and restart Zope, and you'll have Zope
listening on the default HTTP port, so you can then go to http://localhost/
and get the initial Zope page.

David Burton

----- Original Message -----
From: "Paul Browning" <paul.browning@bristol.ac.uk>
To: "Phil Harris" <phil.harris@zope.co.uk>; "Ben Edwards"
<ben@videonetwork.org>
Cc: "zope" <zope@zope.org>
Sent: Monday, March 05, 2001 4:34 PM
Subject: Re: [Zope] Problem starting zope on Win98


>
>
> --On 23 February 2001 22:31 +0000 Phil Harris <phil.harris@zope.co.uk>
> wrote:
>
> > Paul/Ben,
> >
> > Would it be possible for you to send a copy of the output from the Zope
> > start.bat script?
> >
> > I've *never* had any problem when running Zope on any of the 32 bit
> > Windows, (getting it running on Windows 3.1 was hard tho, just kidding).
> >
> > My first guess is that the localhost/other domains are not in your hosts
> > file, but I can't be definitive.
>
> Well, prompted by the tip at today's Zope Newbies, I revisted this (the
> problem is not on a machine I use regularly).
>
> The Good News: I had a hosts.sam file in C:\Windows so I copied it to a
> file called hosts (with a localhost entry).
>
> The Bad News: It still won't work! As requested the output from the
> Zope start.bat script is appended.
>
> The weird thing is that Personal Web Server works just fine on port
> 80 for localhost (and this worked before setting up the hosts file).
>
> Paul
>
> C:\Program Files\zope230>"C:\Program Files\zope230\bin\python.exe"
> "C:\Program F
> iles\zope230\z2.py" -D
> ------
> 2001-03-05T15:29:55 INFO(0) ZServer HTTP server started at Mon Mar 05
> 15:29:55 2
> 001
>         Hostname: DUNITE
>         Port: 8080
> ------
> 2001-03-05T15:29:55 INFO(0) ZServer FTP server started at Mon Mar 05
> 15:29:55 20
> 01
>         Hostname: glpb
>         Port: 8021
> ------
> 2001-03-05T15:29:55 INFO(0) ZServer PCGI Server started at Mon Mar 05
> 15:29:55 2
> 001
>         Inet socket port: 8090
>
> --
>  The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
>      E-mail: paul.browning@bristol.ac.uk  URL: http://www.bris.ac.uk/
>
>
> _______________________________________________
> 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 )