Fwd: [gitec] [Errno 28] No space left on device

Fabiano Weimar dos Santos xirumacanudo em gmail.com
Segunda Setembro 1 14:02:34 BRT 2008


Esqueci de encaminhar a resposta para a lista...

---------- Forwarded message ----------
From: Fabiano Weimar dos Santos <xirumacanudo em gmail.com>
Date: 2008/9/1
Subject: Re: [gitec] [Errno 28] No space left on device
To: Fernanda123ja <fernanda123ja em gmail.com>


Oi Fernanda,

o traceback mostra que por algum motivo o contador de acessos mxmCounter n=
=E3o
est=E1 funcionando. Provavelmente esse Plone Product est=E1 quebrado. Uma
solu=E7=E3o seria entrar na raiz da ZMI e customizar o "footer", desligando=
 a
linha do contador. Depois, terias que investigar pq ele parou de funcionar.
Se voce nunca customizou o footer do seu portal (via portal_skins), algo
equivalente poderia ser feito editando o arquivo footer.pt no pr=F3prio
filesystem. Para acha-lo, pode usar o find

# find / -name "footer.pt" -print

e depois voc=EA edita ele usando o vi, pico, jed, emacs...

Eu pessoalmente n=E3o gosto desses tipos de Plone Products para contador pq
eles causam bloating do ZODB: cada acesso (ou cada X acessos) geram uma
transacao no Data.fs. e isso acaba fazendo o Data.fs (pois novas transa=E7=
=F5es
fazem o "log" crescer). Isso explicaria pq voce n=E3o tem mais espa=E7o em =
disco
:-)


Att.

Fabiano Weimar


2008/9/1 Fernanda123ja <fernanda123ja em gmail.com>

> Certo..
>
> Ja apaguei uns backups mas vou dar uma faxina melhor..
>
> Agora, pq meu portal nao entra mais?? tente s=F3 a=ED  www.camaraptu.mg.g=
ov.br
>
> Fernanda
>
>
> Em 01/09/08, Fabiano Weimar dos Santos <xirumacanudo em gmail.com> escreveu:
>>
>> Oi Fernanda,
>>
>> a solu=E7=E3o seria fazer uma limpeza no seu sistema. Aposto que voc=EA =
deve ter
>> muito o que enxugar, como arquivos de logs e backups. Agora, se seu disco
>> est=E1 realmente cheio e acreditas que n=E3o possa apagar nada de in=FAt=
il, s=F3
>> colocando outro disco maior mesmo.
>>
>> Att.
>>
>> Fabiano Weimar
>>
>>
>> 2008/9/1 Fernanda123ja <fernanda123ja em gmail.com>
>>
>>> Ok Fabiano, vou fazer.. mas s=F3 uma perguntinha, conforme eu v=E1 incl=
uindo
>>> mais arquivos, o problema vai repetir... A solu=E7=E3o seria outro disc=
o maior?
>>>
>>> 2008/9/1, Fabiano Weimar dos Santos <xirumacanudo em gmail.com>:
>>>
>>>> Oi Fernanda,
>>>>
>>>> de fato, seu filesystem raiz "/" ext=E1 cheio.
>>>>
>>>> Execute o seguinte comando para procurar por arquivos maiores que 100M=
B,
>>>> escolha um que "n=E3o seja muito importante" e o apague (ou na d=FAvid=
a, mova
>>>> para o /backup onde voce ainda tem 35G disponiveis).
>>>>
>>>> # find / -size +100M -print
>>>>
>>>> Para mover
>>>>
>>>> # mv ARQUIVO /backup
>>>>
>>>> Att.
>>>>
>>>> Fabiano Weimar
>>>>
>>>>
>>>> 2008/9/1 Fernanda123ja <fernanda123ja em gmail.com>
>>>>
>>>>> Fabiano, consegui pegar o resultado do $sudo df -h
>>>>>
>>>>> Sist. Arq.                         Tam
>>>>> Usad              Disp                Uso              Montado em
>>>>> /dev/hda1                         73G
>>>>> 69G               0                     100%                     /
>>>>> tmpfs                              506M
>>>>> 0                   506M               0%                        /dev=
/shm
>>>>> /dev/hda2                         37G
>>>>> 129M             35G                 1%                        /backup
>>>>>
>>>>>
>>>>>
>>>>> :S:S:
>>>>>
>>>>> Fernanda
>>>>>
>>>>>
>>>>>
>>>>> 2008/9/1, Fernanda123ja <fernanda123ja em gmail.com>:
>>>>>
>>>>>> Reiniciei o computador e .. pasmem! agora meu portal nao esta mais
>>>>>> acessivel..
>>>>>> Segue mensagem:
>>>>>>
>>>>>>  Site Error
>>>>>>
>>>>>> An error was encountered while publishing this resource.
>>>>>>
>>>>>> *AttributeError*
>>>>>> Sorry, a site error occurred.
>>>>>>
>>>>>> Traceback (innermost last):
>>>>>>
>>>>>>    - Module ZPublisher.Publish, line 187, in publish_module_standard
>>>>>>    - Module Products.PlacelessTranslationService.PatchStringIO, line
>>>>>>    51, in new_publish
>>>>>>    - Module ZPublisher.Publish, line 144, in publish
>>>>>>    - Module Zope2.App.startup, line 216, in zpublisher_exception_hook
>>>>>>
>>>>>>    - Module ZPublisher.Publish, line 113, in publish
>>>>>>    - Module ZPublisher.mapply, line 88, in mapply
>>>>>>    - Module ZPublisher.Publish, line 40, in call_object
>>>>>>    - Module Shared.DC.Scripts.Bindings, line 311, in __call__
>>>>>>    - Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>>>>>>    - Module Products.CMFCore.FSPageTemplate, line 195, in _exec
>>>>>>    - Module Products.CacheSetup.patch_cmf, line 34, in FSPT_pt_render
>>>>>>
>>>>>>    - Module Products.CacheSetup.patch_cmf, line 87, in PT_pt_render
>>>>>>    *<FSPageTemplate at /portal/pagina-inicial>*
>>>>>>    - Module TAL.TALInterpreter, line 206, in __call__
>>>>>>    - Module TAL.TALInterpreter, line 250, in interpret
>>>>>>    - Module TAL.TALInterpreter, line 711, in do_useMacro
>>>>>>    - Module TAL.TALInterpreter, line 250, in interpret
>>>>>>    - Module TAL.TALInterpreter, line 426, in do_optTag_tal
>>>>>>    - Module TAL.TALInterpreter, line 411, in do_optTag
>>>>>>    - Module TAL.TALInterpreter, line 406, in no_tag
>>>>>>    - Module TAL.TALInterpreter, line 250, in interpret
>>>>>>    - Module TAL.TALInterpreter, line 426, in do_optTag_tal
>>>>>>    - Module TAL.TALInterpreter, line 411, in do_optTag
>>>>>>    - Module TAL.TALInterpreter, line 406, in no_tag
>>>>>>    - Module TAL.TALInterpreter, line 250, in interpret
>>>>>>    - Module TAL.TALInterpreter, line 609, in do_insertStructure_tal
>>>>>>    - Module Products.PageTemplates.TALES, line 221, in evaluate
>>>>>>    *URL: file:ILPortalCasas/skins/ILPortalCasas_public/
>>>>>>    main_template.pt*
>>>>>>    *Line 190, Column 8*
>>>>>>    *Expression: standard:'portal/footer'*
>>>>>>    *Names:*
>>>>>>
>>>>>>    {'container': <PloneSite at /portal>,
>>>>>>     'context': <PloneSite at /portal>,
>>>>>>     'default': <Products.PageTemplates.TALES.Default instance at 0xb=
6b7ea4c>,
>>>>>>     'here': <PloneSite at /portal>,
>>>>>>     'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2=
9ed9cc>,
>>>>>>     'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImp=
orter instance at 0xb6b7eb2c>,
>>>>>>     'nothing': None,
>>>>>>     'options': {'args': ()},
>>>>>>     'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x=
b29ed9cc>,
>>>>>>     'request': <HTTPRequest, URL=3Dhttp://200.216.214.194/portal/pag=
ina-inicial>,
>>>>>>     'root': <Application at >,
>>>>>>     'template': <FSPageTemplate at /portal/pagina-inicial>,
>>>>>>     'traverse_subpath': [],
>>>>>>     'user': Anonymous User}
>>>>>>
>>>>>>    - Module Products.PageTemplates.Expressions, line 185, in __call__
>>>>>>
>>>>>>    - Module Products.PageTemplates.Expressions, line 180, in _eval
>>>>>>    - Module Products.PageTemplates.Expressions, line 77, in render
>>>>>>    - Module Products.PageTemplates.ZRPythonExpr, line 76, in
>>>>>>    call_with_ns
>>>>>>    - Module Shared.DC.Scripts.Bindings, line 325, in
>>>>>>    __render_with_namespace__
>>>>>>    - Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>>>>>>    - Module Products.PageTemplates.ZopePageTemplate, line 256, in
>>>>>>    _exec
>>>>>>    - Module Products.CacheSetup.patch_cmf, line 87, in PT_pt_render
>>>>>>    *<ZopePageTemplate at /portal/footer>*
>>>>>>    - Module TAL.TALInterpreter, line 206, in __call__
>>>>>>    - Module TAL.TALInterpreter, line 250, in interpret
>>>>>>    - Module TAL.TALInterpreter, line 477, in do_setLocal_tal
>>>>>>    - Module Products.PageTemplates.TALES, line 221, in evaluate
>>>>>>    *URL: /portal/footer*
>>>>>>    *Line 7, Column 7*
>>>>>>    *Expression: <PythonExpr here.mxm_counter.count(here)>*
>>>>>>    *Names:*
>>>>>>
>>>>>>    {'container': <PloneSite at /portal>,
>>>>>>     'context': <PloneSite at /portal>,
>>>>>>     'default': <Products.PageTemplates.TALES.Default instance at 0xb=
6b7ea4c>,
>>>>>>     'here': <PloneSite at /portal>,
>>>>>>     'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2=
9e85cc>,
>>>>>>     'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImp=
orter instance at 0xb6b7eb2c>,
>>>>>>     'nothing': None,
>>>>>>     'options': {'args': ()},
>>>>>>     'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x=
b29e85cc>,
>>>>>>     'request': <HTTPRequest, URL=3Dhttp://200.216.214.194/portal/pag=
ina-inicial>,
>>>>>>     'root': <Application at >,
>>>>>>     'template': <ZopePageTemplate at /portal/footer>,
>>>>>>     'traverse_subpath': [],
>>>>>>     'user': Anonymous User}
>>>>>>
>>>>>>    - Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
>>>>>>    __traceback_info__: here.mxm_counter.count(here)
>>>>>>    - Module Python expression "here.mxm_counter.count(here)", line 1,
>>>>>>    in <expression>
>>>>>>
>>>>>> AttributeError: count (Also, the following error occurred while
>>>>>> attempting to render the standard error message, please see the even=
t log
>>>>>> for full details: count)
>>>>>>
>>>>>> ------------------------------
>>>>>>
>>>>>> Troubleshooting Suggestions
>>>>>>
>>>>>>    - The URL may be incorrect.
>>>>>>    - The parameters passed to this resource may be incorrect.
>>>>>>    - A resource that this resource relies on may be encountering an
>>>>>>    error.
>>>>>>
>>>>>> For more detailed information about the error, please refer to error
>>>>>> log.
>>>>>>
>>>>>> If the error persists please contact the site maintainer. Thank you
>>>>>> for your patience.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>  Em 01/09/08, Fernanda123ja <fernanda123ja em gmail.com> escreveu:
>>>>>>>
>>>>>>> Fabiano,
>>>>>>>
>>>>>>> N=E3o estou conseguindo logar na m=E1quina, me aparece uma mensagem=
 de
>>>>>>> que estou sem espa=E7o em disco!!!
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Em 01/09/08, Fabiano Weimar dos Santos <xirumacanudo em gmail.com>
>>>>>>> escreveu:
>>>>>>>>
>>>>>>>> Oi Fernanda,
>>>>>>>>
>>>>>>>> h=E1 duas poss=EDveis causas: 1) o seu HD est=E1 cheio ou 2) voc=
=EA tem um
>>>>>>>> filesystem /tmp muito pequeno.
>>>>>>>>
>>>>>>>> Envia pra c=E1 a sa=EDda do comando:
>>>>>>>>
>>>>>>>> $ sudo df -h
>>>>>>>>
>>>>>>>> Att.
>>>>>>>>
>>>>>>>> Fabiano Weimar
>>>>>>>>
>>>>>>>>
>>>>>>>>  On Mon, Sep 1, 2008 at 12:37 PM, Fernanda123ja <
>>>>>>>> fernanda123ja em gmail.com> wrote:
>>>>>>>>
>>>>>>>>>  Boa tarde Amigos!
>>>>>>>>>
>>>>>>>>> Tentando adicionar um arquivo no portal, me aparece a seguinte
>>>>>>>>> mensagem de erro:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Erro no Site
>>>>>>>>>
>>>>>>>>> Este site encontrou um erro tentando atender sua requisi=E7=E3o. =
Os
>>>>>>>>> erros foram:
>>>>>>>>>  Tipo de Erro IOError Valor do Erro [Errno 28] No space left on
>>>>>>>>> device Requisi=E7=E3o feita em 2008/09/01 12:41:49.980 GMT-3
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Falta de espa=E7o? =E9 isso???
>>>>>>>>> xiiiii......
>>>>>>>>> Como proceder?
>>>>>>>>>
>>>>>>>>> Fernanda
>>>>>>>>> CM Paracatu
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Site da Comunidade GITEC
>>>>>>>>> http://colab.interlegis.gov.br
>>>>>>>>>
>>>>>>>>> Para pesquisar o hist=F3rico da lista visite:
>>>>>>>>> http://colab.interlegis.gov.br/wiki/PesquisaListaGitec
>>>>>>>>>
>>>>>>>>> Para administrar sua conta visite:
>>>>>>>>> http://listas.interlegis.gov.br/mailman/listinfo/gitec
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>>>>>>> Fabiano Weimar dos Santos (xiru)
>>>>>>>> Weimar Consultoria
>>>>>>>>
>>>>>>>> Hospedagem Plone, Django, Zope 3, Grok...
>>>>>>>> http://www.pytown.com
>>>>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Site da Comunidade GITEC
>>>>>>>> http://colab.interlegis.gov.br
>>>>>>>>
>>>>>>>> Para pesquisar o hist=F3rico da lista visite:
>>>>>>>> http://colab.interlegis.gov.br/wiki/PesquisaListaGitec
>>>>>>>>
>>>>>>>> Para administrar sua conta visite:
>>>>>>>> http://listas.interlegis.gov.br/mailman/listinfo/gitec
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>>> Fabiano Weimar dos Santos (xiru)
>>>> Weimar Consultoria
>>>>
>>>> Hospedagem Plone, Django, Zope 3, Grok...
>>>> http://www.pytown.com
>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>>>
>>>
>>>
>>
>>
>> --
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> Fabiano Weimar dos Santos (xiru)
>> Weimar Consultoria
>>
>> Hospedagem Plone, Django, Zope 3, Grok...
>> http://www.pytown.com
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>
>


-- =

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Fabiano Weimar dos Santos (xiru)
Weimar Consultoria

Hospedagem Plone, Django, Zope 3, Grok...
http://www.pytown.com
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D



-- =

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Fabiano Weimar dos Santos (xiru)
Weimar Consultoria

Hospedagem Plone, Django, Zope 3, Grok...
http://www.pytown.com
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------- Pr=F3xima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.interlegis.gov.br/pipermail/gitec/attachments/20080901/f=
bd725b4/attachment.htm


Mais detalhes sobre a lista de discussão GITEC