Pas.plugins.ldap errors in buildout, then can't start Plone. Fresh Plone 5.0.6. OpenSuse 13.2

Tried this first with a running system, but could not figure out what was wrong. So setup a fresh install, and same errors during buildout and startup, with no other products added.
Running on OpenSuse 13.2 (if that matters).

After buildout, server can't fully start, so can't use add-on at all. Is there a fix?

Snippets of builout output: https://ghostbin.com/paste/kfr79
And startup error: https://ghostbin.com/paste/s5kz7

Suggestions?
Thanks!

Your buildout log does not contain any relevant errors. The log looks fine.

IOError: [Errno 13] Permission denied: '/arc/Plone/5/buildout-cache/eggs/node-0.9.16-py2.7.egg/EGG-INFO/entry_points.txt'

Obviously you have a permission issue - likely because you were running/using with root permissions in an inappropriate way. Use chmod or chown fixing your ownership or permissions.

-aj

Maybe in trying to make it fit in the online paste, I missed something important, so have included full log of process and all errors with log of startup, buildout errors, etc. Log also shows the scripts use, that are using sudo (shows cat of those scripts, in case there is something wrong with them), but it is not running as root (as far as I can tell, please let me know if you see something otherwise, but I don't think that is the issue this time). Detailed logs here:

http://techtalkhawke.com/news/pas-plugins-ldap-on-plone-5-0.6

This is a complete fresh install (again, have done this completely fresh half a dozen times now, no other variables change except adding the ldap plugin to builout and running buildout, then it breaks) of 5.0.6 using Unified Installer on OpenSuse 13.2.
Verified it worked correctly before adding plugin.
Then only added pas.plugins.ldap under eggs.
Ran buildout (see output), then attempted to stop instance (errors). Have to remove pas.plugins.ldap, re-rerun buildout, then can stop instance, and start instance.

Even if run buildout with pas.plugins.ldap added, without the instance running, when attempt to start, still get the startup error, and can't fully start Plone (zeoserver starts, but clients do not).
Output includes running manually, and client1 in fg mode.

If I then remove the pas.plugins.ldap entry from buildout.cfg, re-run buildout, then Plone runs normally again.

Suggestions?
Let me know if there is additional information I can provide.
Thanks!

``IOError: [Errno 13] Permission denied: '/arc/Plone/5/buildout-cache/eggs/odict-1.5.1-py2.7.egg/EGG-INFO/namespace_packages.txt'```

For some reason - I do not know how - you managed to install the egg in a way that the user Plone is running with has no permissions to read the odict package. This shall not happen, but can be changed with chmod easily.

Ok, found it: Some files in the odict egg 1.5.1 ZIP file on PyPI have only rw----. Released 1.5.2 here, please try with this one https://pypi.python.org/pypi/odict/1.5.2

Thank you.

Okay. Pinned it to 1.5.2 Verified that downloaded and installed odict 1.5.2.
Now permission error for node 0.9.16. Heh.

client1: Traceback (most recent call last):
File "/arc/Plone/5/zeocluster/bin/client1", line 277, in
import plone.recipe.zope2instance.ctl
File "/arc/Plone/5/buildout-cache/eggs/plone.recipe.zope2instance-4.2.21-py2.7.egg/plone/init.py", line 1, in
import('pkg_resources').declare_namespace(name)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2994, in
@_call_aside
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2980, in _call_aside
f(*args, **kwargs)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 3022, in _initialize_master_working_set
dist.activate(replace=False)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2552, in activate
for pkg in self._get_metadata('namespace_packages.txt'):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2542, in _get_metadata
for line in self.get_metadata_lines(name):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1470, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1466, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1575, in _get
with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/arc/Plone/5/buildout-cache/eggs/node-0.9.16-py2.7.egg/EGG-INFO/namespace_packages.txt'

Weirdness. At least that's a change from the previous product error. Suggestions?
Do I need to manually chmod those files that are only rw in that one?
Thanks!

I manually chmod'd the node *.rst files that were -rw------- so now, -rw-r--r--. and then re-ran builout,
But it still had same error...
Then noticed the EGG-INFO files also rw only, so chmod from
to: -rw------- 1 plone_buildout plone_group 20461 Nov 2 23:31 PKG-INFO
-rw------- 1 plone_buildout plone_group 1467 Nov 2 23:31 SOURCES.txt
-rw------- 1 plone_buildout plone_group 1 Nov 2 23:31 dependency_links.txt
-rw------- 1 plone_buildout plone_group 7 Nov 2 23:31 entry_points.txt
-rw------- 1 plone_buildout plone_group 5 Nov 2 23:31 namespace_packages.txt
-rw------- 1 plone_buildout plone_group 170 Nov 2 23:31 requires.txt
-rw------- 1 plone_buildout plone_group 5 Nov 2 23:31 top_level.txt
-rw------- 1 plone_buildout plone_group 1 Nov 2 23:31 zip-safe

to:
-rw-r--r-- 1 plone_buildout plone_group 20461 Nov 2 23:31 PKG-INFO
-rw-r--r-- 1 plone_buildout plone_group 1467 Nov 2 23:31 SOURCES.txt
-rw-r--r-- 1 plone_buildout plone_group 1 Nov 2 23:31 dependency_links.txt
-rw-r--r-- 1 plone_buildout plone_group 7 Nov 2 23:31 entry_points.txt
-rw-r--r-- 1 plone_buildout plone_group 5 Nov 2 23:31 namespace_packages.txt
-rw-r--r-- 1 plone_buildout plone_group 170 Nov 2 23:31 requires.txt
-rw-r--r-- 1 plone_buildout plone_group 5 Nov 2 23:31 top_level.txt
-rw-r--r-- 1 plone_buildout plone_group 1 Nov 2 23:31 zip-safe

Ran buildout again...
That fixed for node 0.9.16, but now also node.ugm has similar error. What the heck?

client1: Traceback (most recent call last):
File "/arc/Plone/5/zeocluster/bin/client1", line 277, in
import plone.recipe.zope2instance.ctl
File "/arc/Plone/5/buildout-cache/eggs/plone.recipe.zope2instance-4.2.21-py2.7.egg/plone/init.py", line 1, in
import('pkg_resources').declare_namespace(name)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2994, in
@_call_aside
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2980, in _call_aside
f(*args, **kwargs)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 3022, in _initialize_master_working_set
dist.activate(replace=False)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2552, in activate
for pkg in self._get_metadata('namespace_packages.txt'):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2542, in _get_metadata
for line in self.get_metadata_lines(name):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1470, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1466, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1575, in _get
with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/arc/Plone/5/buildout-cache/eggs/node.ext.ugm-0.9.8-py2.7.egg/EGG-INFO/namespace_packages.txt'

So, changed the EGG-INFO files in node to be the same., +w for group.

Reran buildout again...

And now same problem with plumber.
client1: Traceback (most recent call last):
File "/arc/Plone/5/zeocluster/bin/client1", line 282, in
+ sys.argv[1:]))
File "/arc/Plone/5/buildout-cache/eggs/plone.recipe.zope2instance-4.2.21-py2.7.egg/plone/recipe/zope2instance/ctl.py", line 626, in main
for ep in iter_entry_points('plone.recipe.zope2instance.ctl'):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 729, in iter_entry_points
entries = dist.get_entry_map(group)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2616, in get_entry_map
self._get_metadata('entry_points.txt'), self
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2346, in parse_map
for group, lines in data:
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2944, in split_sections
for line in yield_lines(s):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2212, in yield_lines
for ss in strs:
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2542, in _get_metadata
for line in self.get_metadata_lines(name):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1470, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1466, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1575, in _get
with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/arc/Plone/5/buildout-cache/eggs/plumber-1.3.1-py2.7.egg/EGG-INFO/entry_points.txt'

What the heck is going on? This only happens when I add pas.plugins.ldap to buildout.

So why are these permissions on just these packages broken when pulled during buildout? Is it an upstream issue, or something else wonky?

Thanks!

I manually chmod'd the single plumber file:
chmod g+rw /arc/Plone/5/buildout-cache/eggs/plumber-1.3.1-py2.7.egg/EGG-INFO/entry_points.txt

Though the server now gets further in starting, client1 just loops. Keeps disconnecting from zeoserver, and trying again.

So it failed. More files permissions. Ugh.
sudo -u plone_daemon /arc/Plone/5/zeocluster/bin/zeoserver start
.
daemon process started, pid=37203
d2d203:/arc/Plone/5/zeocluster # sudo -u plone_daemon /arc/Plone/5/zeocluster/bin/client1 fg
2016-11-24 23:56:26 INFO ZServer HTTP server started at Thu Nov 24 23:56:26 2016
Hostname: 125.dev2dev.com
Port: 5050
2016-11-24 23:56:29 INFO ZEO.ClientStorage zeostorage ClientStorage (pid=37211) created RW/normal for storage: '1'
2016-11-24 23:56:29 INFO ZEO.cache created temporary cache file ''
2016-11-24 23:56:29 INFO ZEO.ClientStorage zeostorage Testing connection <ManagedClientConnection ('127.0.0.1', 5100)>
2016-11-24 23:56:29 INFO ZEO.zrpc.Connection(C) (127.0.0.1:5100) received handshake 'Z3101'
2016-11-24 23:56:29 INFO ZEO.ClientStorage zeostorage Server authentication protocol None
2016-11-24 23:56:29 INFO ZEO.ClientStorage zeostorage Connected to storage: ('localhost', 5100)
2016-11-24 23:56:29 INFO ZEO.ClientStorage zeostorage No verification necessary -- empty cache
2016-11-24 23:56:30 INFO yafowil.plone Plone 5 detected. Load related YAFOWIL configuration
2016-11-24 23:56:34 INFO ZEO.ClientStorage zeostorage Disconnected from storage: "('localhost', 5100)"
Traceback (most recent call last):
File "/arc/Plone/5/zeocluster/parts/client1/bin/interpreter", line 299, in
exec(compile(__file__f.read(), file, "exec"))
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 76, in
run()
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 92, in prepare
self.startZope()
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 268, in startZope
Zope2.startup()
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/init.py", line 47, in startup
_startup()
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/startup.py", line 118, in startup
load_zcml()
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
load_site()
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
_context = xmlconfig.file(site_zcml)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file
include(context, name, package)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/z3c.autoinclude-0.3.6-py2.7.egg/z3c/autoinclude/zcml.py", line 104, in includePluginsDirective
includeZCMLGroup(_context, info, filename)
File "/arc/Plone/5/buildout-cache/eggs/z3c.autoinclude-0.3.6-py2.7.egg/z3c/autoinclude/zcml.py", line 30, in includeZCMLGroup
include(_context, filename, includable_package)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 705, in finish
args = toargs(context, *self.argdata)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1397, in toargs
args[str(name)] = field.fromUnicode(s)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 137, in fromUnicode
value = self.context.resolve(name)
File "/arc/Plone/5/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 179, in resolve
mod = import(mname, *_import_chickens)
File "/arc/Plone/5/buildout-cache/eggs/pas.plugins.ldap-1.5.1-py2.7.egg/pas/plugins/ldap/zmi/manage_plugin.py", line 2, in
from pas.plugins.ldap.properties import BasePropertiesForm
File "/arc/Plone/5/buildout-cache/eggs/pas.plugins.ldap-1.5.1-py2.7.egg/pas/plugins/ldap/properties.py", line 18, in
from yafowil.yaml import parse_from_YAML
File "/arc/Plone/5/buildout-cache/eggs/yafowil.yaml-1.2-py2.7.egg/yafowil/yaml/init.py", line 2, in
from parser import parse_from_YAML
File "/arc/Plone/5/buildout-cache/eggs/yafowil.yaml-1.2-py2.7.egg/yafowil/yaml/parser.py", line 11, in
import yafowil.loader # nopep8 # loads registry
File "/arc/Plone/5/buildout-cache/eggs/yafowil-2.2-py2.7.egg/yafowil/loader.py", line 15, in
for ep in yafowil.utils.get_entry_points('register'):
File "/arc/Plone/5/buildout-cache/eggs/yafowil-2.2-py2.7.egg/yafowil/utils.py", line 34, in get_entry_points
return sorted(entry_points, key=_ep_sortkey)
File "/arc/Plone/5/buildout-cache/eggs/yafowil-2.2-py2.7.egg/yafowil/utils.py", line 25, in _ep_sortkey
return getattr(val.load(), 'order', 0)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2267, in load
self.require(*args, **kwargs)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2284, in require
items = working_set.resolve(reqs, env, installer)
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 860, in resolve
new_requirements = dist.requires(req.extras)[::-1]
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2528, in requires
dm = self._dep_map
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2513, in _dep_map
for extra, reqs in split_sections(self._get_metadata(name)):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2944, in split_sections
for line in yield_lines(s):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2212, in yield_lines
for ss in strs:
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 2542, in _get_metadata
for line in self.get_metadata_lines(name):
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1470, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1466, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/arc/Plone/5/zeocluster/lib/python2.7/site-packages/pkg_resources/init.py", line 1575, in _get
with open(path, 'rb') as stream:
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/arc/Plone/5/zeocluster/parts/client1/etc/site.zcml", line 16.2-16.23
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configure.zcml", line 18.2-18.44
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/plone.app.collection-1.1.6-py2.7.egg/plone/app/collection/configure.zcml", line 9.2-9.45
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/plone.app.querystring-1.3.15-py2.7.egg/plone/app/querystring/configure.zcml", line 11.2-11.42
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/plone.app.registry-1.3.12-py2.7.egg/plone/app/registry/configure.zcml", line 12.4-12.34
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/plone.app.registry-1.3.12-py2.7.egg/plone/app/registry/browser/configure.zcml", line 6.4-6.43
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/plone.app.z3cform-1.2.1-py2.7.egg/plone/app/z3cform/configure.zcml", line 10.2-10.41
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/plone.app.widgets-2.0.6-py2.7.egg/plone/app/widgets/configure.zcml", line 12.2-12.41
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/Products.CMFPlone-5.0.6rc1-py2.7.egg/Products/CMFPlone/configure.zcml", line 108.4-112.10
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/pas.plugins.ldap-1.5.1-py2.7.egg/pas/plugins/ldap/configure.zcml", line 15.2-15.28
ZopeXMLConfigurationError: File "/arc/Plone/5/buildout-cache/eggs/pas.plugins.ldap-1.5.1-py2.7.egg/pas/plugins/ldap/zmi/configure.zcml", line 9.4-15.10
IOError: [Errno 13] Permission denied: '/arc/Plone/5/buildout-cache/eggs/plumber-1.3.1-py2.7.egg/EGG-INFO/requires.txt'

Are these bugs for each of those products? Something weird in the buildout script for pas.plugins.ldap? Something else?
Cheers!

Okay, it looks like it is now working with one more manual tweak to the whole directory of files:
chmod g+rw /arc/Plone/5/buildout-cache/eggs/plumber-1.3.1-py2.7.egg/EGG-INFO/*

sudo -u plone_daemon /arc/Plone/5/zeocluster/bin/zeoserver start
.
daemon process started, pid=37325
d2d203:/arc/Plone/5/zeocluster # sudo -u plone_daemon /arc/Plone/5/zeocluster/bin/client1 fg
2016-11-24 23:59:27 INFO ZServer HTTP server started at Thu Nov 24 23:59:27 2016
Hostname: 125.dev2dev.com
Port: 5050
2016-11-24 23:59:30 INFO ZEO.ClientStorage zeostorage ClientStorage (pid=37331) created RW/normal for storage: '1'
2016-11-24 23:59:30 INFO ZEO.cache created temporary cache file ''
2016-11-24 23:59:30 INFO ZEO.ClientStorage zeostorage Testing connection <ManagedClientConnection ('127.0.0.1', 5100)>
2016-11-24 23:59:30 INFO ZEO.zrpc.Connection(C) (127.0.0.1:5100) received handshake 'Z3101'
2016-11-24 23:59:30 INFO ZEO.ClientStorage zeostorage Server authentication protocol None
2016-11-24 23:59:30 INFO ZEO.ClientStorage zeostorage Connected to storage: ('localhost', 5100)
2016-11-24 23:59:30 INFO ZEO.ClientStorage zeostorage No verification necessary -- empty cache
2016-11-24 23:59:31 INFO yafowil.plone Plone 5 detected. Load related YAFOWIL configuration
2016-11-24 23:59:36 INFO Plone OpenID system packages not installed, OpenID support not available
2016-11-24 23:59:39 INFO Zope Ready to handle requests

Looks like fixed (I'm assuming the other errors will disappear once I've configured the LDAP settings).


2016-11-25T00:01:32 INFO CMFQuickInstallerTool Multiple extension profiles found for product pas.plugins.ldap.plonecontrolpanel. Used profile: pas.plugins.ldap.plonecontrolpanel:default

2016-11-25T00:01:32 INFO Products.GenericSetup.tool Importing profile profile-pas.plugins.ldap.plonecontrolpanel:default with dependency strategy upgrade.

2016-11-25T00:01:32 INFO Products.GenericSetup.tool Applying profile profile-pas.plugins.ldap:default

2016-11-25T00:01:32 INFO GenericSetup.rolemap Role / permission map imported.

2016-11-25T00:01:32 INFO GenericSetup.archetypetool Archetype tool imported.

2016-11-25T00:01:32 INFO Products.GenericSetup.tool Applying profile profile-yafowil.plone:default

2016-11-25T00:01:32 INFO GenericSetup.rolemap Role / permission map imported.

2016-11-25T00:01:32 INFO GenericSetup.archetypetool Archetype tool imported.

2016-11-25T00:01:32 INFO Products.GenericSetup.tool Applying profile profile-pas.plugins.ldap.plonecontrolpanel:install-base

2016-11-25T00:01:32 INFO GenericSetup.rolemap Role / permission map imported.

2016-11-25T00:01:32 INFO GenericSetup.componentregistry Utilities registered.

2016-11-25T00:01:32 INFO GenericSetup.archetypetool Archetype tool imported.

2016-11-25T00:01:32 INFO GenericSetup.pas.plugins.ldap Imported ldap settings.

2016-11-25T00:01:33 INFO Products.GenericSetup.tool Applying main profile profile-pas.plugins.ldap.plonecontrolpanel:default

2016-11-25T00:01:33 INFO GenericSetup.rolemap Role / permission map imported.

2016-11-25T00:01:33 INFO GenericSetup.controlpanel Control panel imported.

2016-11-25T00:01:33 INFO GenericSetup.archetypetool Archetype tool imported.

2016-11-25T00:01:34 WARNING pas.plugins.ldap LDAPError in authenticateCredentials -> {'desc': "Can't contact LDAP server"}

2016-11-25T00:01:35 WARNING pas.plugins.ldap LDAPError in authenticateCredentials -> {'desc': "Can't contact LDAP server"}

After buildout do a chmod -R g+r /arc/Plone/5/buildout-cache.

1 Like