[Zope] Heeeeeeeeeeeeelp (login problem)

Charlie Reiman creiman@kefta.com
Mon, 22 Jul 2002 10:05:04 -0700


It looks like your networking is fine. TCP is installed and working. The
kicker is your netstat output clearly shows you have no server listening on
port 8080

  Proto  Lokaal adres          Extern adres        Status
  TCP    127.0.0.1:1030         0.0.0.0:0              LISTENING
  TCP    169.254.183.194:137    0.0.0.0:0              LISTENING
  TCP    169.254.183.194:138    0.0.0.0:0              LISTENING
  TCP    169.254.183.194:139    0.0.0.0:0              LISTENING
  UDP    127.0.0.1:1030         *:*
  UDP    169.254.183.194:137    *:*
  UDP    169.254.183.194:138    *:*

For HTTP (web stuff), we only care about TCP ports. The ones shown LISTENING
are (surprise) listening, which means there is a server process listening on
that port. You should see Zope showing up there as something like:

 TCP   127.0.0.1:8080   0.0.0.0:0   LISTENING

Although it might also be

 TCP   169.254.183.194:8080   0.0.0.0:0   LISTENING


It doesn't really mattter. Is this the output from when you had Zope
running? If so, then Zope just isn't starting up correctly. If, OTOH, you
weren't running zope, start it up and try the netstat again. Zope might not
be listening on 8080 and netstat will show you which ports are listening.

Did you ever send the output from your start.bat to the newsgroup?

BTW, "stack" is network speak for drivers/software, more or less. There's
more to it than that but for most day to day life, that's a good enough
explanation. Since you can call netstat, ipconfig, and ping and get
reasonable output, your networking software is definately up and running.



-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Breuer,
Yvon
Sent: Monday, July 22, 2002 12:43 AM
To: zope@zope.org
Cc: creiman@kefta.com; tpassin@mitretek.org; renfro@tntech.edu;
plasser@hexagon.at; douwe@oberon.nl
Subject: RE: [Zope] Heeeeeeeeeeeeelp (login problem)


Hi again,

Charlie asked me several questions (thanx for trying to help!) wich I'll
answer below:

By the way:
Because I have a Dutch windows version, some of the output is in Dutch, but
I don't think it will be a big problem because these outputs are always in a
standard layout.

-----------------------------------------------------------

Computer turned on?

Yep, looks like it.    ;-))

-----------------------------------------------------------

Ms Internet Explorer version?

I've upgraded from 4.0 (not 4.5) to 6.0.

-----------------------------------------------------------

Windows version?

C:\>ver

Windows 98 [Versie 4.10.1998]

(That is: Second Edition)

-----------------------------------------------------------

Output of: ping 127.0.0.1

C:\>ping 127.0.0.1

Pingen naar 127.0.0.1 met 32 byte gegevens:

Antwoord van 127.0.0.1: bytes=32 time<10ms TTL=128
Antwoord van 127.0.0.1: bytes=32 time<10ms TTL=128
Antwoord van 127.0.0.1: bytes=32 time<10ms TTL=128
Antwoord van 127.0.0.1: bytes=32 time<10ms TTL=128

Pingstatistieken voor 127.0.0.1:
    Packets: verzonden = 4, ontvangen = 4, kwijtgeraakt = 0 (0% verlies),
Retourtijd bij benadering in milliseconden:
    Minimum = 0ms, Maximum =  0ms, Gemiddeld =  0ms

-----------------------------------------------------------

TCP stack installed?

Huh? Guess not...

(How can I check this?)

-----------------------------------------------------------

Output of: ipconfig /all?

C:\>ipconfig /All
Windows 98 IP-Configuratie
Opdrachtregelopties:
 /All - Gedetailleerde informatie weergeven.
 /Batch [file] - Naar bestand schrijven of ./WINIPCFG.OUT
 /renew_all    - Alle adapters vernieuwen.
 /release_all  - Alle adapters vrijgeven.
 /renew   N    - Adapter vernieuwen N.
 /release N    - Adapter vrijgeven N.


(That's all output! Therefore I tried the same command without options (see
following).)

-----------------------------------------------------------

Output of: ipconfig

C:\>ipconfig

Windows 98 IP configuratie

0 Ethernet adapter :

        IP-adres . . . . . . . . . . . : 169.254.183.194
        Subnetmasker . . . . . . . . . : 255.255.0.0
        Standaardgateway . . . . . . . :

1 Ethernet adapter :

        IP-adres . . . . . . . . . . . : 0.0.0.0
        Subnetmasker . . . . . . . . . : 0.0.0.0
        Standaardgateway . . . . . . . :


-----------------------------------------------------------

Output of: netstat -n -a

C:\>netstat -n -a

Actieve verbindingen (= Active connections)

  Proto  Lokaal adres          Extern adres        Status
  TCP    127.0.0.1:1030         0.0.0.0:0              LISTENING
  TCP    169.254.183.194:137    0.0.0.0:0              LISTENING
  TCP    169.254.183.194:138    0.0.0.0:0              LISTENING
  TCP    169.254.183.194:139    0.0.0.0:0              LISTENING
  UDP    127.0.0.1:1030         *:*
  UDP    169.254.183.194:137    *:*
  UDP    169.254.183.194:138    *:*


-----------------------------------------------------------

Telnet to Zope possible?

C:\>telnet 127.0.0.1 8080

Result: Cannot connect to 127.0.0.1

-----------------------------------------------------------

Proxy system installed?

Yes, to dail-in to my ISP a proxy is used.

I.E. Menu: Extra - Internet options - Connections
Never choose a connection

I.E. Menu: Extra - Internet options - Connections - Settings
Use proxy-server for this connection: On
Proxy-server --> proxy.hetnet.nl
Port --> 8080
Do NOT use proxy-server for local addresses --> On

-----------------------------------------------------------

The way I see it, allthough I've got myself a NIC it still doesn't work,
because my network settings are not ok. But I don't know how to make them
correct.
You see, I know how to program (at least I think I do...) but I'm not into
networking stuff (as you already found out :-) ).

Hopefully this can contribute to solving my problem!!!

Best regards,

Yvon Breuer



-----Original Message-----
From: Charlie Reiman [mailto:creiman@kefta.com]
Sent: Donnerstag, 18. Juli 2002 19:34
To: Breuer, Yvon; zope@zope.org
Cc: tpassin@mitretek.org; renfro@tntech.edu; plasser@hexagon.at;
douwe@oberon.nl
Subject: RE: [Zope] Heeeeeeeeeeeeelp (login problem)


More suggestions & questions:

* Do you have some sort of proxy system installed?
* can you telnet to zope? "telnet 127.0.0.1 8080"
* what's the output from "netstat -n -a"?
* what's the output from "ipconfig /all"?
* can you ping yourself? "ping 127.0.0.1"
* is the TCP stack installed?
* is the computer plugged in and turned on? :-)

Now that I wrote those out, you probably should try them in reverse order...

It sounds like you have basic networking issues. Unfortunately, you've got
them under '98 which means most of us will wince and tell you to upgrade to
NT/2000/XP/Linux, which I know you probably don't want to hear. To be
honest, I'm not even sure if netstat and ipconfig are available under '98.

I wish I could be more help. Of course, I wish Microsoft never reased '98,
too.

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Breuer,
Yvon
Sent: Thursday, July 18, 2002 1:10 AM
To: zope@zope.org
Cc: tpassin@mitretek.org; renfro@tntech.edu; plasser@hexagon.at;
douwe@oberon.nl
Subject: RE: [Zope] Heeeeeeeeeeeeelp (login problem)


Hi again,

First of all I'd like to thank those who've been trying to help me.
Unfortunately it hasn't been successfull so far. So, here's an update on the
current status. Maybe you'll find more info to help me out.   :-)

When I wrote my first mail (see below) this was how START.BAT looked like:
Trying offline with no NIC installed, see attachment: no_nic_offline.txt
Trying online with no NIC installed, see attachtment: no_nic_online.txt
And my hosts.sam file looked like this (still does), see attachment:
hosts.txt

After your tips I tried several but --as you already understood-- without
success. So, I got myself a NIC and installed it. It was recognized by Win98
and drivers were installed. Now I tried to login offline again but unluckily
again without success. This is how START.BAT looked like:
with_nic_offline.txt

Other settings etc.:
Windows 98 SE
Computername: POPEYE
Browser: Ms Internet Explorer 4.5
Zope version: 2.5.1
Zope superuser: StJohnHospital
NB: Everytime I tried to login, I used all of the following addresses:
http://localhost:8080/manage
http://popeye:8080/manage
http://127.0.0.1:8080/manage
http://StJohnHospital:8080/manage

Hopefully this leads to solving my problem!

Many thanks!

Yvon Breuer

-----Original Message-----
From: Breuer, Yvon
Sent: Dienstag, 16. Juli 2002 10:30
To: zope@zope.org
Subject: [Zope] Heeeeeeeeeeeeelp (login problem)


Hi Zope-wizards,

As you can see in my subject: I'm getting quite frustrated by some stupid
error when I'm trying to login to my Zope server. (Yep, I'm a newbie...)

Situation
I'm going to create a website to gather funds for a hospital in Ghana (St.
John of God Hospital in Duayaw Nkwanta).
To get an idea about the situation:
http://www.zwo.nhl.nl/hbov/buitenlandstage/ghana.html (Dutch & English).

Website
I want to do this with Zope & Python. I want people to be able to do online
donations, retrieve information about the project, maybe send a mailinglist
to keep them up to date and there are many more plans. So: I've got a lot to
learn...

Learn & develop @ work & @ home
In order to learn as quickly as possible I tried to install Zope at work and
at home (of course during my break ;-) ). At work (Win2000 Prof.),
everything functions OK. I've done the tutorial and I'm now working myself
through the ZopeBook. So far so good, but...

My problem
At home I've installed Zope (2.5.1) on my computer (Win98). No errors
occured during installation. So, just like at work I tried to login to Zope
for the first time, but...
When I start the START.BAT, my computer starts a dial-in to my
internetprovider! It seems this occurs when START.BAT is trying to retrieve
my hostname. When START.BAT is finished, I type in...
http://127.0.0.1:8080/manage (START.BAT comes up with 127.0.0.1 as localhost
and 8080 as port)
http://popeye:8080/manage or http://popeye:8021/manage (popeye is the
computername in my Win98 network-settings and START.BAT comes up with popeye
as localhost for port 8021)
http://localhost:8080/manage (should always work, right? Not!)
http://stjohnhospital:8080/manage (stjohnhospital is the superuser I
installed Zope with)
... but none of them works!!!
All that happens is that my browser (MsIE) when I'm offline shows me that
the page cannot be found and when I'm online it shows me either "server
error" or "page not found".   >:-((

NB: It doesn't matter wether I login to my internprovider or not. I'm quite
sure it's nonesense to be online in order to login to a local Zope-server,
but hey, I've tried everything possible (as far as I know). I also tried to
un- and reinstall Zope, but that didn't work either.   :-(

So please, help me out here!!! (In a short while I've got some days off and
I want to do some work for the website at home.) Not only me, but also the
people we're trying to help will be very gratefull!   ;-))

Best regards,

Yvon Breuer