[Zope] zope 2.0.0.a2 & FreeBSD -- python coredumps

thomas@hentschel.net thomas@hentschel.net
Sun, 20 Jun 1999 00:28:29 -0700 (PDT)


	Hi all,

	I just subscribed, so please be gentle ...   :-)

	Im trying to get zope going w/ apache on a FreeBSD 2.2.8 system.
	I went thru the zope mailing archives and wasn't able to come 
	up with something. Maybe someone could whack me with a clue
	stick...

	Whenever I try to invoke /cgi-bin/Zope.cgi/manage I get the
	"Temporarily Unavailable" response with a "(102) failure during
	connect" The HTML source say's 
	"Interupted system call
	 pcgi-wrapper version 2.0a5" 

	pcgi.log says "pcgi-wrapper: Interrupted system call (102)
	Failure during connect"
	Along with that, python exits on a signal 11 and dumps core.

	Here is what I did :

	Installed python-1.5.2 from the FBSD port, made sure that the
	parser module is included,

	installed Zope (python w_pcgi.py)

	the zope/var dir is owned by "nobody" with 777

	put the authorization stuff into httpd.conf as per
	webserver.txt

	/cgi-bin/pcgifile?info=Zope.cgi gives:
	
Python 1.5.2 (#2, Jun 19 1999, 11:48:11)  [GCC 2.7.2.1]
Apache/1.3.3 (Unix) PHP/3.0.5 mod_ssl/2.0.14 SSLeay/0.9.0b

PCGI info file: Zope.cgi
PCGI wrapper:   /usr/local/lib/Zope/pcgi/pcgi-wrapper
error attempting: 'from cgi_module_publisher import publish_module'
status: FAILURE

Zope.cgi
  #!/usr/local/lib/Zope/pcgi/pcgi-wrapper
  PCGI_NAME=Main
  PCGI_MODULE_PATH=/usr/local/lib/Zope/lib/python/Main.py
  PCGI_PUBLISHER=/usr/local/lib/Zope/pcgi/pcgi_publisher.py
  PCGI_EXE=/usr/local/bin/python
  PCGI_SOCKET_FILE=/usr/local/lib/Zope/var/pcgi.soc
  PCGI_PID_FILE=/usr/local/lib/Zope/var/pcgi.pid
  PCGI_ERROR_LOG=/usr/local/lib/Zope/var/pcgi.log
  PCGI_DISPLAY_ERRORS=1
  BOBO_REALM=Zope
  BOBO_DEBUG_MODE=1
  INSTANCE_HOME=/usr/local/lib/Zope

	
	Anyone got an idea what's happening ?? I'm obviously missing
	something.... just what ? 

	Thanks for any help

	-Th