[Zope] zope 2.5.0 install problem

Jens Vagelpohl jens@zope.com
Fri, 8 Feb 2002 14:22:21 -0500


take out the "-D" in the start script

jens


On Friday, February 8, 2002, at 01:38 , Douglas Carnall wrote:

> Hi,
>
> I'm running a Linux Slackware 7.1 box over SSH. I'm trying to get Zope 2.
> 5.0
> and CMF 1.2 installed so I can play physician beta-tester for Jon Edward'
> s
> medzope project.
>
> Over the last week in my copious free time I have tried:
>
> a) the default binary (Zope-2.5.0-linux2-x86.tgz)
> b) downloading the source, compiling, and installing the source
> c) even downloaded and compiled Python 2.1.2
>
> Whichever way I slice it, I can get Zope to run, but the startup script
> fails to complete, thus:
>
>> root@carnall:/usr/local/Zope-2.5.0-linux2-x86# ./start
>> ------
>> 2002-01-31T13:26:43 INFO(0) ZODB Opening database for mounting:
>> '142200632_1012483603.415211'
>> ------
>> 2002-01-31T13:26:43 INFO(0) ZODB Mounted database
>> '142200632_1012483603.415211' at /temp_folder
>> ------
>> 2002-01-31T13:27:27 INFO(0) Zope New disk product detected, determining 
>> if we
>> need to fix up any ZClasses.
>> ------
>> 2002-01-31T13:27:28 INFO(0) ZServer HTTP server started at Thu Jan 31 13:
>> 27:28
>> 2002
>> Hostname: carnall
>> Port: 8080
>> ------
>> 2002-01-31T13:27:28 INFO(0) ZServer FTP server started at Thu Jan 31 13:
>> 27:28
>> 2002
>> Hostname: carnall
>> Port: 8021
>> ------
>> 2002-01-31T13:27:28 INFO(0) ZServer PCGI Server started at Thu Jan 31 13:
>> 27:28
>> 2002
>> Unix socket: /usr/local/Zope-2.5.0-linux2-x86/var/pcgi.soc
>> ------
>> 2002-01-31T13:27:28 PANIC(300) z2 Startup exception
>> Traceback (innermost last):
>> File /usr/local/Zope-2.5.0-linux2-x86/z2.py, line 688, in ?
>> IOError: [Errno 13] Permission denied:
>> '/usr/local/Zope-2.5.0-linux2-x86/var/Z2.pid'
>
> OK chown'd /Zope/var to nobody, and this fixed the problem. But then got
> this:
>
>
>> root@carnall:/usr/local/Zope-2.5.0-linux2-x86# ./start
>> ------
>> 2002-01-31T13:48:08 INFO(0) ZODB Opening database for mounting:
>> '142200632_10124  83603.415211'
>> ------
>> 2002-01-31T13:48:08 INFO(0) ZODB Mounted database
>> '142200632_1012483603.415211'   at /temp_folder
>> ------
>> 2002-01-31T13:48:09 INFO(0) ZServer HTTP server started at Thu Jan 31 13:
>> 48:09
>> 2  002
>> Hostname: carnall
>> Port: 8080
>> ------
>> 2002-01-31T13:48:09 INFO(0) ZServer FTP server started at Thu Jan 31 13:
>> 48:09
>> 20  02
>> Hostname: carnall
>> Port: 8021
>> ------
>> 2002-01-31T13:48:09 INFO(0) ZServer PCGI Server started at Thu Jan 31 13:
>> 48:09
>> 2  002
>> Unix socket: /usr/local/Zope-2.5.0-linux2-x86/var/pcgi.soc
>> ------
>> 2002-01-31T14:01:10 INFO(0) ZODB conflict error at /manage_main (1 
>> conflicts
>> sin  ce startup at 2002-01-31T13:48:09)
>>
>
> and no return to root prompt. However, can now get the Zope management
> screen via the browser, which is something. Let's face it, I'm going to 
> have
> to follow the Zope-Install-HOWTO to the letter. So I did...
>
> Then this...
>
>> 2002-02-04T08:46:12 INFO(0) ZODB Opening database for mounting:
>> '142028632_1012810841.738608'
>> ------
>> 2002-02-04T08:46:12 INFO(0) ZODB Mounted database
>> '142028632_1012810841.738608' at /temp_folder
>> ------
>> 2002-02-04T08:46:12 INFO(0) ZServer HTTP server started at Mon Feb  4 08:
>> 46:12
>> 2002
>> Hostname: carnall.homechoice.co.uk
>> Port: 8080
>> ------
>> 2002-02-04T08:46:12 INFO(0) ZServer FTP server started at Mon Feb  4 08:
>> 46:12
>> 2002
>> Hostname: carnall
>> Port: 8021
>> ------
>> 2002-02-04T08:46:12 INFO(0) ZServer PCGI Server started at Mon Feb  4 08:
>> 46:12
>> 2002
>> Unix socket: /usr/local/zope/2-5-0/var/pcgi.soc
>
> .... (after installing the default binary)
>
> or like this, after compiling the source ....
>
>> dougie@carnall:/tmp/Zope-2.5.0-src$ ./start
>> ------
>> 2002-02-08T10:19:11 INFO(0) ZODB Opening database for mounting:
>> '142014504_1013163551.924843'
>> ------
>> 2002-02-08T10:19:11 INFO(0) ZODB Mounted database
>> '142014504_1013163551.924843' at /temp_folder
>> ------
>> 2002-02-08T10:19:53 INFO(0) Zope New disk product detected, determining 
>> if we
>> need to fix up any ZClasses.
>> ------
>> 2002-02-08T10:19:54 INFO(0) ZServer HTTP server started at Fri Feb  8 10:
>> 19:54
>> 2002
>> Hostname: carnall
>> Port: 8080
>> ------
>> 2002-02-08T10:19:54 INFO(0) ZServer FTP server started at Fri Feb  8 10:
>> 19:54
>> 2002
>> Hostname: carnall
>> Port: 8021
>
>
> At either point, if I then switch to my browser and enter
> http://carnall:8080/manage I can access the management screen OK **as long
> as I keep the SSH window** which I started Zope with up. However, I then 
> see
> this message via my terminal:
>
>> ------
>> 2002-02-08T10:23:12 INFO(0) ZODB conflict error at /manage_main (1 
>> conflicts
>> since startup at 2002-02-08T10:19:54)
>
> Zope seems to be working OK, but presumably the script should finish and
> Zope becomes a background process? Have I ballsed up the permissions
> somewhere along the line? I can't find much on Slackware and Zope: maybe
> there's a configuration problem? What distro do most Zope people 
> standardise
> on anyway?
>
> Any thoughts on this problem would be most appreciated: I'd like to have 
> a
> nice solid setup before we start testing new products.
>
> D.
>
> --
> Douglas Carnall
>
> tel:+44 (0)20 7241 1255
> fax:08700 557879
> mob:07900 212881
> http://www.carnall.org/
> dougie@carnall.org
>
>
> _______________________________________________
> 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 )