[Zope] Zope w/ FreeBSD 4.

Andrew Kenneth Milton akm@mail.theinternet.com.au
Sun, 11 Jun 2000 09:46:35 +1000 (EST)


+----[ Jason C. Leach ]---------------------------------------------
| hi,
| 
| I would do with a hand getting zope working w/ FreeBSD 4.  I make it by
| going to the /usr/ports, and why I try and start it with './start' I get
| the errors at the end of this msg. 

Don't use it out of ports. For some reason it decides positively 
absolutely that you require Apache to run Zope, and makes a lot of
assumptions about Zope (since the port-maintainer seems to still run
2.2.8, Thomas have you upgraded in recent history?).

go into /usr/ports/distfiles/

and unpack the Zope-2.1.6-src.tgz file somewhere else.

type python ./w_pcgi.py (for pcgi support).
or   python ./wo_pcgi.py (for stand-alone).


| su-2.03# ./start 
| Traceback (innermost last):
|   File "/usr/local/www/Zope-2.1.6/z2.py", line 493, in ?
|     logger_object=lg)
|   File "/usr/local/www/Zope-2.1.6/ZServer/medusa/http_server.py", line
| 552, in __init__
|     self.bind ((ip, port))
|   File "/usr/local/www/Zope-2.1.6/ZServer/medusa/asyncore.py", line 205,
| in bind
|     return self.socket.bind (addr)
| socket.error: servname not supported for ai_socktype
| su-2.03# 

Since you're running it as root, make sure that the directory and all
the files are owned by nobody:nobody

Make sure your python is up to date as well.
Make sure your 4.0 is recent-ish (like 4.0-RELEASE or younger, not a
pre-2000 snapshot).

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472                     |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|