[Setup] Plone3: some problems using buildout

cwarner Christopher.Warner at nymag.com
Wed Jan 9 21:33:42 UTC 2008


I can reproduce this, do you have any information on your Python installation
is it system or are you using a different Python somewhere else on the
system in addition to having a system install?

Thanks,
Christopher Warner


Toni Mueller-15 wrote:
> 
> 
> Hi,
> 
> I'm trying to get a Plone3 instance installed using buildout ("latest" 
> mode, just updated today) for a deployment configuration, along the
> lines of Martin's nice tutorial.
> 
> Everything installs "semi-fine" in that the general machinery works if I 
> don't attempt to use 'user' or 'effective-user' statements, but run all 
> processes as me. But I have trouble finding additional information about 
> doing it in a realistic way, eg. with separate users for these 
> processes, or otherwise customized zeo.conf and zope.conf configuration 
> files (ie, extend/modify the recipes). I also have some strange problems 
> that I couldn't yet fathom:
> 
> 
> * Starting ZEO works nicely, regardless whether I try to switch
>    the user or not.
> 
> * Starting the Zope client ("primary") works nicely if I start
>    it as me, regardless whether I say "start" or "fg".
> 
> * Starting the Zope client as root using "start", using an
>    'effective-user' statement in parts/primary/etc/zope.conf,
>    does NOT work in that the process starts nicely and doesn't
>    produce any error messages in the logs (var/log/primary*.log),
>    but it does not open the listening socket. IOW, I cannot
>    send any requests to this process.
> 
> * Starting it as root saying "fg" instead (ie, "./bin/primary fg"),
>    it does not even start, but yields this error message:
> 
> # ./bin/primary fg
> "/home/toni/zope/ffii-plone/parts/primary/bin/runzope"
> Traceback (most recent call last):
>    File 
> "/home/toni/zope/ffii-plone/parts/zope2/lib/python/Zope2/Startup/run.py", 
> line 56, in ?
>    File 
> "/home/toni/zope/ffii-plone/parts/zope2/lib/python/Zope2/Startup/run.py", 
> line 21, in run
>    File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 99, in 
> prepare
> 
>    File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 293, in 
> makeLockFile
> 
> ImportError: No module named misc.lock_file
> 
> 
> Of course, the file is there, and I also chown'ed -R toni:zope and chmod 
> -R g+rwX everything, so access should really not be a problem.
> 
> 
> This happens with Plone 3.0.4 with Zope 2.10.5 on Debian Etch/amd64.
> 
> 
> I've seen a similar problem discussed a few months ago where someone
> had no luck on Solaris, but I don't know in how far these problems are
> related.
> 
> 
> Any help is much appreciated!
> 
> 
> Best,
> --Toni++
> 
> 
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
> 
> 

-- 
View this message in context: http://www.nabble.com/Plone3%3A-some-problems-using-buildout-tp14400927s15482p14694830.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list