我们有一台运行 Plone 4 的服务器,它托管了我们的许多站点,我们刚刚注意到它没有从 PloneFormGen 发送任何邮件。
我试过了:
- 重新创建表单
- 在表单中删除和重新创建邮件
- 从地址更改站点(避免任何垃圾邮件问题,例如发送到同一地址和从同一地址发送)
此服务器上的所有其他站点都可以从 PFG 发送邮件,我不太确定要检查哪些日志文件,但下面是我的 events.log 文件的最后几行,其中提到了一些关于缺少适配器的事情告诉,有人可以翻译这个表格吗?:
------
2012-07-11T15:13:38 WARNING PloneFormGen Designated action adapter 'formsavedataadapter.2012-07-03.5018819612' is missing; ignored.
------
2012-07-11T15:13:38 WARNING PloneFormGen Designated action adapter 'formmaileradapter.2012-07-11.9678428439' is missing; ignored.
------
2012-07-11T15:13:38 WARNING PloneFormGen Designated action adapter 'formmaileradapter.2012-07-11.9935785303' is missing; ignored.
------
2012-07-11T15:13:38 ERROR MailDataManager [Errno -2] Name or service not known
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Plone-4.0.4-py2.6.egg/Products/CMFPlone/patches/sendmail.py", line 9, in _catch
return func(*args, **kwargs)
File "/usr/local/Plone/buildout-cache/eggs/zope.sendmail-3.5.2-py2.6.egg/zope/sendmail/mailer.py", line 46, in send
connection = self.smtp(self.hostname, str(self.port))
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 239, in __init__
(code, msg) = self.connect(host, port)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 295, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 273, in _get_socket
return socket.create_connection((port, host), timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/socket.py", line 547, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known
------
2012-07-11T15:13:38 ERROR MailDataManager [Errno -2] Name or service not known
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Plone-4.0.4-py2.6.egg/Products/CMFPlone/patches/sendmail.py", line 9, in _catch
return func(*args, **kwargs)
File "/usr/local/Plone/buildout-cache/eggs/zope.sendmail-3.5.2-py2.6.egg/zope/sendmail/mailer.py", line 46, in send
connection = self.smtp(self.hostname, str(self.port))
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 239, in __init__
(code, msg) = self.connect(host, port)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 295, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 273, in _get_socket
return socket.create_connection((port, host), timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/socket.py", line 547, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known
------
2012-07-11T15:30:18 INFO CMFFormController /usr/local/Plone/buildout-cache/eggs/Products.PloneFormGen-1.7a2-py2.6.egg/Products/PloneFormGen/skins/PloneFormGen/fg_base_view_p3.cpt: No default action specified for status success, content type ANY. Users of IE can submit pages using the return key, resulting in no button in the REQUEST. Please specify a default action for this case.
------
2012-07-11T15:30:18 INFO CMFFormController /usr/local/Plone/buildout-cache/eggs/Products.PloneFormGen-1.7a2-py2.6.egg/Products/PloneFormGen/skins/PloneFormGen/fg_embedded_view_p3.cpt: No default action specified for status success, content type ANY. Users of IE can submit pages using the return key, resulting in no button in the REQUEST. Please specify a default action for this case.
------
2012-07-11T15:30:32 INFO CMFFormController /usr/local/Plone/buildout-cache/eggs/Products.PloneFormGen-1.7a2-py2.6.egg/Products/PloneFormGen/skins/PloneFormGen/fg_base_view_p3.cpt: No default action specified for status success, content type ANY. Users of IE can submit pages using the return key, resulting in no button in the REQUEST. Please specify a default action for this case.
------
2012-07-11T15:30:32 INFO CMFFormController /usr/local/Plone/buildout-cache/eggs/Products.PloneFormGen-1.7a2-py2.6.egg/Products/PloneFormGen/skins/PloneFormGen/fg_embedded_view_p3.cpt: No default action specified for status success, content type ANY. Users of IE can submit pages using the return key, resulting in no button in the REQUEST. Please specify a default action for this case.
------
2012-07-11T15:39:18 WARNING PloneFormGen Designated action adapter 'formsavedataadapter.2012-07-03.5018819612' is missing; ignored.
------
2012-07-11T15:39:18 WARNING PloneFormGen Designated action adapter 'formmaileradapter.2012-07-11.9678428439' is missing; ignored.
------
2012-07-11T15:39:18 WARNING PloneFormGen Designated action adapter 'formmaileradapter.2012-07-11.9935785303' is missing; ignored.
------
2012-07-11T15:39:18 ERROR MailDataManager [Errno -2] Name or service not known
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Plone-4.0.4-py2.6.egg/Products/CMFPlone/patches/sendmail.py", line 9, in _catch
return func(*args, **kwargs)
File "/usr/local/Plone/buildout-cache/eggs/zope.sendmail-3.5.2-py2.6.egg/zope/sendmail/mailer.py", line 46, in send
connection = self.smtp(self.hostname, str(self.port))
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 239, in __init__
(code, msg) = self.connect(host, port)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 295, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 273, in _get_socket
return socket.create_connection((port, host), timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/socket.py", line 547, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known
------
2012-07-11T15:39:18 ERROR MailDataManager [Errno -2] Name or service not known
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Plone-4.0.4-py2.6.egg/Products/CMFPlone/patches/sendmail.py", line 9, in _catch
return func(*args, **kwargs)
File "/usr/local/Plone/buildout-cache/eggs/zope.sendmail-3.5.2-py2.6.egg/zope/sendmail/mailer.py", line 46, in send
connection = self.smtp(self.hostname, str(self.port))
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 239, in __init__
(code, msg) = self.connect(host, port)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 295, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/smtplib.py", line 273, in _get_socket
return socket.create_connection((port, host), timeout)
File "/usr/local/Plone/Python-2.6/lib/python2.6/socket.py", line 547, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known
我可以提供其他信息,如果可能的话,请告诉我在哪里看。
谢谢。