Zope 2.5.1 installation problems (zope dumping core)
I have downloaded Zope 2.5.1 both as the source distribution and as the linux distribution. I have installed the source distribution onto an SGI running IRIX 6.5 (running python2 w_pcgi.py and then start) and installed the linux distribution onto a Linux box running RedHat 6.2 (running the install script and then start). In both cases, I can connect to http://hostname:8080/, login with the initial admin account, and get the initial index page with no difficulty. However, if I select the link to the Zope Management Interface, I get the three frames, but only the top one fills with anything. I get two "Document contains no data" dialogs. When I check the server it has dumped core and the shell window indicates that the server has restarted. No error messages are apparent in either the shell window or the var/Z2.log file. Since I have exactly the same problem in two completely different installs, but can find no similar complaints in the mail archives, I suspect I am doing some so completely newbie mistake that no one even mentions it. However, I am clearly stumped and would appreciate some help. As an additional data point, I actually tried the Zope 2.5.0 install on the SGI box as well. I had a similar problem, although then I did get the lower right frame and could perform some of the tasks. However, I wasn't able to get it to add the Zope Tutorial. Again the symptoms on the server side were core dumps with no apparent error messages in the logs. Finally, just for the record, I have tested this with Netscape 4.79 on the SGI, as well as Netscape 4.72 and 6.2 under Windows NT. Same problem with each. So it does not appear to be a browser problem. (Actually if some browser problem could crash the server, that would be rather scary anyway.) Thanks, Malcolm
Malcolm E Davis writes:
... In both cases, I can connect to http://hostname:8080/, login with the initial admin account, and get the initial index page with no difficulty. However, if I select the link to the Zope Management Interface, I get the three frames, but only the top one fills with anything. I get two "Document contains no data" dialogs. When I check the server it has dumped core and the shell window indicates that the server has restarted. No error messages are apparent in either the shell window or the var/Z2.log file. I expect that either a missing shared object is the problem or Zope dies because it wants to tell you something and cannot because its terminal has been closed in the meantime.
Start your Zope in a way that you can see its standard output and error. The dynamic linker usually say something when it fails to load a shared object before it kills the process. Use "nohup" to solve the second problem, if necessary. Dieter
I always was starting Zope with the -D flag, so I was always collecting stdout from the server. To see if it might be enlightening to someone else, here is the information I see in stdout from running the standard start script which in turn runs "/usr/freeware/bin/python2 z2.py -D" ----------begin-stdout-from-zope---------- root@myhost:/cow/src/Zope-2.5.1-src## ./start ------ 2002-05-14T21:04:28 INFO(0) ZODB Opening database for mounting: '278356496_1020455750.166130' ------ 2002-05-14T21:04:29 INFO(0) ZODB Mounted database '278356496_1020455750.166130' at /temp_folder ------ 2002-05-14T21:04:29 INFO(0) ZServer HTTP server started at Tue May 14 17:04:29 2002 Hostname: myhost.mydomain.com Port: 8080 ------ 2002-05-14T21:04:29 INFO(0) ZServer FTP server started at Tue May 14 17:04:29 2002 Hostname: myhost Port: 8021 ------ 2002-05-14T21:04:29 INFO(0) ZServer PCGI Server started at Tue May 14 17:04:29 2002 Unix socket: /cow/src/Zope-2.5.1-src/var/pcgi.soc ------ 2002-05-14T21:08:12 INFO(0) ZODB Opening database for mounting: '278356496_1020455750.166130' ------ 2002-05-14T21:08:12 INFO(0) ZODB Mounted database '278356496_1020455750.166130' at /temp_folder ------ 2002-05-14T21:08:13 INFO(0) ZServer HTTP server started at Tue May 14 17:08:13 2002 Hostname: myhost.mydomain.com Port: 8080 ------ 2002-05-14T21:08:13 INFO(0) ZServer FTP server started at Tue May 14 17:08:13 2002 Hostname: myhost Port: 8021 ------ 2002-05-14T21:08:13 INFO(0) ZServer PCGI Server started at Tue May 14 17:08:13 2002 Unix socket: /cow/src/Zope-2.5.1-src/var/pcgi.soc ------ 2002-05-14T21:08:22 INFO(0) ZODB Opening database for mounting: '278356496_1020455750.166130' ------ 2002-05-14T21:08:22 INFO(0) ZODB Mounted database '278356496_1020455750.166130' at /temp_folder ------ 2002-05-14T21:08:23 INFO(0) ZServer HTTP server started at Tue May 14 17:08:23 2002 Hostname: myhost.mydomain.com Port: 8080 ------ 2002-05-14T21:08:23 INFO(0) ZServer FTP server started at Tue May 14 17:08:23 2002 Hostname: myhost Port: 8021 ------ 2002-05-14T21:08:23 INFO(0) ZServer PCGI Server started at Tue May 14 17:08:23 2002 Unix socket: /cow/src/Zope-2.5.1-src/var/pcgi.soc ----- ----------end-stdout-from-zope---------- I get the first "Open database for mounting...pcgi.soc" block when the server initially starts. When I click on the "Zope Management Interface" link I get the two repeated blocks and the program dumps core. Here is the var/Z2.log from the transaction: ----------begin-var/Z2.log-from-zope---------- XXX.XXX.X.XXX - Anonymous [14/May/2002:17:07:10 -0400] "GET / HTTP/1.0" 200 6241 "" "Mozilla/4.72 [en]C-BMY (WinNT; U)" XXX.XXX.X.XXX - Anonymous [14/May/2002:17:07:11 -0400] "GET /p_/ZopeButton HTTP/1.0" 200 9572 "http://nod.lvl.pri.bms.com:8080/" "Mozilla/4.72 [en]C-BMY (WinNT; U)" XXX.XXX.X.XXX - Anonymous [14/May/2002:17:07:42 -0400] "GET /manage HTTP/1.0" 401 1463 "http://nod.lvl.pri.bms.com:8080/" "Mozilla/4.72 [en]C-BMY (WinNT; U)" XXX.XXX.X.XXX - admin [14/May/2002:17:08:03 -0400] "GET /manage HTTP/1.0" 200 1175 "http://nod.lvl.pri.bms.com:8080/" "Mozilla/4.72 [en]C-BMY (WinNT; U)" XXX.XXX.X.XXX - admin [14/May/2002:17:08:03 -0400] "GET /manage_top_frame HTTP/1.0" 200 1437 "http://nod.lvl.pri.bms.com:8080/" "Mozilla/4.72 [en]C-BMY (WinNT; U)" XXX.XXX.X.XXX - admin [14/May/2002:17:08:03 -0400] "GET /manage_workspace HTTP/1.0" 302 478 "http://nod.lvl.pri.bms.com:8080/" "Mozilla/4.72 [en]C-BMY (WinNT; U)" XXX.XXX.X.XXX - admin [14/May/2002:17:08:03 -0400] "GET /manage_page_style.css HTTP/1.0" 200 3041 "" "Mozilla/4.72 [en]C-BMY (WinNT; U)" ----------end-var/Z2.log-from-zope---------- As you can see there is no warning or error message. I would wonder about the SGI python2 installation, but as I said in my original post, I get exactly the same behavior from the install on Linux box running RedHat 6.2. Still perplexed, Malcolm
participants (2)
-
Dieter Maurer -
Malcolm E Davis