Errore in installazione plone 5

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Errore in installazione plone 5

Giampiero Lago
Salve ragazzi,

stavo installando Plone 5 utilizzando il minimal buildout come descritto qui 


ma mi fallisce andando in errore:

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2174, in main
    getattr(buildout, command)(args)
  File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 666, in install
    self._maybe_upgrade()
  File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1160, in _maybe_upgrade
    sys.exit(subprocess.call(args))
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

Sto su un server Debian 8 con Python 2.7.9 e virtualenv 1.11.6

Grazie Mille
Giampiero

--
-- 
Giampiero Lago
Web Area Manager - IT Core
TIGEM (Telethon Institute of Genetics and Medicine)
Via Campi Flegrei, 34
80078 - POZZUOLI (NA)

Direct Phone:		+39 081 19230637
Secretariat Phone:	+39 081 19230600
Fax:			+39 081 19230651
E-mail:			[hidden email]
Website:		http://www.tigem.it

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: Errore in installazione plone 5

alepisa
On Tue, 12 Mar 2019 at 18:06, Giampiero Lago <[hidden email]> wrote:

>
> Salve ragazzi,
>
> stavo installando Plone 5 utilizzando il minimal buildout come descritto qui
>
> https://docs.plone.org/manage/installing/installation_minimal_buildout.html
>
> ma mi fallisce andando in errore:
>
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2174, in main
>     getattr(buildout, command)(args)
>   File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 666, in install
>     self._maybe_upgrade()
>   File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1160, in _maybe_upgrade
>     sys.exit(subprocess.call(args))
>   File "/usr/lib/python2.7/subprocess.py", line 522, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
>     self.pid = os.fork()
> OSError: [Errno 12] Cannot allocate memory
>
> Sto su un server Debian 8 con Python 2.7.9 e virtualenv 1.11.6
>

Non e' che hai semplicemente finito la RAM.

Prova ad aggiungere uno swapfile al volo:
- https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/

Ciao
--
@ale_pisa - http://ale-rt.github.io - http://alepisa.blogspot.com -
https://it.linkedin.com/in/apisa
_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: Errore in installazione plone 5

Giampiero Lago
Ciao Ale,

ho provato ma mi da sempre lo stesso errore;
inoltre ho verificato la memoria e su 4Gb ne sono liberi 3.6Gb

Giampiero

On 12/03/2019 18:12, Alessandro Pisa wrote:

> On Tue, 12 Mar 2019 at 18:06, Giampiero Lago <[hidden email]> wrote:
>> Salve ragazzi,
>>
>> stavo installando Plone 5 utilizzando il minimal buildout come descritto qui
>>
>> https://docs.plone.org/manage/installing/installation_minimal_buildout.html
>>
>> ma mi fallisce andando in errore:
>>
>> An internal error occurred due to a bug in either zc.buildout or in a
>> recipe being used:
>> Traceback (most recent call last):
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2174, in main
>>      getattr(buildout, command)(args)
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 666, in install
>>      self._maybe_upgrade()
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1160, in _maybe_upgrade
>>      sys.exit(subprocess.call(args))
>>    File "/usr/lib/python2.7/subprocess.py", line 522, in call
>>      return Popen(*popenargs, **kwargs).wait()
>>    File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>>      errread, errwrite)
>>    File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
>>      self.pid = os.fork()
>> OSError: [Errno 12] Cannot allocate memory
>>
>> Sto su un server Debian 8 con Python 2.7.9 e virtualenv 1.11.6
>>
> Non e' che hai semplicemente finito la RAM.
>
> Prova ad aggiungere uno swapfile al volo:
> - https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
>
> Ciao


--
Giampiero Lago
Web Area Manager - IT Core
TIGEM (Telethon Institute of Genetics and Medicine)
Via Campi Flegrei, 34
80078 - POZZUOLI (NA)

Direct Phone: +39 081 19230637
Secretariat Phone: +39 081 19230600
Fax: +39 081 19230651
E-mail: [hidden email]
Website: http://www.tigem.it

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: Errore in installazione plone 5

Vito
Confermo,
il problema è più ampio, non legato a Plone.
Probabilmente anche se provi a installare qualche altro framework avrai lo stesso messaggio.

Il fatto che tu abbia RAM libera è ok, probabilmente l'utente che utilizzi ha dei limiti intrinsechi sull'utilizzo della ram e/o del numero dei processi.

Vito



Il giorno mer 13 mar 2019 alle ore 10:28 Giampiero Lago <[hidden email]> ha scritto:
Ciao Ale,

ho provato ma mi da sempre lo stesso errore;
inoltre ho verificato la memoria e su 4Gb ne sono liberi 3.6Gb

Giampiero

On 12/03/2019 18:12, Alessandro Pisa wrote:
> On Tue, 12 Mar 2019 at 18:06, Giampiero Lago <[hidden email]> wrote:
>> Salve ragazzi,
>>
>> stavo installando Plone 5 utilizzando il minimal buildout come descritto qui
>>
>> https://docs.plone.org/manage/installing/installation_minimal_buildout.html
>>
>> ma mi fallisce andando in errore:
>>
>> An internal error occurred due to a bug in either zc.buildout or in a
>> recipe being used:
>> Traceback (most recent call last):
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2174, in main
>>      getattr(buildout, command)(args)
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 666, in install
>>      self._maybe_upgrade()
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1160, in _maybe_upgrade
>>      sys.exit(subprocess.call(args))
>>    File "/usr/lib/python2.7/subprocess.py", line 522, in call
>>      return Popen(*popenargs, **kwargs).wait()
>>    File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>>      errread, errwrite)
>>    File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
>>      self.pid = os.fork()
>> OSError: [Errno 12] Cannot allocate memory
>>
>> Sto su un server Debian 8 con Python 2.7.9 e virtualenv 1.11.6
>>
> Non e' che hai semplicemente finito la RAM.
>
> Prova ad aggiungere uno swapfile al volo:
> - https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
>
> Ciao


--
Giampiero Lago
Web Area Manager - IT Core
TIGEM (Telethon Institute of Genetics and Medicine)
Via Campi Flegrei, 34
80078 - POZZUOLI (NA)

Direct Phone:           +39 081 19230637
Secretariat Phone:      +39 081 19230600
Fax:                    +39 081 19230651
E-mail:                 [hidden email]
Website:                http://www.tigem.it

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html


--
Vito Falco
Developer & UI designer | Freelance
Bari, IT

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: Errore in installazione plone 5

Giampiero Lago
Ragazzi,

è un problema di buildout
https://github.com/buildout/buildout/issues/312

Ora devo capire perchè e come risolverlo :-(

Giampiero


On 13/03/2019 10:40, Vito Falco wrote:
Confermo,
il problema è più ampio, non legato a Plone.
Probabilmente anche se provi a installare qualche altro framework avrai lo stesso messaggio.

Il fatto che tu abbia RAM libera è ok, probabilmente l'utente che utilizzi ha dei limiti intrinsechi sull'utilizzo della ram e/o del numero dei processi.

Vito



Il giorno mer 13 mar 2019 alle ore 10:28 Giampiero Lago <[hidden email]> ha scritto:
Ciao Ale,

ho provato ma mi da sempre lo stesso errore;
inoltre ho verificato la memoria e su 4Gb ne sono liberi 3.6Gb

Giampiero

On 12/03/2019 18:12, Alessandro Pisa wrote:
> On Tue, 12 Mar 2019 at 18:06, Giampiero Lago <[hidden email]> wrote:
>> Salve ragazzi,
>>
>> stavo installando Plone 5 utilizzando il minimal buildout come descritto qui
>>
>> https://docs.plone.org/manage/installing/installation_minimal_buildout.html
>>
>> ma mi fallisce andando in errore:
>>
>> An internal error occurred due to a bug in either zc.buildout or in a
>> recipe being used:
>> Traceback (most recent call last):
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2174, in main
>>      getattr(buildout, command)(args)
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 666, in install
>>      self._maybe_upgrade()
>>    File "/home/plone/upgrade/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1160, in _maybe_upgrade
>>      sys.exit(subprocess.call(args))
>>    File "/usr/lib/python2.7/subprocess.py", line 522, in call
>>      return Popen(*popenargs, **kwargs).wait()
>>    File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>>      errread, errwrite)
>>    File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
>>      self.pid = os.fork()
>> OSError: [Errno 12] Cannot allocate memory
>>
>> Sto su un server Debian 8 con Python 2.7.9 e virtualenv 1.11.6
>>
> Non e' che hai semplicemente finito la RAM.
>
> Prova ad aggiungere uno swapfile al volo:
> - https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
>
> Ciao


--
Giampiero Lago
Web Area Manager - IT Core
TIGEM (Telethon Institute of Genetics and Medicine)
Via Campi Flegrei, 34
80078 - POZZUOLI (NA)

Direct Phone:           +39 081 19230637
Secretariat Phone:      +39 081 19230600
Fax:                    +39 081 19230651
E-mail:                 [hidden email]
Website:                http://www.tigem.it

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html


--
Vito Falco
Developer & UI designer | Freelance
Bari, IT

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html


-- 
Giampiero Lago
Web Area Manager - IT Core
TIGEM (Telethon Institute of Genetics and Medicine)
Via Campi Flegrei, 34
80078 - POZZUOLI (NA)

Direct Phone:		+39 081 19230637
Secretariat Phone:	+39 081 19230600
Fax:			+39 081 19230651
E-mail:			[hidden email]
Website:		http://www.tigem.it

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: Errore in installazione plone 5

alepisa
On Wed, 13 Mar 2019 at 12:47, Giampiero Lago <[hidden email]> wrote:
>
> Ragazzi,
>
> è un problema di buildout
> https://github.com/buildout/buildout/issues/312
>
> Ora devo capire perchè e come risolverlo :-(
>

Proverei ad usare l'ultima versione di sc.buildout e setuptools :)
--
@ale_pisa - http://ale-rt.github.io - http://alepisa.blogspot.com -
https://it.linkedin.com/in/apisa
_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: Errore in installazione plone 5

Riccardo Lemmi-3
In reply to this post by Giampiero Lago
On Wednesday 13 March 2019, Giampiero Lago wrote:
> Ragazzi,
>
> è un problema di buildout
> https://github.com/buildout/buildout/issues/312
>
> Ora devo capire perchè e come risolverlo :-(
>
> Giampiero
>

Se il problema è effettivamente quello del loop su setuptools, in fondo
al thread dice di mettere la stessa versione sia nel virtualenv che nel
buildout.

--
Riccardo Lemmi
Über Developer
http://www.reflab.com

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Errore in installazione plone 5

Giampiero Lago
Ragazzi,

a quanto pare è una cosa nota e già corretta tempo fa (nel 2016)

qualcuno ha un buildout minimal di Plone un più recente ;-)

Grazie
Giampiero

On 13/03/2019 15:14, Riccardo Lemmi wrote:
On Wednesday 13 March 2019, Giampiero Lago wrote:
Ragazzi,

è un problema di buildout
https://github.com/buildout/buildout/issues/312

Ora devo capire perchè e come risolverlo :-(

Giampiero

Se il problema è effettivamente quello del loop su setuptools, in fondo 
al thread dice di mettere la stessa versione sia nel virtualenv che nel 
buildout.


_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html


-- 
Giampiero Lago
Web Area Manager - IT Core
TIGEM (Telethon Institute of Genetics and Medicine)
Via Campi Flegrei, 34
80078 - POZZUOLI (NA)

Direct Phone:		+39 081 19230637
Secretariat Phone:	+39 081 19230600
Fax:			+39 081 19230651
E-mail:			[hidden email]
Website:		http://www.tigem.it

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html