From test at wolff-online.nl Mon Oct 6 21:43:34 2014 From: test at wolff-online.nl (test mail) Date: Mon, 6 Oct 2014 21:43:34 +0200 Subject: [Erp5-users] slapos and erp5 installation In-Reply-To: References: Message-ID: Hello, I tried several installation methods (debian package / USB method) but all methods fail, it seems that the installtion documentation is incomplete. Running ERP5 on premise is a strict requirement for my client, please help! Best regards Carl. 2014-10-05 16:11 GMT+02:00 test mail : > Hello, > > I've installed a slapos slave on debian 7.6.0 and I can see it on > www.slapos.org. > > Now I want to install ERP5 in it (using slapos.org), but I get on my PC > repeatingly the following log in /opt/slapos/log/slapos-node-software.log: > > Invoking: "/opt/slapos/parts/python2.7/bin/python2.7 -S -c import sys ; > sys.path=['/opt/slapos/parts/slapos', '/opt/slapos/bin', > '/opt/slapos/parts/python2.7/lib/python27.zip', > '/opt/slapos/parts/python2.7/lib/python2.7', > '/opt/slapos/parts/python2.7/lib/python2.7/plat-linux2', > '/opt/slapos/parts/python2.7/lib/python2.7/lib-tk', > '/opt/slapos/parts/python2.7/lib/python2.7/lib-old', > '/opt/slapos/parts/python2.7/lib/python2.7/lib-dynload', > '/opt/slapos/develop-eggs/cffi-0.8.6-py2.7-linux-x86_64.egg', > '/opt/slapos/develop-eggs/cryptography-0.5.4-py2.7-linux-x86_64.egg', > '/opt/slapos/eggs/pyOpenSSL-0.14-py2.7.egg', > '/opt/slapos/eggs/slapos.libnetworkcache-0.14.1-py2.7.egg', > '/opt/slapos/eggs/zc.buildout-1.7.1_dev_SlapOS_003-py2.7.egg', > '/opt/slapos/develop-eggs/lxml-3.3.6-py2.7-linux-x86_64.egg', > '/opt/slapos/eggs/slapos.core-1.2.2-py2.7.egg', > '/opt/slapos/eggs/requests-2.4.0-py2.7.egg', > '/opt/slapos/eggs/cliff-1.4.5-py2.7.egg', > '/opt/slapos/eggs/setuptools-1.4.2-py2.7.egg', > '/opt/slapos/eggs/zope.interface-4.1.1-py2.7-linux-x86_64.egg', > '/opt/slapos/eggs/xml_marshaller-0.9.7-py2.7.egg', > '/opt/slapos/eggs/psutil-2.1.1-py2.7-linux-x86_64.egg', > '/opt/slapos/eggs/supervisor-3.1.2-py2.7.egg', > '/opt/slapos/eggs/netifaces-0.10.4-py2.7-linux-x86_64.egg', > '/opt/slapos/eggs/netaddr-0.7.12-py2.7.egg', > '/opt/slapos/eggs/Flask-0.10.1-py2.7.egg', > '/opt/slapos/eggs/six-1.7.3-py2.7.egg', > '/opt/slapos/eggs/pycparser-2.10-py2.7.egg', > '/opt/slapos/eggs/certifi-14.05.14-py2.7.egg', > '/opt/slapos/eggs/cmd2-0.6.7-py2.7.egg', > '/opt/slapos/eggs/pyparsing-2.0.2-py2.7.egg', > '/opt/slapos/eggs/prettytable-0.7.3_nxd001-py2.7.egg', > '/opt/slapos/eggs/meld3-1.0.0-py2.7.egg', > '/opt/slapos/eggs/itsdangerous-0.24-py2.7.egg', > '/opt/slapos/eggs/Jinja2-2.7.3-py2.7.egg', > '/opt/slapos/eggs/Werkzeug-0.9.6-py2.7.egg', > '/opt/slapos/eggs/MarkupSafe-0.23-py2.7-linux-x86_64.egg'] ; import > zc.buildout.buildout ; > sys.argv[1:1]=['buildout:extends-cache=/tmp/tmpLMShUc', > 'buildout:directory=/opt/slapgrid/af64577e5ed823046cf03439bd4ab6ab', '-c', > '/opt/slapgrid/af64577e5ed823046cf03439bd4ab6ab/buildout.cfg', 'bootstrap'] > ; zc.buildout.buildout.main()" in directory > '/opt/slapgrid/af64577e5ed823046cf03439bd4ab6ab' > [2014-10-05 04:13:07,100] ERROR Dropping privileges to uid = 0 or gid = > 0 is too dangerous > Traceback (most recent call last): > File > "/opt/slapos/eggs/slapos.core-1.2.2-py2.7.egg/slapos/grid/utils.py", line > 272, in bootstrapBuildout > logger=logger) > File > "/opt/slapos/eggs/slapos.core-1.2.2-py2.7.egg/slapos/grid/utils.py", line > 101, in __init__ > subprocess.Popen.__init__(self, *args, **kwargs) > File "/opt/slapos/parts/python2.7/lib/python2.7/subprocess.py", line > 710, in __init__ > errread, errwrite) > File "/opt/slapos/parts/python2.7/lib/python2.7/subprocess.py", line > 1327, in _execute_child > raise child_exception > OSError: Dropping privileges to uid = 0 or gid = 0 is too dangerous > [2014-10-05 04:13:07,101] DEBUG Restore umask from 027 to 022 > [2014-10-05 04:13:10,335] INFO Finished software releases. > > > Did I miss something? > > Best regards > Carl. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From k.woelfel at gmx.de Mon Oct 6 21:52:17 2014 From: k.woelfel at gmx.de (Klaus =?ISO-8859-1?Q?W=F6lfel?=) Date: Mon, 06 Oct 2014 21:52:17 +0200 Subject: [Erp5-users] slapos and erp5 installation In-Reply-To: References: Message-ID: <1771378.EKqMnjYbgS@klaus-satellite-z930> Hi, this could be a problem of permissions in SlapOS. I think think this is addressed currently. Until it is fixed you can do the following: sudo slapos node format --alter_user=True --now and then change the permissions in /etc/opt/slapos/ssl/partition_pki for each partition to be slapuserx:slapuserx for example: chown slapuser1:slapuser1 /etc/opt/slapos/ssl/partition_pki/slappart1 Regards, Klaus Am Montag, 6. Oktober 2014, 21:43:34 schrieb test mail: > Hello, > > I tried several installation methods (debian package / USB method) but all > methods fail, it seems that the installtion documentation is incomplete. > > Running ERP5 on premise is a strict requirement for my client, please help! > > Best regards > Carl. > > 2014-10-05 16:11 GMT+02:00 test mail : > > Hello, > > > > I've installed a slapos slave on debian 7.6.0 and I can see it on > > www.slapos.org. > > > > Now I want to install ERP5 in it (using slapos.org), but I get on my PC > > repeatingly the following log in /opt/slapos/log/slapos-node-software.log: > > > > Invoking: "/opt/slapos/parts/python2.7/bin/python2.7 -S -c import sys ; > > sys.path=['/opt/slapos/parts/slapos', '/opt/slapos/bin', > > '/opt/slapos/parts/python2.7/lib/python27.zip', > > '/opt/slapos/parts/python2.7/lib/python2.7', > > '/opt/slapos/parts/python2.7/lib/python2.7/plat-linux2', > > '/opt/slapos/parts/python2.7/lib/python2.7/lib-tk', > > '/opt/slapos/parts/python2.7/lib/python2.7/lib-old', > > '/opt/slapos/parts/python2.7/lib/python2.7/lib-dynload', > > '/opt/slapos/develop-eggs/cffi-0.8.6-py2.7-linux-x86_64.egg', > > '/opt/slapos/develop-eggs/cryptography-0.5.4-py2.7-linux-x86_64.egg', > > '/opt/slapos/eggs/pyOpenSSL-0.14-py2.7.egg', > > '/opt/slapos/eggs/slapos.libnetworkcache-0.14.1-py2.7.egg', > > '/opt/slapos/eggs/zc.buildout-1.7.1_dev_SlapOS_003-py2.7.egg', > > '/opt/slapos/develop-eggs/lxml-3.3.6-py2.7-linux-x86_64.egg', > > '/opt/slapos/eggs/slapos.core-1.2.2-py2.7.egg', > > '/opt/slapos/eggs/requests-2.4.0-py2.7.egg', > > '/opt/slapos/eggs/cliff-1.4.5-py2.7.egg', > > '/opt/slapos/eggs/setuptools-1.4.2-py2.7.egg', > > '/opt/slapos/eggs/zope.interface-4.1.1-py2.7-linux-x86_64.egg', > > '/opt/slapos/eggs/xml_marshaller-0.9.7-py2.7.egg', > > '/opt/slapos/eggs/psutil-2.1.1-py2.7-linux-x86_64.egg', > > '/opt/slapos/eggs/supervisor-3.1.2-py2.7.egg', > > '/opt/slapos/eggs/netifaces-0.10.4-py2.7-linux-x86_64.egg', > > '/opt/slapos/eggs/netaddr-0.7.12-py2.7.egg', > > '/opt/slapos/eggs/Flask-0.10.1-py2.7.egg', > > '/opt/slapos/eggs/six-1.7.3-py2.7.egg', > > '/opt/slapos/eggs/pycparser-2.10-py2.7.egg', > > '/opt/slapos/eggs/certifi-14.05.14-py2.7.egg', > > '/opt/slapos/eggs/cmd2-0.6.7-py2.7.egg', > > '/opt/slapos/eggs/pyparsing-2.0.2-py2.7.egg', > > '/opt/slapos/eggs/prettytable-0.7.3_nxd001-py2.7.egg', > > '/opt/slapos/eggs/meld3-1.0.0-py2.7.egg', > > '/opt/slapos/eggs/itsdangerous-0.24-py2.7.egg', > > '/opt/slapos/eggs/Jinja2-2.7.3-py2.7.egg', > > '/opt/slapos/eggs/Werkzeug-0.9.6-py2.7.egg', > > '/opt/slapos/eggs/MarkupSafe-0.23-py2.7-linux-x86_64.egg'] ; import > > zc.buildout.buildout ; > > sys.argv[1:1]=['buildout:extends-cache=/tmp/tmpLMShUc', > > 'buildout:directory=/opt/slapgrid/af64577e5ed823046cf03439bd4ab6ab', '-c', > > '/opt/slapgrid/af64577e5ed823046cf03439bd4ab6ab/buildout.cfg', > > 'bootstrap'] > > ; zc.buildout.buildout.main()" in directory > > '/opt/slapgrid/af64577e5ed823046cf03439bd4ab6ab' > > [2014-10-05 04:13:07,100] ERROR Dropping privileges to uid = 0 or gid = > > 0 is too dangerous > > > > Traceback (most recent call last): > > File > > > > "/opt/slapos/eggs/slapos.core-1.2.2-py2.7.egg/slapos/grid/utils.py", line > > 272, in bootstrapBuildout > > > > logger=logger) > > > > File > > > > "/opt/slapos/eggs/slapos.core-1.2.2-py2.7.egg/slapos/grid/utils.py", line > > 101, in __init__ > > > > subprocess.Popen.__init__(self, *args, **kwargs) > > > > File "/opt/slapos/parts/python2.7/lib/python2.7/subprocess.py", line > > > > 710, in __init__ > > > > errread, errwrite) > > > > File "/opt/slapos/parts/python2.7/lib/python2.7/subprocess.py", line > > > > 1327, in _execute_child > > > > raise child_exception > > > > OSError: Dropping privileges to uid = 0 or gid = 0 is too dangerous > > [2014-10-05 04:13:07,101] DEBUG Restore umask from 027 to 022 > > [2014-10-05 04:13:10,335] INFO Finished software releases. > > > > > > Did I miss something? > > > > Best regards > > Carl.