我有一個plone安裝(4.2.5)與plone.app.ldap加載項。有一個啓用了plone-ldap的站點,我們的ldap服務器已更改爲另一個域/ IP。因此,zope服務器在plone-ldap上檢索ldap信息。甚至根ZMI也沒有更多的工作。ldap服務器無法訪問導致plone/zope服務器down
任何對服務器的請求在plone重啓後幾秒鐘都不會加載。因此,我無法通過我們的站點或ZMI界面重新配置我們的新ldap服務器。
在這種情況下,如何繼續在plone-ldap組件上重新配置新的ldap服務器?是否有類似於ZMI的腳本應用程序來執行此操作?這是一個已知的錯誤嗎?
一些日誌:
1)Zeoserver.log
2016-06-06T15:52:04 new connection ('127.0.0.1', 40051): <ManagedServerConnection ('127.0.0.1', 40051)>
2016-06-06T15:52:04 (127.0.0.1:40049) received handshake 'Z3101'
2016-06-06T15:52:04 (unconnected) disconnected
2016-06-06T15:52:04 (unconnected) disconnected
2016-06-06T15:52:08 new connection ('127.0.0.1', 40052): <ManagedServerConnection ('127.0.0.1', 40052)>
2016-06-06T15:52:08 new connection ('127.0.0.1', 40053): <ManagedServerConnection ('127.0.0.1', 40053)>
2016-06-06T15:52:08 new connection ('127.0.0.1', 40054): **<ManagedServerConnection ('127.0.0.1', 40054)>
2016-06-06T15:52:08 (127.0.0.1:40052) received handshake 'Z3101'
2016-06-06T15:52:08 (unconnected) disconnected
2016-06-06T15:52:08 (unconnected) disconnected**
2)客戶端1/event.log
2016-06-06T15:53:12 ERROR event.LDAPDelegate {'desc': "Can't contact LDAP server"}
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Products.LDAPUserFolder-2.26-py2.7.egg/Products/LDAPUserFolder/LDAPDelegate.py", line 366, in search
connection = self.connect(bind_dn=bind_dn, bind_pwd=bind_pwd)
File "/usr/local/Plone/buildout-cache/eggs/Products.LDAPUserFolder-2.26-py2.7.egg/Products/LDAPUserFolder/LDAPDelegate.py", line 265, in connect
raise e
**SERVER_DOWN: {'desc': "Can't contact LDAP server"}**
您是否嘗試使用具有基本身份驗證的「admin」用戶訪問ZMI Zope根? –
是的,它可以工作,但在訪問站點對象時會下降服務器。我找到了[bug 1218938](https://bugs.launchpad.net/ldapuserfolder/+bug/1218938),但它並沒有給我帶來好的解決方案。 – gwarah
「你放棄了服務器」是什麼意思? –