I am not sure if this is a simple problem or not. I am using FreeBSD 4.0 Stable and I just downloaded zope-2.3.2-src. I ran python wo_pcgi.py and that seemed to work fine, but when I start Zope I get the following error.... bash-2.03# ./start & 2001-05-27T06:22:19 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/Zope-2.3.2-src/z2.py, line 566, in ? File <string>, line 1, in ? File /usr/local/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 95, in ? File /usr/local/Zope-2.3.2-src/lib/python/OFS/Application.py, line 91, in ? File /usr/local/Zope-2.3.2-src/lib/python/App/Product.py, line 111, in ? File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/__init__.py, line 20, in ? File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/ZClass.py, line 88, in ? File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/Method.py, line 97, in ? File /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/__init__.py, line 89, in ? File /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/PythonScript.py, line 96, in ? File /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/Guarded.py, line 88, in ? File /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbytecodehacks/V SExec.py, line 42, in ? File /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbytecodehacks/o ps.py, line 5, in ? File /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbytecodehacks/o pbases.py, line 1, in ? ImportError: No module named new I have installed zope successfully on several other machines, but this is the first time I have used this machine. Thanks, Tom
Follow up.. I have tried to recompile Python. But I now get this error when I run ./start 2001-05-27T10:05:57 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/Zope-2.3.2-src/z2.py, line 566, in ? File <string>, line 1, in ? File /usr/local/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 94, in ? File /usr/local/Zope-2.3.2-src/lib/python/ZODB/__init__.py, line 85, in ? ImportError: /usr/local/Zope-2.3.2-src/lib/python/ExtensionClass.so: Undefined symbol "PyMethod_Type" Any clues? Thanks => -----Original Message----- => From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tom => Cameron => Sent: Sunday, 27 May 2001 4:32 PM => To: zope@zope.org => Subject: [Zope] Zope won't start => => => I am not sure if this is a simple problem or not. => => I am using FreeBSD 4.0 Stable and I just downloaded zope-2.3.2-src. I ran => python wo_pcgi.py and that seemed to work fine, but when I start => Zope I get => the following error.... => => bash-2.03# ./start & => 2001-05-27T06:22:19 PANIC(300) z2 Startup exception => Traceback (innermost last): => File /usr/local/Zope-2.3.2-src/z2.py, line 566, in ? => File <string>, line 1, in ? => File /usr/local/Zope-2.3.2-src/lib/python/Zope/__init__.py, => line 95, in ? => File /usr/local/Zope-2.3.2-src/lib/python/OFS/Application.py, => line 91, in => ? => File /usr/local/Zope-2.3.2-src/lib/python/App/Product.py, line => 111, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/ZClasses/__init__.py, line 20, => in ? => File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/ZClass.py, => line 88, in => ? => File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/Method.py, => line 97, in => ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/__init__.py, => line 89, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/Pytho => nScript.py, => line 96, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/Guard => ed.py, line => 88, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => codehacks/V => SExec.py, line 42, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => codehacks/o => ps.py, line 5, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => codehacks/o => pbases.py, line 1, in ? => ImportError: No module named new => => I have installed zope successfully on several other machines, but this is => the first time I have used this machine. => => Thanks, => Tom => => => _______________________________________________ => Zope maillist - Zope@zope.org => http://lists.zope.org/mailman/listinfo/zope => ** No cross posts or HTML encoding! ** => (Related lists - => http://lists.zope.org/mailman/listinfo/zope-announce => http://lists.zope.org/mailman/listinfo/zope-dev ) =>
I'm pretty sure that means you have a Python version not supported, seems strange though when you say you have 2.3.2, hmmm. phil ----- Original Message ----- From: "Tom Cameron" <tom@cameron.to> To: <zope@zope.org> Sent: Sunday, May 27, 2001 11:08 AM Subject: RE: [Zope] Zope won't start
Follow up..
I have tried to recompile Python. But I now get this error when I run ./start
2001-05-27T10:05:57 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/Zope-2.3.2-src/z2.py, line 566, in ? File <string>, line 1, in ? File /usr/local/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 94, in ? File /usr/local/Zope-2.3.2-src/lib/python/ZODB/__init__.py, line 85, in ? ImportError: /usr/local/Zope-2.3.2-src/lib/python/ExtensionClass.so: Undefined symbol "PyMethod_Type"
Any clues? Thanks
=> -----Original Message----- => From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tom => Cameron => Sent: Sunday, 27 May 2001 4:32 PM => To: zope@zope.org => Subject: [Zope] Zope won't start => => => I am not sure if this is a simple problem or not. => => I am using FreeBSD 4.0 Stable and I just downloaded zope-2.3.2-src. I ran => python wo_pcgi.py and that seemed to work fine, but when I start => Zope I get => the following error.... => => bash-2.03# ./start & => 2001-05-27T06:22:19 PANIC(300) z2 Startup exception => Traceback (innermost last): => File /usr/local/Zope-2.3.2-src/z2.py, line 566, in ? => File <string>, line 1, in ? => File /usr/local/Zope-2.3.2-src/lib/python/Zope/__init__.py, => line 95, in ? => File /usr/local/Zope-2.3.2-src/lib/python/OFS/Application.py, => line 91, in => ? => File /usr/local/Zope-2.3.2-src/lib/python/App/Product.py, line => 111, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/ZClasses/__init__.py, line 20, => in ? => File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/ZClass.py, => line 88, in => ? => File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/Method.py, => line 97, in => ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/__init__.py, => line 89, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/Pytho => nScript.py, => line 96, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/Guard => ed.py, line => 88, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => codehacks/V => SExec.py, line 42, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => codehacks/o => ps.py, line 5, in ? => File => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => codehacks/o => pbases.py, line 1, in ? => ImportError: No module named new => => I have installed zope successfully on several other machines, but this is => the first time I have used this machine. => => Thanks, => Tom => => => _______________________________________________ => Zope maillist - Zope@zope.org => http://lists.zope.org/mailman/listinfo/zope => ** No cross posts or HTML encoding! ** => (Related lists - => http://lists.zope.org/mailman/listinfo/zope-announce => http://lists.zope.org/mailman/listinfo/zope-dev ) =>
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Phil, I am setting up a new machine, I have just downloaded and recompiled python1.5.2 and then recompiled Zope2.3.2. Both latest versions on a clean machine. I must have missed something simple, but I cant figure it out. Tom => -----Original Message----- => From: Phil Harris [mailto:phil.harris@zope.co.uk] => Sent: Sunday, 27 May 2001 8:23 PM => To: tom@cameron.to; zope@zope.org => Subject: Re: [Zope] Zope won't start => => => I'm pretty sure that means you have a Python version not supported, seems => strange though when you say you have 2.3.2, hmmm. => => phil => => ----- Original Message ----- => From: "Tom Cameron" <tom@cameron.to> => To: <zope@zope.org> => Sent: Sunday, May 27, 2001 11:08 AM => Subject: RE: [Zope] Zope won't start => => => > Follow up.. => > => > I have tried to recompile Python. But I now get this error when I run => > ./start => > => > 2001-05-27T10:05:57 PANIC(300) z2 Startup exception => > Traceback (innermost last): => > File /usr/local/Zope-2.3.2-src/z2.py, line 566, in ? => > File <string>, line 1, in ? => > File /usr/local/Zope-2.3.2-src/lib/python/Zope/__init__.py, => line 94, in => ? => > File /usr/local/Zope-2.3.2-src/lib/python/ZODB/__init__.py, => line 85, in => ? => > ImportError: /usr/local/Zope-2.3.2-src/lib/python/ExtensionClass.so: => > Undefined symbol "PyMethod_Type" => > => > Any clues? => > Thanks => > => > => > => -----Original Message----- => > => From: zope-admin@zope.org [mailto:zope-admin@zope.org]On => Behalf Of Tom => > => Cameron => > => Sent: Sunday, 27 May 2001 4:32 PM => > => To: zope@zope.org => > => Subject: [Zope] Zope won't start => > => => > => => > => I am not sure if this is a simple problem or not. => > => => > => I am using FreeBSD 4.0 Stable and I just downloaded => zope-2.3.2-src. I => ran => > => python wo_pcgi.py and that seemed to work fine, but when I start => > => Zope I get => > => the following error.... => > => => > => bash-2.03# ./start & => > => 2001-05-27T06:22:19 PANIC(300) z2 Startup exception => > => Traceback (innermost last): => > => File /usr/local/Zope-2.3.2-src/z2.py, line 566, in ? => > => File <string>, line 1, in ? => > => File /usr/local/Zope-2.3.2-src/lib/python/Zope/__init__.py, => > => line 95, in ? => > => File /usr/local/Zope-2.3.2-src/lib/python/OFS/Application.py, => > => line 91, in => > => ? => > => File /usr/local/Zope-2.3.2-src/lib/python/App/Product.py, line => > => 111, in ? => > => File => > => /usr/local/Zope-2.3.2-src/lib/python/ZClasses/__init__.py, line 20, => > => in ? => > => File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/ZClass.py, => > => line 88, in => > => ? => > => File /usr/local/Zope-2.3.2-src/lib/python/ZClasses/Method.py, => > => line 97, in => > => ? => > => File => > => => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/__init__.py, => > => line 89, in ? => > => File => > => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/Pytho => > => nScript.py, => > => line 96, in ? => > => File => > => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/Guard => > => ed.py, line => > => 88, in ? => > => File => > => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => > => codehacks/V => > => SExec.py, line 42, in ? => > => File => > => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => > => codehacks/o => > => ps.py, line 5, in ? => > => File => > => /usr/local/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbyte => > => codehacks/o => > => pbases.py, line 1, in ? => > => ImportError: No module named new => > => => > => I have installed zope successfully on several other => machines, but this => is => > => the first time I have used this machine. => > => => > => Thanks, => > => Tom => > => => > => => > => _______________________________________________ => > => Zope maillist - Zope@zope.org => > => http://lists.zope.org/mailman/listinfo/zope => > => ** No cross posts or HTML encoding! ** => > => (Related lists - => > => http://lists.zope.org/mailman/listinfo/zope-announce => > => http://lists.zope.org/mailman/listinfo/zope-dev ) => > => => > => > => > _______________________________________________ => > Zope maillist - Zope@zope.org => > http://lists.zope.org/mailman/listinfo/zope => > ** No cross posts or HTML encoding! ** => > (Related lists - => > http://lists.zope.org/mailman/listinfo/zope-announce => > http://lists.zope.org/mailman/listinfo/zope-dev ) => =>
I found a fix to the "no module new" from searching the web: comment out the Python Modules/Setup configuration of "new newmodule.c". I couldn't get around the PyMethod_Type problem, so I built Python and Zope (2.2.2) from the ports. Now I have Zope running, but I can't use the manage interface because the zopemaster password doesn't work, even when I reset it with post-install instructions of python zpasswd.py -u <username> -p <passwd> -e CLEARTEXT access Did my attempts at source-install with it's "admin" account password corrupt the acl for the ports-install? Something wrong with cleartext authentication? This authentication stuff is a hurdle. I think I understand that using zpasswd creates and "emergency" account, which can't do everything. Why do different "distrubutions" have different management passwords? Is there a concept of a "root" account that has authority to do everything? Does it have a unique name? Is this different from the emergency account? Whew! ==Leonard
Hi Leonard, if you create an 'access' file with zpasswd, that file's contents select the "superuser" account, which is different than the emergency user account, although you can create users with it. if you create an 'inituser' file with zpasswd, the contents of the inituser file go towards creating an emergency user. The emergency user is more like root than the superuser, for hysterical reasons. - C Leonard Sitongia wrote:
I found a fix to the "no module new" from searching the web: comment out the Python Modules/Setup configuration of "new newmodule.c".
I couldn't get around the PyMethod_Type problem, so I built Python and Zope (2.2.2) from the ports. Now I have Zope running, but I can't use the manage interface because the zopemaster password doesn't work, even when I reset it with post-install instructions of
python zpasswd.py -u <username> -p <passwd> -e CLEARTEXT access
Did my attempts at source-install with it's "admin" account password corrupt the acl for the ports-install? Something wrong with cleartext authentication? This authentication stuff is a hurdle. I think I understand that using zpasswd creates and "emergency" account, which can't do everything. Why do different "distrubutions" have different management passwords? Is there a concept of a "root" account that has authority to do everything? Does it have a unique name? Is this different from the emergency account? Whew!
==Leonard
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Sunday 27 May 2001 20:48, Chris McDonough wrote:
Hi Leonard,
if you create an 'access' file with zpasswd, that file's contents select the "superuser" account, which is different than the emergency user account, although you can create users with it.
Thanks for your reply, Chris. I created it with "access", but it didn't work. I should describe the environment: FreeBSD 4.2 with Python 1.5.2 and Zope 2.2.2, with Zope started at boot (with the file table full message) from the ports installed boot script that nulls out the ports and points to the CGI, which I then hit with a browser at my Apache install (so I gather that this default FreeBSD approach uses Zope under Apache): nohup /usr/local/www/Zope/start -w '' -f '' -m '' -p /usr/local/www/cgi-bin.default/Zope.cgi >> /usr/local/www/Zope/var/zope-output & ==Leonard
BTW, I am now reading the docs and I think my trouble is probably from running under Apache, eh? ==Leonard
On Sunday 27 May 2001 21:24, Leonard Sitongia wrote:
BTW, I am now reading the docs and I think my trouble is probably from running under Apache, eh?
I've followed the suggested Rewrite rule, the module is in the Apache server, I'm using CLEARTEXT, and the super manager password still does not work...
On Sunday 27 May 2001 21:33, Leonard Sitongia wrote:
On Sunday 27 May 2001 21:24, Leonard Sitongia wrote:
BTW, I am now reading the docs and I think my trouble is probably from running under Apache, eh?
I've followed the suggested Rewrite rule, the module is in the Apache server, I'm using CLEARTEXT, and the super manager password still does not work...
Further note: if I ./start on another port, the super manager auth works. So, there's something amiss in the default (plus mod_rewrite) configuration in my Apache server...
On Sunday 27 May 2001 21:37, Leonard Sitongia wrote:
Further note: if I ./start on another port, the super manager auth works. So, there's something amiss in the default (plus mod_rewrite) configuration in my Apache server...
Everything I try to do has me reauthenticate. I need a shorter super manager name. ;-) Something must be wrong. Is the "Folder at /" supposed to be "Zope is unowned"?
On Sunday 27 May 2001 21:45, you wrote:
On Sunday 27 May 2001 21:37, Leonard Sitongia wrote:
Further note: if I ./start on another port, the super manager auth works. So, there's something amiss in the default (plus mod_rewrite) configuration in my Apache server...
Everything I try to do has me reauthenticate. I need a shorter super manager name. ;-) Something must be wrong.
OK, a lot of that is from my use of KDE Konqueror. Netscape shows me more stuff, and doesn't reauth.
Leonard, You have several problems: 1. Your apache config is hosed somehow. I can't really help with this, as I'm sort of an apache moron. For now, to get started, just use ZServer (visit whatever http port it spits out to when you start it). 2. Superuser cannot own objects, but he may create other users. While you're logged on as superuser, create another account in acl_users with the Manager role (make sure to click the manager role in the multiselect box when creating the user). Then close the browser, restart it, and log on as that user. Leonard Sitongia wrote:
On Sunday 27 May 2001 21:37, Leonard Sitongia wrote:
Further note: if I ./start on another port, the super manager auth works. So, there's something amiss in the default (plus mod_rewrite) configuration in my Apache server...
Everything I try to do has me reauthenticate. I need a shorter super manager name. ;-) Something must be wrong.
Is the "Folder at /" supposed to be "Zope is unowned"?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Sunday 27 May 2001 21:59, Chris McDonough wrote:
Leonard,
You have several problems:
1. Your apache config is hosed somehow. I can't really help with this, as I'm sort of an apache moron. For now, to get started, just use ZServer (visit whatever http port it spits out to when you start it).
2. Superuser cannot own objects, but he may create other users. While you're logged on as superuser, create another account in acl_users with the Manager role (make sure to click the manager role in the multiselect box when creating the user). Then close the browser, restart it, and log on as that user.
Whew! Thanks! I have the tutorial under my new manager.
Next problem: I try to add the Zope Tutorial to /, and Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser Which superuser is this? I've done the add running in a browser as my username, and authenticated at the prompting using the super manager account...
I am glad to see someone else with a similar problem. I am using FreeBSD4.0 Stable and Zope 2.3.2 and python1.5.2. I did not use the ports because they are out of date. The zope port is old and the python port did not have the "new" module installed. So I have compiled both from source. I am still getting the PyMethod_Type problem and I would like to use the latest version of Zope. I am continuing to try other things to see if I can get it working. I already have zope working on a similar environment on another machine so I know it can be done. I just need help isolating this problem. Tom => -----Original Message----- => From: Leonard Sitongia [mailto:sitongia@qwest.net] => Sent: Monday, 28 May 2001 12:31 PM => To: Tom Cameron; Phil Harris; zope@zope.org => Subject: Re: [Zope] Zope won't start => => => I found a fix to the "no module new" from searching the web: comment => out the Python Modules/Setup configuration of "new newmodule.c". => => I couldn't get around the PyMethod_Type problem, so I built Python => and Zope (2.2.2) from the ports. Now I have Zope running, but => I can't use the manage interface because the zopemaster password => doesn't work, even when I reset it with post-install instructions of => => python zpasswd.py -u <username> -p <passwd> -e CLEARTEXT access => => Did my attempts at source-install with it's "admin" account password => corrupt the acl for the ports-install? Something wrong with cleartext => authentication? This authentication stuff is a hurdle. I think => I understand => that using zpasswd creates and "emergency" account, which can't do => everything. Why do different "distrubutions" have different management => passwords? Is there a concept of a "root" account that has authority to => do everything? Does it have a unique name? Is this different from the => emergency account? Whew! => => ==Leonard =>
I have now tried to use the FreeBSD ports. There is a port for zope-2.3.2 and it is dependant on python-2.1. But I now get another different error.. su-2.03# ./start Traceback (most recent call last): File "/usr/local/www/Zope/z2.py", line 542, in ? import ZServer File "/usr/local/www/Zope/ZServer/__init__.py", line 87, in ? from medusa import max_sockets, asyncore File "/usr/local/www/Zope/ZServer/medusa/max_sockets.py", line 2, in ? import socket File "/usr/local/lib/python2.1/socket.py", line 41, in ? from _socket import * ImportError: Shared object "libssl.so.2" not found I am not having too much luck at all. Every way I turn Zope won't start. I am reluctant to go back to Zope2.2.2. Any suggestions Please! Tom => -----Original Message----- => From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of => Leonard Sitongia => Sent: Monday, 28 May 2001 12:31 PM => To: Tom Cameron; Phil Harris; zope@zope.org => Subject: Re: [Zope] Zope won't start => => => I found a fix to the "no module new" from searching the web: comment => out the Python Modules/Setup configuration of "new newmodule.c". => => I couldn't get around the PyMethod_Type problem, so I built Python => and Zope (2.2.2) from the ports. Now I have Zope running, but => I can't use the manage interface because the zopemaster password => doesn't work, even when I reset it with post-install instructions of => => python zpasswd.py -u <username> -p <passwd> -e CLEARTEXT access => => Did my attempts at source-install with it's "admin" account password => corrupt the acl for the ports-install? Something wrong with cleartext => authentication? This authentication stuff is a hurdle. I think => I understand => that using zpasswd creates and "emergency" account, which can't do => everything. Why do different "distrubutions" have different management => passwords? Is there a concept of a "root" account that has authority to => do everything? Does it have a unique name? Is this different from the => emergency account? Whew! => => ==Leonard => => _______________________________________________ => Zope maillist - Zope@zope.org => http://lists.zope.org/mailman/listinfo/zope => ** No cross posts or HTML encoding! ** => (Related lists - => http://lists.zope.org/mailman/listinfo/zope-announce => http://lists.zope.org/mailman/listinfo/zope-dev ) =>
My lastest efforts: I dropped the Zope 2.2.2 port, and built 2.3.2 from sources, using w_pcgi.py. (Point of confusion: Quick Start describes using this one, but it's the approach for using an existing server, however it starts up Zserver on port 8080, and Apache is on port 80 of course. Later, the INSTALL.txt describes using wo_pcgi.py to install using Zserver, which still appears to start up the same way. So, what's the difference and how does Apache get involved?...). I couldn't get the super manager authentication to work, and tried various configurations, CLEARTEXT, SHA and CRYPT. So, I rebuilt it with wo_pcgi.py. The username/password that the install created didn't work, but when I recreated the password, using CRYPT (as the install did), it now works. So, FreeBSD port for Python 1.5.2 + Zope src 2.3.2 + wo_pcgi.py + recreate the password with python zpasswd.py -u admin -p (password) -e CRYPT access gives a running Zserver Zope. ==Leonard
On Mon, 28 May 2001, Leonard Sitongia wrote:
I dropped the Zope 2.2.2 port, and built 2.3.2 from sources, using w_pcgi.py. (Point of confusion: Quick Start describes using this one, but it's the approach for using an existing server, however it starts up Zserver on port 8080, and Apache is on port 80 of course. Later, the INSTALL.txt describes using wo_pcgi.py to install using Zserver, which still appears to start up the same way. So, what's the difference and how does Apache get involved?...).
wo_pcgi = "without PCGI", where PCGI is PersistenCGI protocol, supported by Zope.cgi (see below) and mod_pcgi2 Apache module. w_pcgi = "with PCGI", this includes "wo_pcgi" and also builds Zope.cgi. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
hmm, thanks, I thought I had tried this combination, but I will go back and try again. I use wo_pcgi as I like to use apache as a proxy and redirect all zope requests to localhost:8080 It seems to be cleaner than the pcgi solution. As I said before, I have had all this working on other machines, I just cant work out why it is not working on this new machine. Tom => -----Original Message----- => From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of => Leonard Sitongia => Sent: Tuesday, 29 May 2001 2:29 AM => To: zope@zope.org => Subject: Re: [Zope] Zope won't start => => => My lastest efforts: => => I dropped the Zope 2.2.2 port, and built 2.3.2 from sources, using => w_pcgi.py. (Point of confusion: Quick Start describes using this => one, but it's the approach for using an existing server, however => it starts up Zserver on port 8080, and Apache is on port 80 => of course. Later, the INSTALL.txt describes using wo_pcgi.py => to install using Zserver, which still appears to start up the => same way. So, what's the difference and how does Apache => get involved?...). => => I couldn't get the super manager authentication to work, and => tried various configurations, CLEARTEXT, SHA and CRYPT. => => So, I rebuilt it with wo_pcgi.py. => => The username/password that the install created didn't work, => but when I recreated the password, using CRYPT (as the => install did), it now works. => => So, FreeBSD port for Python 1.5.2 + Zope src 2.3.2 + => wo_pcgi.py + recreate the password with => => python zpasswd.py -u admin -p (password) -e CRYPT access => => gives a running Zserver Zope. => => ==Leonard => => _______________________________________________ => Zope maillist - Zope@zope.org => http://lists.zope.org/mailman/listinfo/zope => ** No cross posts or HTML encoding! ** => (Related lists - => http://lists.zope.org/mailman/listinfo/zope-announce => http://lists.zope.org/mailman/listinfo/zope-dev ) =>
On Monday 28 May 2001 10:28, Leonard Sitongia wrote:
My lastest efforts:
So, FreeBSD port for Python 1.5.2 + Zope src 2.3.2 + wo_pcgi.py + recreate the password with
python zpasswd.py -u admin -p (password) -e CRYPT access
gives a running Zserver Zope.
I now have gotten Zope running with Apache on FreeBSD. A tip came from the New User How-To's at zope.org, in particular the one from Jens: http://www.zope.org/Members/jens/docs/newbie_caveats where the tip on the "/" (slashes) in the RewriteRule are described. I moved the Zope-src directory under the DocumentRoot of Apache. I copied the Zope.cgi into the cgi-bin directory under Apache (I had to add ExecCGI to that cgi-bin directory), plus make sure that the permissions on the Zope.cgi are correct. The RewriteRule then changes /Zope (which is at DocumentRoot/Zope) to invoke the Zope.cgi and do the authentication. Authentication? Back when I tried the Zope FreeBSD port, it said to use CLEARTEXT encryption, not SHA or CRYPT, and I did need to do that: python zpasswd.py -u admin -p XXXX -e CLEARTEXT access So then, loading up the URL http://localhost/Zope/manage goes to prompt for the manage user authentication prompt. Final notes: this is Zope 2.3.2 on FreeBSD 4.2. ==Leonard
participants (6)
-
Chris McDonough -
Leonard Sitongia -
Oleg Broytmann -
Phil Harris -
Tom Cameron -
Tom Cameron