[Zope] Newbie question -- starting Zope under Mac OS X

Jens Vagelpohl jens@zope.com
Sat, 9 Mar 2002 11:50:44 +0100


if you run zope as root it changes to the "nobody" user. just make sure 
the var directory and files in there are writable for that user.

jens


On Saturday, March 9, 2002, at 09:47 , James Webster wrote:

> Many apologies for posting a very newbie-ish question but I'm keen to get
> started with Zope on my Mac.
>
> I've compiled python 2.1.2 successfully, following the instructions in the
> zope.org site.
>
> I've run the wo_pcgi.py script and compiled Zope-2.5.0 into
> /usr/local/Zope-2.5.0.
>
> However, when I run sudo ./start, I get the following message:
>
> <stdout>
> ------
> 2002-03-07T20:36:14 INFO(0) ZODB Opening database for mounting:
> '16517888_1015533374.122884'
> ------
> 2002-03-07T20:36:14 INFO(0) ZODB Mounted database
> '16517888_1015533374.122884' at /temp_folder
> ------
> 2002-03-07T20:36:40 INFO(0) Zope New disk product detected, determining 
> if we
> need to fix up any ZClasses.
> ------
> 2002-03-07T20:36:40 INFO(0) ZServer HTTP server started at Thu Mar  7
> 20:36:40 2002
>         Hostname: localhost
>         Port: 8080
> ------
> 2002-03-07T20:36:40 INFO(0) ZServer FTP server started at Thu Mar  7 
> 20:36:40
> 2002
>         Hostname: localhost
>         Port: 8021
> ------
> 2002-03-07T20:36:40 PANIC(300) z2 Startup exception
> Traceback (innermost last):
>   File /usr/local/Zope-2.5.0/z2.py, line 688, in ?
> IOError: [Errno 13] Permission denied: '/usr/local/Zope-2.5.0/var/Z2.pid'
>
> </stdout>
>
> I know enough to understand that there seems to be an ownership question 
> here
> but what I haven't been able to work out is how I ought to change 
> ownership.
> Do I need to create a special user to run zope, or what?  I'm sure that 
> the
> answer is staring me in the face but I thought that I would ask the
> community, whilst apologising for what might be a rather trivial enquiry.
>
>
> Many thanks
>
> James
>
>
> --
> Dr J Webster
>
> work: jgw@wincoll.ac.uk
> pleasure: james@xargla.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 )