Starting Zope on FreeBSD 2.2.8---Python dumps core
I'm having difficulty starting Zope. Versions: Zope: 2.1.6, compiled from source with "python wo_pcgi.py" Python: 1.5.2, (#2, Jan 17 2000) [GCC 2.7.2.1] on freebsd2 Python is compiled with pthreads enabled. FreeBSD: 2.2.8 (yes, I know it is outdated). Problem Description: The compilation process seems to go just fine, with no errors reported. When I invoke the "start" script, I get the following output: ------ 2000-06-23T19:42:58 PROBLEM(100) ZServer Computing default hostname ------ 2000-06-23T19:43:19 PROBLEM(100) ZServer Computing default hostname ------ 2000-06-23T19:43:40 PROBLEM(100) ZServer Computing default hostname ------ 2000-06-23T19:44:01 PROBLEM(100) ZServer Computing default hostname .... continues I've read that this PROBLEM(100) is no big deal, and that the Zope server eventually starts on most installations. Unfortunately with my installation, the server never starts, I cannot resolve 127.0.0.1:8080 and with each iteration, python dumps core. I don't know if it helps, but 'gdb -c python.core' returns the following: Core was generated by `python'. Program terminated with signal 10, Bus error. #0 0x2ef23 in ?? () (gdb) What I've tried: (1) I changed the permissions on the various Zope subdirectories (e.g., id= root, nobody, lorenmc) so that Zope can write to files, but this seems to have no effect; (2) Reviewed ./var/Z2.log, but it is empty; (3) I ran through "z2.py" line-by-line and noticed that python exits when it reaches the portion of the script that calls the "zdaemon.run" function, which seems to be a function that forks processes. Has anyone had this problem? Any advice besides "upgrade to a newer version of FreeBSD or switch to Linux?" Thanks. Loren ------------------------------ Loren McCarter Graduate Student, Behavioral Neuroscience UC Berkeley
+----[ Loren M. McCarter ]--------------------------------------------- | I'm having difficulty starting Zope. | | Versions: | Zope: 2.1.6, compiled from source with "python wo_pcgi.py" | Python: 1.5.2, (#2, Jan 17 2000) [GCC 2.7.2.1] on freebsd2 | Python is compiled with pthreads enabled. | FreeBSD: 2.2.8 (yes, I know it is outdated). The FreeBSD threads support even up until 4.0-RELEASE was attrocious. You will probably find that it is this thread support that is hosing your python, and therfore your Zope. Zope will run on FreeBSD 3.4, 3.5 quite well, but, you really want to have 4.0-Stable on your machine. You will have to upgrade the OS on your machine, be it a switch to Linux, or an upgrade in FreeBSD. -- 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|
participants (2)
-
Andrew Kenneth Milton -
Loren M. McCarter