2012-07-11 21 views
1

我們有一臺運行Plone 4的服務器,它託管我們的許多站點,我們剛剛注意到它沒有從PloneFormGen發送任何郵件。PloneFormGen拒絕在一個站點上發送郵件

我曾嘗試:

  • 重塑形式
  • 刪除&重建的郵件形式
  • 改變從地址的網站(避免如發送和從同一地址的垃圾郵件的問題)

此服務器上的所有其他站點都可以從PFG發送完好的郵件,我不確定要檢查哪些日誌文件,但下面是最後幾行我events.log文件,至於我可以告訴提到失蹤適配器的幾件事情,ES的有人可以把這種形式我?:

------ 
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 

我可以提供其他信息,請告訴我在哪裏看,如果可能。

謝謝。

+1

您確定本網站的郵件設置控制面板中的郵件服務器名稱沒有錯別字嗎? – 2012-07-11 16:46:51

回答

1

也許這個網站有一個不正確的郵件服務器的配置如前所述網站設置>郵件?

+0

謝謝你解決了這個問題。我必須多次檢查它 - – Dan 2012-07-12 08:23:25

3

這回溯意味着,你的服務器無法連接郵件服務器:

gaierror: [Errno -2] Name or service not known 

這是一個操作系統要求等級故障。 郵件服務器名稱的DNS解析失敗。究其原因可能是

  • 有防火牆的服務器

  • 錯誤的DNS

  • 或輸入錯誤的郵件服務器的名稱上面

+0

謝謝你的回答,這確實解決了它(郵寄服務器中的錯字) – Dan 2012-07-12 08:23:54

相關問題