[Zope] Newbie q: Name.error at startup

Michael Beddow beddow01@globalnet.co.uk
Thu, 10 Jun 1999 22:33:19 +0100


 Michael Bernstein wrote:

> Don't give up yet. When you compiled, did you use
> w_pcgi or wo_pcgi ?
>
> Here is a link to the instructions that I used:
> http://www.zope.org/pipermail/zope/1999-May/004670.html
>
> Also, did you install the RPMs for Python 1.5.2, or
> did you compile it
> yourself?
>

Thanks for the pointers, Phil and Michael, but I'm still stuck.

I installed Python and devel-Python 1.5.2 from rpms and compiled
Zope with wo_pcgi

In the meantime, I've used Microsoft-type support techniques,
i.e. zapped everything and reinstalled/rebuilt everything from
scratch. No change.

Some more output (sorry folks!) in the hope that something may
click with someone

[root@smlc02 zope]#  python z2.py -d 129.11.193.42 &
[1] 2389
[root@smlc02 zope]# zinit: Thu Jun 10 21:30:05 1999: Houston, we
have forked
zinit: Thu Jun 10 21:30:05 1999: Houston, we have forked
zinit: Thu Jun 10 21:30:05 1999: Hi, I just forked off a kid:
2390
log: adding channel <trigger  at 83ca680>
log: adding channel <zhttp_server  at 83efda8>
Medusa (V1.6) started at Thu Jun 10 21:30:08 1999
        Hostname: smlc02.leeds.ac.uk
        Port:9673
log: adding channel <FTPServer  at 83ea6b0>
FTP server started at Thu Jun 10 21:30:08 1999
        Authorizer:None
        Hostname: localhost
        Port: 9221

A first check of the process table gives:
[root@smlc02 zope]# ps auxwww | grep z2
nobody    2390  0.9  8.4  5724  5292  p2 S    21:30   0:02
/usr/bin/python z2.py -d 129.11.193.42
root      2389  0.0  1.7  1640  1108  p2 S    21:30   0:00
python z2.py -d 129.11.193.42

Then I try to access Zope, with the results I described already.

Z2.log now shows
arts2-pc040.leeds.ac.uk:3512 - - [10/Jun/1999:21:32:01 +0100]
"GET /manage HTTP/1.1" 401 1748
arts2-pc040.leeds.ac.uk:3512 - - [10/Jun/1999:21:32:49 +0100]
"GET /manage HTTP/1.1" 500 1541

A recheck of the process table now shows:

[root@smlc02 zope]# ps auxwww | grep z2
nobody    2390  0.6  8.5  5812  5356  p2 S    21:30   0:02
/usr/bin/python z2.py -d 129.11.193.42
nobody    2393  0.0  8.5  5812  5356  p2 S    21:32   0:00
/usr/bin/python z2.py -d 129.11.193.42
nobody    2394  0.0  8.5  5812  5356  p2 S    21:32   0:00
/usr/bin/python z2.py -d 129.11.193.42
nobody    2395  0.0  8.5  5812  5356  p2 S    21:32   0:00
/usr/bin/python z2.py -d 129.11.193.42
nobody    2396  0.0  8.5  5812  5356  p2 S    21:32   0:00
/usr/bin/python z2.py -d 129.11.193.42
nobody    2397  0.0  8.5  5812  5356  p2 S    21:32   0:00
/usr/bin/python z2.py -d 129.11.193.42
root      2389  0.0  1.7  1640  1108  p2 S    21:30   0:00
python z2.py -d 129.11.193.42
[root@smlc02 zope]#

I haven't followed up Phil's suggestion, since I'm not using
Apache for the time being.  I don't want to interfere with my
working Apache configuration till I have more confidence with
Zope (if I ever get any confidence, that is ;-)

Michael Beddow