[zope-pt] Email gerado pelo Gazette marcado como spam

2009-09-04 Por tôpico André Yamin
Olá pessoal

Comecei agora a usar o Gazette e tô com um problema sério.
A maior parte dos meus assinantes recebe o email na pasta spam
(principalmente do gmail)

Antes que perguntem, o maildrophost não tá instalado, ainda não tive
tempo. Será que é esse o problema?

Abraço a todos,


André.


Re: [zope-pt] OSError: [Errno 12] Cannot allocate memory

2009-08-22 Por tôpico André Yamin
Pessoal,

Antes de mais nada, obrigado a todos pelas sujestões.

É, pelo que eu andei pesquisando o servidor tá sub-dimensionado pra função.
Mesmo assim vou partir pra uma estratégia de otimização (ou enxugação)
dos serviços pra ver se seguro as pontas antes de tunar o server.

Uma dúvida que tenho (e não consegui esclarecer pesquisando por aí) é
a seguinte: se eu configurar um cache pro plone (tipo varnish) a
tendencia é livrar memória ou ocupar mais ainda (por ser mais um
serviço ativo) ???

Abraços,


André.



2009/8/21 Marcus Fazzi (Anunakin) anuna...@gmail.com:


 Instala o htop e dá uma olhada!

 2009/8/21 Fabiano Weimar dos Santos xirumacan...@gmail.com



 Olá André,

 dependendo de como você configurou, só o kernel e o apache e mysql
 podem consumir mais de 350MB de memória. Você tem que analisar
 primeiramente qual processo está consumindo recursos para somente
 então tentar descobrir como faze-lo consumir menos.

 Além disso, vale a dica de analisar o tamanho de seu filesystem /tmp.
 Um tamanho bom é de pelo menos 1GB. Menos de 512MB é problema.

 Att.

 Fabiano Weimar

 On Fri, Aug 21, 2009 at 11:25 AM, André Yaminandreya...@gmail.com wrote:
 
 
  Olá a todos,
 
  Tenho uma instancia instalada (com 2 plone sites) e um forum phpbb num
  servidor com 512mb e o plone tem parado periodicamente reclamando de
  falta de memória. Essa memória deveria ser suficiente, não?
  Copio abaixo alguns detalhes da instalação e da msg de erro.
  Alguem pode me dar uma luz?
 
  Abraços a todos,
 
  André.
 
  
 
  Plone 3.2.2
  Zope (Zope 2.10.7-final, python 2.4.5, linux2)
  Ubuntu 8.04
  Apache2
  Phpbb3 + Mysql(?)
 
  --
  Site Error
 
  An error was encountered while publishing this resource.
 
  OSError
 
  Sorry, a site error occurred.
 
  Traceback (innermost last):
 
  Module ZPublisher.Publish, line 202, in publish_module_standard
  Module ZPublisher.Publish, line 150, in publish
  Module plone.app.linkintegrity.monkey, line 21, in
  zpublisher_exception_hook_wrapper
  Module Zope2.App.startup, line 221, in zpublisher_exception_hook
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.Five.browser.metaconfigure, line 417, in __call__
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
  Module Products.PageTemplates.PageTemplate, line 98, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
  URL: main_template
  Line 32, Column 4
  Expression: PythonExpr putils.listMetaTags(here).items()
  Names:
 
  {'container': Collage at /katanka/pagina-principal,
  'context': Collage at /katanka/pagina-principal,
  'default': object object at 0xb7d11528,
  'here': Collage at /katanka/pagina-principal,
  'loop': {},
  'nothing': None,
  'options': {'args': (Products.Five.metaclass.SimpleViewClass from
 
  /usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
  object at 0x1490c5ec,)},
  'repeat': Products.PageTemplates.Expressions.SafeMapping object at
  0x16267bec,
  'request': HTTPRequest,
  URL=http://www.katanka.com.br/pagina-principal/collage_view,
  'root': Application at ,
  'template': ImplicitAcquirerWrapper object at 0x163c0fac,
  'traverse_subpath': [],
  'user': SpecialUser 'Anonymous User',
  'view': Products.Five.metaclass.SimpleViewClass from
 
  /usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
  object at 0x1490c5ec,
  'views': zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
  object at 0x163c0f6c}
 
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
  __traceback_info__: putils.listMetaTags(here).items()
  Module PythonExpr, line 1, in expression
  Module Products.qSEOptimizer, line 79, in listMetaTags
  Module Products.qSEOptimizer.adapters, line 31, in listKeywords
  Module 

[zope-pt] OSError: [Errno 12] Cannot allocate memory

2009-08-21 Por tôpico André Yamin
Olá a todos,

Tenho uma instancia instalada (com 2 plone sites) e um forum phpbb num
servidor com 512mb e o plone tem parado periodicamente reclamando de
falta de memória. Essa memória deveria ser suficiente, não?
Copio abaixo alguns detalhes da instalação e da msg de erro.
Alguem pode me dar uma luz?

Abraços a todos,

André.





Plone 3.2.2
Zope (Zope 2.10.7-final, python 2.4.5, linux2)
Ubuntu 8.04
Apache2
Phpbb3 + Mysql(?)



--
Site Error

An error was encountered while publishing this resource.

OSError

Sorry, a site error occurred.

Traceback (innermost last):

Module ZPublisher.Publish, line 202, in publish_module_standard
Module ZPublisher.Publish, line 150, in publish
Module plone.app.linkintegrity.monkey, line 21, in
zpublisher_exception_hook_wrapper
Module Zope2.App.startup, line 221, in zpublisher_exception_hook
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.Five.browser.metaconfigure, line 417, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.PageTemplates.PageTemplate, line 98, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
Module zope.tales.tales, line 696, in evaluate
URL: main_template
Line 32, Column 4
Expression: PythonExpr putils.listMetaTags(here).items()
Names:

{'container': Collage at /katanka/pagina-principal,
 'context': Collage at /katanka/pagina-principal,
 'default': object object at 0xb7d11528,
 'here': Collage at /katanka/pagina-principal,
 'loop': {},
 'nothing': None,
 'options': {'args': (Products.Five.metaclass.SimpleViewClass from
/usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
object at 0x1490c5ec,)},
 'repeat': Products.PageTemplates.Expressions.SafeMapping object at
0x16267bec,
 'request': HTTPRequest,
URL=http://www.katanka.com.br/pagina-principal/collage_view,
 'root': Application at ,
 'template': ImplicitAcquirerWrapper object at 0x163c0fac,
 'traverse_subpath': [],
 'user': SpecialUser 'Anonymous User',
 'view': Products.Five.metaclass.SimpleViewClass from
/usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
object at 0x1490c5ec,
 'views': zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x163c0f6c}

Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
__traceback_info__: putils.listMetaTags(here).items()
Module PythonExpr, line 1, in expression
Module Products.qSEOptimizer, line 79, in listMetaTags
Module Products.qSEOptimizer.adapters, line 31, in listKeywords
Module commands, line 44, in getoutput
Module commands, line 53, in getstatusoutput

OSError: [Errno 12] Cannot allocate memory (Also, the following error
occurred while attempting to render the standard error message, please
see the event log for full details: [Errno 12] Cannot allocate memory)



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 the error log.

If the error persists please contact the site maintainer. Thank you
for your patience.


Re: [zope-pt] OSError: [Errno 12] Cannot allocate memory

2009-08-21 Por tôpico André Yamin
Olá Marcus,

Usuários logados, no máximo 2. E os sites tem pouco trafego, menos de
1000 pageviews por dia no total.

Abraços,

André.






2009/8/21 Marcus Fazzi (Anunakin) anuna...@gmail.com:


 Depende de quantos usuários tens conectados simultaneamente...

 2009/8/21 André Yamin andreya...@gmail.com



 Olá a todos,

 Tenho uma instancia instalada (com 2 plone sites) e um forum phpbb num
 servidor com 512mb e o plone tem parado periodicamente reclamando de
 falta de memória. Essa memória deveria ser suficiente, não?
 Copio abaixo alguns detalhes da instalação e da msg de erro.
 Alguem pode me dar uma luz?

 Abraços a todos,

 André.

 

 Plone 3.2.2
 Zope (Zope 2.10.7-final, python 2.4.5, linux2)
 Ubuntu 8.04
 Apache2
 Phpbb3 + Mysql(?)

 --
 Site Error

 An error was encountered while publishing this resource.

 OSError

 Sorry, a site error occurred.

 Traceback (innermost last):

 Module ZPublisher.Publish, line 202, in publish_module_standard
 Module ZPublisher.Publish, line 150, in publish
 Module plone.app.linkintegrity.monkey, line 21, in
 zpublisher_exception_hook_wrapper
 Module Zope2.App.startup, line 221, in zpublisher_exception_hook
 Module ZPublisher.Publish, line 119, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 42, in call_object
 Module Products.Five.browser.metaconfigure, line 417, in __call__
 Module Shared.DC.Scripts.Bindings, line 313, in __call__
 Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
 Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
 Module Products.PageTemplates.PageTemplate, line 98, in pt_render
 Module zope.pagetemplate.pagetemplate, line 117, in pt_render
 Module zope.tal.talinterpreter, line 271, in __call__
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 891, in do_useMacro
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 536, in do_optTag_tal
 Module zope.tal.talinterpreter, line 521, in do_optTag
 Module zope.tal.talinterpreter, line 516, in no_tag
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 891, in do_useMacro
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 536, in do_optTag_tal
 Module zope.tal.talinterpreter, line 521, in do_optTag
 Module zope.tal.talinterpreter, line 516, in no_tag
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
 Module zope.tales.tales, line 696, in evaluate
 URL: main_template
 Line 32, Column 4
 Expression: PythonExpr putils.listMetaTags(here).items()
 Names:

 {'container': Collage at /katanka/pagina-principal,
 'context': Collage at /katanka/pagina-principal,
 'default': object object at 0xb7d11528,
 'here': Collage at /katanka/pagina-principal,
 'loop': {},
 'nothing': None,
 'options': {'args': (Products.Five.metaclass.SimpleViewClass from

 /usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
 object at 0x1490c5ec,)},
 'repeat': Products.PageTemplates.Expressions.SafeMapping object at
 0x16267bec,
 'request': HTTPRequest,
 URL=http://www.katanka.com.br/pagina-principal/collage_view,
 'root': Application at ,
 'template': ImplicitAcquirerWrapper object at 0x163c0fac,
 'traverse_subpath': [],
 'user': SpecialUser 'Anonymous User',
 'view': Products.Five.metaclass.SimpleViewClass from

 /usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
 object at 0x1490c5ec,
 'views': zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
 object at 0x163c0f6c}

 Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
 __traceback_info__: putils.listMetaTags(here).items()
 Module PythonExpr, line 1, in expression
 Module Products.qSEOptimizer, line 79, in listMetaTags
 Module Products.qSEOptimizer.adapters, line 31, in listKeywords
 Module commands, line 44, in getoutput
 Module commands, line 53, in getstatusoutput

 OSError: [Errno 12] Cannot allocate memory (Also, the following error
 occurred while attempting to render the standard error message, please
 see the event log for full details: [Errno 12] Cannot allocate memory)

 

 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 the error
 log.

 If the error persists please contact the site maintainer. Thank you
 for your patience.



 --
 Marcus Fazzi
 オープンソースコード いきかた!
 http://anunakin.blogspot.com/
 http://www.vivaphp.net

 


Re: [zope-pt] OSError: [Errno 12] Cannot allocate memory

2009-08-21 Por tôpico André Yamin
Tenho 40GB de disco lá e tô usando menos de 3...


2009/8/21 Marcus Fazzi (Anunakin) anuna...@gmail.com:


 Tuas partições estão livres? ou está muito cheio?

 2009/8/21 André Yamin andreya...@gmail.com



 Olá Marcus,

 Usuários logados, no máximo 2. E os sites tem pouco trafego, menos de
 1000 pageviews por dia no total.

 Abraços,

 André.

 2009/8/21 Marcus Fazzi (Anunakin) anuna...@gmail.com:

 
 
  Depende de quantos usuários tens conectados simultaneamente...
 
  2009/8/21 André Yamin andreya...@gmail.com
 
 
 
  Olá a todos,
 
  Tenho uma instancia instalada (com 2 plone sites) e um forum phpbb num
  servidor com 512mb e o plone tem parado periodicamente reclamando de
  falta de memória. Essa memória deveria ser suficiente, não?
  Copio abaixo alguns detalhes da instalação e da msg de erro.
  Alguem pode me dar uma luz?
 
  Abraços a todos,
 
  André.
 
  
 
  Plone 3.2.2
  Zope (Zope 2.10.7-final, python 2.4.5, linux2)
  Ubuntu 8.04
  Apache2
  Phpbb3 + Mysql(?)
 
  --
  Site Error
 
  An error was encountered while publishing this resource.
 
  OSError
 
  Sorry, a site error occurred.
 
  Traceback (innermost last):
 
  Module ZPublisher.Publish, line 202, in publish_module_standard
  Module ZPublisher.Publish, line 150, in publish
  Module plone.app.linkintegrity.monkey, line 21, in
  zpublisher_exception_hook_wrapper
  Module Zope2.App.startup, line 221, in zpublisher_exception_hook
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.Five.browser.metaconfigure, line 417, in __call__
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
  Module Products.PageTemplates.PageTemplate, line 98, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
  URL: main_template
  Line 32, Column 4
  Expression: PythonExpr putils.listMetaTags(here).items()
  Names:
 
  {'container': Collage at /katanka/pagina-principal,
  'context': Collage at /katanka/pagina-principal,
  'default': object object at 0xb7d11528,
  'here': Collage at /katanka/pagina-principal,
  'loop': {},
  'nothing': None,
  'options': {'args': (Products.Five.metaclass.SimpleViewClass from
 
 
  /usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
  object at 0x1490c5ec,)},
  'repeat': Products.PageTemplates.Expressions.SafeMapping object at
  0x16267bec,
  'request': HTTPRequest,
  URL=http://www.katanka.com.br/pagina-principal/collage_view,
  'root': Application at ,
  'template': ImplicitAcquirerWrapper object at 0x163c0fac,
  'traverse_subpath': [],
  'user': SpecialUser 'Anonymous User',
  'view': Products.Five.metaclass.SimpleViewClass from
 
 
  /usr/local/Plone/zinstance/products/Collage/browser/templates/collage_view.pt
  object at 0x1490c5ec,
  'views': zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
  object at 0x163c0f6c}
 
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
  __traceback_info__: putils.listMetaTags(here).items()
  Module PythonExpr, line 1, in expression
  Module Products.qSEOptimizer, line 79, in listMetaTags
  Module Products.qSEOptimizer.adapters, line 31, in listKeywords
  Module commands, line 44, in getoutput
  Module commands, line 53, in getstatusoutput
 
  OSError: [Errno 12] Cannot allocate memory (Also, the following error
  occurred while attempting to render the standard error message, please
  see the event log for full details: [Errno 12] Cannot allocate memory)
 
  
 
  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 the
  error
  log.
 
  If the error persists please

Re: Res: Res: [zope-pt] PloneArticle pegar imagem

2009-06-03 Por tôpico André Yamin
Olá pessoal,
Desculpem eu desenterrar o tópico, mas é que tem tudo a ver com minha
dúvida.

Eu quero editar o template folder_summary_view pra exibir a primeira foto de
cada PloneArticle e não tô conseguindo. Minha experiencia com a linguagem de
templates do zope é nula, então agradeceria se alguem pudesse me dar
sujestões.

To usando o Plone 3.2.2 Zope 2.10.7-final, python 2.4.5, linux2.

O código do folder_summary_view tô colando aqui em baixo.

Agradeço antecipadamente,

André.


html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
  xmlns:tal=http://xml.zope.org/namespaces/tal;
  xmlns:metal=http://xml.zope.org/namespaces/metal;
  xmlns:i18n=http://xml.zope.org/namespaces/i18n;
  lang=en
  metal:use-macro=here/main_template/macros/master
  i18n:domain=plone

body

div metal:fill-slot=main
metal:main-macro define-macro=main
  tal:define=kssClassesView
context/@@kss_field_decorator_view;
  getKssClasses
nocall:kssClassesView/getKssClassesInlineEditable;
  templateId template/getId

div tal:replace=structure provider:plone.abovecontenttitle /

h1 metal:use-macro=here/kss_generic_macros/macros/generic_title_view
Title or id
/h1

div tal:replace=structure provider:plone.belowcontenttitle /

p 
metal:use-macro=here/kss_generic_macros/macros/generic_description_view
Description
/p

div tal:replace=structure provider:plone.abovecontentbody /

div metal:define-macro=text-field-view
 id=parent-fieldname-text class=stx
 tal:define=kss_class python:getKssClasses('text',
 templateId=templateId, macro='text-field-view');
 text here/aq_explicit/getText|nothing
 tal:condition=text
 tal:attributes=class python:test(here.Format() in
('text/structured',
   'text/x-rst', ),
'stx' + kss_class, 'plain' + kss_class)
div metal:define-slot=inside tal:replace=structure
textThe body/div
/div

metal:listingmacro define-macro=listing
tal:foldercontents define=contentFilter
contentFilter|request/contentFilter|nothing;
limit_display
limit_display|request/limit_display|nothing;
more_url
more_url|request/more_url|string:folder_contents;
folderContents
python:here.portal_type=='Topic' and here.queryCatalog(contentFilter,
batch=True) or here.getFolderContents(contentFilter, batch=True,
b_size=limit_display or 100);
use_view_action
site_properties/typesUseViewActionInListings|python:();
over_limit python: limit_display and
len(folderContents)  limit_display;
folderContents python: (over_limit and
folderContents[:limit_display]) or folderContents;
batch folderContents
tal:listing condition=folderContents

tal:block tal:repeat=item folderContents
div class=tileItem visualIEFloatFix vevent
 tal:define=item_url item/getURL|item/absolute_url;
   item_id item/getId|item/id;
   item_title_or_id item/pretty_title_or_id;
   item_description item/Description;
   item_type item/portal_type;
   item_type_title item/Type;
   item_type_class python:
'contenttype-' + normalizeString(item_type);
   item_modified item/ModificationDate;
   item_created item/CreationDate;
   item_wf_state
item/review_state|python: wtool.getInfoFor(item, 'review_state', '');
   item_wf_state_class
python:'state-' + normalizeString(item_wf_state);
   item_creator item/Creator;
   item_start
item/start/ISO|item/StartDate|nothing;
   item_end
item/end/ISO|item/EndDate|nothing;
   item_object item/getObject;
   
 tal:attributes=class string:tileItem
visualIEFloatFix vevent ${item_type_class}

a href=#
   tal:condition=python:item_type != 'Link'
   tal:attributes=href python:test(item_type in
use_view_action, item_url+'/view', item_url);
img src= alt=
 tal:condition=exists:item_object/image_thumb
 tal:replace=structure python:
path('nocall:item_object/tag')(scale='thumb', 

[zope-pt] Configuração de portas - zope + ubuntu 7.10

2009-03-18 Por tôpico André Yamin
Olá a todos,

Desculpem a pergunta meio off topic, mas estou com muita dificuldade de
encontrar a resposta na documentação do ubuntu.
Instalei uma nova instancia zope num servidor que administro, e não consigo
fazer com que ela responda em nenhuma porta exeto a 8080 (que já esta em uso
por outra instancia zope)
Contactei meu host e ele disse que não existe nenhuma restrição por parte do
roteador deles.
Eu nunca mexi nas configurações de firewall do ubuntu, alias meus
conhecimentos de linux são bem reduzidos.

Alguem sabe como verifico se existe alguma limitação nas outras portas?

Listo abaixo algumas informações que acho que podem ajudar...

Desde já agradeço,

André.

obs. Se acharem que a questão é muito off, podem me responder em pvt.




A mesma instancia configurada pra atender na 8080 e depois na 8181 tem
respostas bem diferentes com o comando netstat -an|grep 8080 e 8181

$ netstat -an|grep 8181
tcp0  0 0.0.0.0:81810.0.0.0:*   LISTEN

$ netstat -an|grep 8080
tcp0  0 0.0.0.0:80800.0.0.0:*
LISTEN
tcp0  0 127.0.0.1:8080  127.0.0.1:55800
ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55799
ESTABLISHED
tcp0  0 127.0.0.1:55798 127.0.0.1:8080
TIME_WAIT
tcp0  0 127.0.0.1:55799 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:55796 127.0.0.1:8080
TIME_WAIT
tcp0  0 127.0.0.1:55797 127.0.0.1:8080
TIME_WAIT
tcp0  0 127.0.0.1:55795 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:55793 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:55800 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55795
ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55793
ESTABLISHED


# iptables -L
Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT 0--  anywhere anywhere
ACCEPT tcp  --  anywhere anywheretcp
flags:ACK/ACK
ACCEPT 0--  anywhere anywherestate
ESTABLISHED
ACCEPT 0--  anywhere anywherestate RELATED
ACCEPT udp  --  anywhere anywhereudp spt:domain
dpts:1024:65535
ACCEPT icmp --  anywhere anywhereicmp echo-reply
ACCEPT icmp --  anywhere anywhereicmp
destination-unreachable
ACCEPT icmp --  anywhere anywhereicmp
source-quench
ACCEPT icmp --  anywhere anywhereicmp
time-exceeded
ACCEPT icmp --  anywhere anywhereicmp
parameter-problem
ACCEPT tcp  --  anywhere anywheretcp dpt:ssh
ACCEPT tcp  --  anywhere anywheretcp dpt:auth
ACCEPT tcp  --  anywhere anywheretcp dpt:webmin
ACCEPT tcp  --  anywhere anywheretcp dpt:ftp
ACCEPT tcp  --  anywhere anywheretcp dpt:smtp
ACCEPT tcp  --  anywhere anywheretcp dpt:www
ACCEPT tcp  --  anywhere anywheretcp dpt:pop3
ACCEPT tcp  --  anywhere anywheretcp dpt:https
ACCEPT tcp  --  anywhere anywheretcp dpt:domain
ACCEPT udp  --  anywhere anywhereudp dpt:domain
ACCEPT tcp  --  anywhere anywheretcp dpt:auth
ACCEPT tcp  --  anywhere anywheretcp multiport
ports webmin
ACCEPT tcp  --  anywhere anywheretcp
dpt:webcache

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination