-
Like (0)
Hi all :
I send this post to ask you how to install the "LDAP Multi Plugin" and "ActiveDirectory Multi Plugin" , because I was seeing these docs thread/12224?decorator=print&displayFullThread=true ,message/49631#49631 about how to install them and I follow the guide docs/DOC-2510
but I can't see in the drown buttom with the option.
Since now thank alot.
What version of Zenoss? Did you use rpm or stack installer? Where did you put the plugins?
--Dennis
Hi dhopp:
I tell you that I have the Zenoss 3.0.1 I installed by rpm on red hat linux 64 bits.
the place is "/opt/zenoss/lib/python/Products/"
ll /opt/zenoss/lib/python/Products/
total 244
drwxr-xr-x 4 zenoss zenoss 4096 Jun 24 13:18 AdvancedQuery
drwxr-xr-x 3 zenoss zenoss 4096 Jun 24 13:18 BTreeFolder2
drwxr-xr-x 11 zenoss zenoss 4096 Jun 24 13:18 CMFCore
drwxr-xr-x 6 zenoss zenoss 4096 Jun 27 11:26 ExternalMethod
drwxr-xr-x 11 zenoss zenoss 4096 Jun 27 11:26 Five
drwxr-xr-x 16 zenoss zenoss 4096 Jun 24 13:18 GenericSetup
drwxr-xr-x 5 zenoss zenoss 4096 Aug 29 15:08 LDAPMultiPlugins
drwxr-xr-x 8 zenoss zenoss 4096 Aug 29 15:08 LDAPUserFolder
drwxr-xr-x 6 zenoss zenoss 4096 Jun 24 13:18 MailHost
drwxr-xr-x 5 zenoss zenoss 4096 Jun 24 13:18 ManagableIndex
drwxr-xr-x 2 zenoss zenoss 4096 Jun 27 11:26 MIMETools
drwxr-xr-x 4 zenoss zenoss 4096 Jun 24 13:18 OFolder
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:26 OFSP
drwxr-xr-x 6 zenoss zenoss 4096 Jun 24 13:18 PageTemplates
drwxr-xr-x 9 zenoss zenoss 4096 Jun 24 13:18 PluggableAuthService
drwxr-xr-x 12 zenoss zenoss 4096 Jun 24 13:18 PluginIndexes
drwxr-xr-x 5 zenoss zenoss 4096 Jun 24 13:18 PluginRegistry
drwxr-xr-x 6 zenoss zenoss 4096 Jun 24 13:18 PythonScripts
drwxr-xr-x 7 zenoss zenoss 4096 Jun 24 13:18 Sessions
drwxr-xr-x 7 zenoss zenoss 4096 Jun 24 13:18 SiteAccess
drwxr-xr-x 4 zenoss zenoss 4096 Jun 24 13:18 SiteErrorLog
drwxr-xr-x 5 zenoss zenoss 4096 Jun 24 13:18 StandardCacheManagers
drwxr-xr-x 5 zenoss zenoss 4096 Jun 27 11:26 TemporaryFolder
drwxr-xr-x 6 zenoss zenoss 4096 Jun 27 11:26 Transience
drwxr-xr-x 7 zenoss zenoss 4096 Jun 24 13:18 ZCatalog
drwxr-xr-x 6 zenoss zenoss 4096 Jun 24 13:18 ZCTextIndex
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:26 ZODBMountPoint
drwxr-xr-x 5 zenoss zenoss 4096 Jun 24 13:18 ZReST
drwxr-xr-x 5 zenoss zenoss 4096 Jun 24 13:18 ZSQLMethods
Since now thank alot
They should go in /opt/zenoss/Products
and then restart zenoss
--Dennis
I did it .:
#ls -l
[root@slvmx124 build]# ls -l /opt/zenoss/Products/
total 364
-rw-r--r-- 1 zenoss zenoss 986 Feb 8 2011 COPYRIGHT.txt
drwxr-xr-x 7 zenoss zenoss 4096 Jul 1 09:48 DataCollector
-rw-r--r-- 1 zenoss zenoss 244 Feb 8 2011 __init__.py
-rw-r--r-- 1 zenoss zenoss 349 Feb 8 2011 __init__.pyo
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:33 Jobber
drwxr-xr-x 5 zenoss zenoss 4096 Jul 19 2008 LDAPMultiPlugins
drwxr-xr-x 8 zenoss zenoss 4096 Oct 21 2008 LDAPUserFolder
-rw-r--r-- 1 zenoss zenoss 18019 Feb 8 2011 LICENSE.txt
drwxr-xr-x 5 501 games 4096 Jul 29 2010 Products.LDAPMultiPlugins-1.12
drwxr-xr-x 5 zenoss zenoss 4096 Apr 6 08:46 Products.LDAPMultiPlugins-1.14
drwxr-xr-x 4 501 games 4096 Jul 29 2010 Products.LDAPUserFolder-2.18
drwxr-xr-x 4 zenoss zenoss 4096 May 4 17:05 Products.LDAPUserFolder-2.20
-rw------- 1 zenoss zenoss 189 Jun 27 11:24 README.txt
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:34 ZenCollector
drwxr-xr-x 9 zenoss zenoss 4096 Jul 27 14:29 ZenEvents
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:34 ZenHub
drwxr-xr-x 12 zenoss zenoss 20480 Jun 27 12:08 ZenModel
drwxr-xr-x 2 zenoss zenoss 4096 Jun 27 11:33 ZenossStartup
-rw-rw-r-- 1 zenoss zenoss 78228 Jun 28 12:45 ZenPacks.community.NetApp-1.13-py2.4.egg
drwxr-xr-x 5 zenoss zenoss 4096 Jun 27 11:33 ZenRelations
drwxr-xr-x 5 zenoss zenoss 4096 Jun 27 11:33 ZenReports
drwxr-xr-x 6 zenoss zenoss 4096 Jun 27 11:34 ZenRRD
drwxr-xr-x 3 zenoss zenoss 4096 Jun 27 11:34 ZenStatus
drwxr-xr-x 2 zenoss zenoss 4096 Jun 27 12:08 ZenTestCase
drwxr-xr-x 8 zenoss zenoss 4096 Jun 27 11:33 ZenUI3
drwxr-xr-x 7 zenoss zenoss 12288 Jul 1 09:48 ZenUtils
drwxr-xr-x 6 zenoss zenoss 4096 Jul 27 14:16 ZenWidgets
drwxr-xr-x 5 zenoss zenoss 4096 Jul 1 09:48 ZenWin
drwxr-xr-x 10 zenoss zenoss 4096 Jun 27 11:33 Zuul
But I cannot see the ldap plugins to add.
Since now thank alot.
I can see the log:
I run this command.:
# tail -n 100 /opt/zenoss/log/event.log
------
2011-09-06T14:12:52 INFO Zope Ready to handle requests
------
2011-09-06T14:30:13 INFO SignalHandler Caught signal SIGTERM
------
2011-09-06T14:30:13 INFO Z2 Shutting down fast
------
2011-09-06T14:30:13 INFO ZServer closing HTTP to new connections
------
2011-09-06T14:30:14 INFO ZServer HTTP server started at Tue Sep 6 14:30:14 2011
Hostname: 0.0.0.0
Port: 7080
------
2011-09-06T14:30:14 ERROR Application Could not import Products.LDAPMultiPlugins
Traceback (most recent call last):
File "/opt/zenoss/lib/python/OFS/Application.py", line 596, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/opt/zenoss/Products/LDAPMultiPlugins/__init__.py", line 22, in <module>
from Products.LDAPMultiPlugins.LDAPMultiPlugin import addLDAPMultiPluginForm
File "/opt/zenoss/Products/LDAPMultiPlugins/LDAPMultiPlugin.py", line 29, in <module>
from Products.LDAPUserFolder import manage_addLDAPUserFolder
File "/opt/zenoss/Products/LDAPUserFolder/__init__.py", line 20, in <module>
from Products.LDAPUserFolder.LDAPUserFolder import LDAPUserFolder
File "/opt/zenoss/Products/LDAPUserFolder/LDAPUserFolder.py", line 47, in <module>
from Products.LDAPUserFolder.LDAPDelegate import filter_format
File "/opt/zenoss/Products/LDAPUserFolder/LDAPDelegate.py", line 19, in <module>
import ldap
File "/opt/zenoss/lib/python/ldap/__init__.py", line 23, in <module>
from _ldap import *
ImportError: /opt/zenoss/lib/python/_ldap.so: undefined symbol: Py_InitModule4
------
2011-09-06T14:30:14 WARNING Application Duplicate Product name: After loading Product 'LDAPMultiPlugins' from '/opt/zenoss/Products', I skipped the one in '/opt/zenoss/lib/python/Products'.
------
2011-09-06T14:30:14 WARNING Application Duplicate Product name: After loading Product 'LDAPMultiPlugins' from '/opt/zenoss/Products', I skipped the one in '/opt/zenoss/lib/python2.6/site-packages/Products.LDAPMultiPlugins-1.12-py2.6.egg/Products'.
------
2011-09-06T14:30:14 ERROR Application Could not import Products.LDAPUserFolder
Traceback (most recent call last):
File "/opt/zenoss/lib/python/OFS/Application.py", line 596, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/opt/zenoss/Products/LDAPUserFolder/__init__.py", line 20, in <module>
from Products.LDAPUserFolder.LDAPUserFolder import LDAPUserFolder
File "/opt/zenoss/Products/LDAPUserFolder/LDAPUserFolder.py", line 47, in <module>
from Products.LDAPUserFolder.LDAPDelegate import filter_format
File "/opt/zenoss/Products/LDAPUserFolder/LDAPDelegate.py", line 19, in <module>
import ldap
File "/opt/zenoss/lib/python/ldap/__init__.py", line 23, in <module>
from _ldap import *
ImportError: /opt/zenoss/lib/python/_ldap.so: undefined symbol: Py_InitModule4
------
2011-09-06T14:30:14 WARNING Application Duplicate Product name: After loading Product 'LDAPUserFolder' from '/opt/zenoss/Products', I skipped the one in '/opt/zenoss/lib/python/Products'.
------
2011-09-06T14:30:14 WARNING Application Duplicate Product name: After loading Product 'LDAPUserFolder' from '/opt/zenoss/Products', I skipped the one in '/opt/zenoss/lib/python2.6/site-packages/Products.LDAPUserFolder-2.18-py2.6.egg/Products'.
------
2011-09-06T14:30:15 INFO ZEO.ClientStorage zeostorage ClientStorage (pid=6998) created RW/normal for storage: '1'
------
2011-09-06T14:30:15 INFO ZEO.cache created temporary cache file '<fdopen>'
------
2011-09-06T14:30:15 INFO ZEO.ClientStorage zeostorage Testing connection <ManagedClientConnection ('127.0.0.1', 8100)>
------
2011-09-06T14:30:15 INFO ZEO.zrpc.Connection(C) (localhost:8100) received handshake 'Z309'
------
2011-09-06T14:30:15 INFO ZEO.ClientStorage zeostorage Server authentication protocol None
------
2011-09-06T14:30:15 INFO ZEO.ClientStorage zeostorage Connected to storage: ('slvmx124', 8100)
------
2011-09-06T14:30:15 INFO ZEO.ClientStorage zeostorage No verification necessary -- empty cache
------
2011-09-06T14:30:16 ERROR Application Couldn't install LDAPMultiPlugins
Traceback (most recent call last):
File "/opt/zenoss/lib/python/OFS/Application.py", line 646, in install_product
global_dict, global_dict, silly)
File "/opt/zenoss/Products/LDAPMultiPlugins/__init__.py", line 22, in <module>
from Products.LDAPMultiPlugins.LDAPMultiPlugin import addLDAPMultiPluginForm
File "/opt/zenoss/Products/LDAPMultiPlugins/LDAPMultiPlugin.py", line 29, in <module>
from Products.LDAPUserFolder import manage_addLDAPUserFolder
File "/opt/zenoss/Products/LDAPUserFolder/__init__.py", line 20, in <module>
from Products.LDAPUserFolder.LDAPUserFolder import LDAPUserFolder
File "/opt/zenoss/Products/LDAPUserFolder/LDAPUserFolder.py", line 47, in <module>
from Products.LDAPUserFolder.LDAPDelegate import filter_format
File "/opt/zenoss/Products/LDAPUserFolder/LDAPDelegate.py", line 19, in <module>
import ldap
File "/opt/zenoss/lib/python/ldap/__init__.py", line 23, in <module>
from _ldap import *
ImportError: /opt/zenoss/lib/python/_ldap.so: undefined symbol: Py_InitModule4
------
2011-09-06T14:30:16 ERROR Application Couldn't install LDAPUserFolder
Traceback (most recent call last):
File "/opt/zenoss/lib/python/OFS/Application.py", line 646, in install_product
global_dict, global_dict, silly)
File "/opt/zenoss/Products/LDAPUserFolder/__init__.py", line 20, in <module>
from Products.LDAPUserFolder.LDAPUserFolder import LDAPUserFolder
File "/opt/zenoss/Products/LDAPUserFolder/LDAPUserFolder.py", line 47, in <module>
from Products.LDAPUserFolder.LDAPDelegate import filter_format
File "/opt/zenoss/Products/LDAPUserFolder/LDAPDelegate.py", line 19, in <module>
import ldap
File "/opt/zenoss/lib/python/ldap/__init__.py", line 23, in <module>
from _ldap import *
ImportError: /opt/zenoss/lib/python/_ldap.so: undefined symbol: Py_InitModule4
------
2011-09-06T14:30:17 INFO Zope Ready to handle requests
[zenoss@slvmx124 python-ldap-2.3.13]$
Problem #1:
drwxr-xr-x 5 501 games 4096 Jul 29 2010 Products.LDAPMultiPlugins-1.12
drwxr-xr-x 5 zenoss zenoss 4096 Apr 6 08:46 Products.LDAPMultiPlugins-1.14
drwxr-xr-x 4 501 games 4096 Jul 29 2010 Products.LDAPUserFolder-2.18
drwxr-xr-x 4 zenoss zenoss 4096 May 4 17:05 Products.LDAPUserFolder-2.20
You have multiple plugins. You need to only have 1 of each of them there.
Problem #2: They should look like this:
ls -ld /opt/zenoss/Products/LDAP*
drwxr-xr-x 5 zenoss zenoss 4096 Aug 9 17:18 /opt/zenoss/Products/LDAPMultiPlugins
drwxr-xr-x 8 zenoss zenoss 4096 Aug 9 17:18 /opt/zenoss/Products/LDAPUserFolder
My bet is your Products.LDAPMultiPlugins-1.14 probably as a subdirectory that is just LDAPMultiPlugins. You need to move that up a level.
--Dennis
I did all that you told me like this:
[root@slvmx124 Products]# ll
total 220
-rw-r--r-- 1 zenoss zenoss 986 Feb 8 2011 COPYRIGHT.txt
drwxr-xr-x 7 zenoss zenoss 4096 Jul 1 09:48 DataCollector
-rw-r--r-- 1 zenoss zenoss 244 Feb 8 2011 __init__.py
-rw-r--r-- 1 zenoss zenoss 349 Feb 8 2011 __init__.pyo
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:33 Jobber
drwxr-xr-x 5 zenoss zenoss 4096 Sep 6 14:30 LDAPMultiPlugins
drwxr-xr-x 8 zenoss zenoss 4096 Sep 6 14:30 LDAPUserFolder
-rw-r--r-- 1 zenoss zenoss 18019 Feb 8 2011 LICENSE.txt
-rw------- 1 zenoss zenoss 189 Jun 27 11:24 README.txt
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:34 ZenCollector
drwxr-xr-x 9 zenoss zenoss 4096 Jul 27 14:29 ZenEvents
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:34 ZenHub
drwxr-xr-x 12 zenoss zenoss 20480 Jun 27 12:08 ZenModel
drwxr-xr-x 2 zenoss zenoss 4096 Jun 27 11:33 ZenossStartup
-rw-rw-r-- 1 zenoss zenoss 78228 Jun 28 12:45 ZenPacks.community.NetApp-1.13-py2.4.egg
drwxr-xr-x 5 zenoss zenoss 4096 Jun 27 11:33 ZenRelations
drwxr-xr-x 5 zenoss zenoss 4096 Jun 27 11:33 ZenReports
drwxr-xr-x 6 zenoss zenoss 4096 Jun 27 11:34 ZenRRD
drwxr-xr-x 3 zenoss zenoss 4096 Jun 27 11:34 ZenStatus
drwxr-xr-x 2 zenoss zenoss 4096 Jun 27 12:08 ZenTestCase
drwxr-xr-x 8 zenoss zenoss 4096 Jun 27 11:33 ZenUI3
drwxr-xr-x 7 zenoss zenoss 12288 Jul 1 09:48 ZenUtils
drwxr-xr-x 6 zenoss zenoss 4096 Jul 27 14:16 ZenWidgets
drwxr-xr-x 5 zenoss zenoss 4096 Jul 1 09:48 ZenWin
drwxr-xr-x 10 zenoss zenoss 4096 Jun 27 11:33 Zuul
But I cannot see the new Ldap plugin to use it...
Since now thank alot.
Did you restart zenoss? Where are you looking for the LDAP plugin?
Also, you might want to grab the following versions (remove the LDAP* directories you already have now and replace them with these versions):
LDAPMultiPlugins-1.7 - http://www.dataflake.org/software/ldapmultiplugins/ldapmultiplugins_1.7
LDAPUserFolder-2.12 - http://www.dataflake.org/software/ldapuserfolder/ldapuserfolder_2.12
--Dennis
Hi dhopp
I restart the Zenoss service all time that tried it.
I've downloaded from here http://pypi.python.org/pypi/.
I'm gonna try your versions.
Since now thank alot,
Hi dhopp:
I tried your versions :
[root@slvmx124 tmp]# ll /opt/zenoss/Products/
total 220
-rw-r--r-- 1 zenoss zenoss 986 Feb 8 2011 COPYRIGHT.txt
drwxr-xr-x 7 zenoss zenoss 4096 Jul 1 09:48 DataCollector
-rw-r--r-- 1 zenoss zenoss 244 Feb 8 2011 __init__.py
-rw-r--r-- 1 zenoss zenoss 349 Feb 8 2011 __init__.pyo
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:33 Jobber
drwxr-xr-x 5 zenoss zenoss 4096 Sep 6 17:40 LDAPMultiPlugins
drwxr-xr-x 8 zenoss zenoss 4096 Sep 6 17:40 LDAPUserFolder
-rw-r--r-- 1 zenoss zenoss 18019 Feb 8 2011 LICENSE.txt
-rw------- 1 zenoss zenoss 189 Jun 27 11:24 README.txt
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:34 ZenCollector
drwxr-xr-x 9 zenoss zenoss 4096 Jul 27 14:29 ZenEvents
drwxr-xr-x 4 zenoss zenoss 4096 Jun 27 11:34 ZenHub
drwxr-xr-x 12 zenoss zenoss 20480 Jun 27 12:08 ZenModel
drwxr-xr-x 2 zenoss zenoss 4096 Jun 27 11:33 ZenossStartup
-rw-rw-r-- 1 zenoss zenoss 78228 Jun 28 12:45 ZenPacks.community.NetApp-1.13-py2.4.egg
drwxr-xr-x 5 zenoss zenoss 4096 Jun 27 11:33 ZenRelations
drwxr-xr-x 5 zenoss zenoss 4096 Jun 27 11:33 ZenReports
drwxr-xr-x 6 zenoss zenoss 4096 Jun 27 11:34 ZenRRD
drwxr-xr-x 3 zenoss zenoss 4096 Jun 27 11:34 ZenStatus
drwxr-xr-x 2 zenoss zenoss 4096 Jun 27 12:08 ZenTestCase
drwxr-xr-x 8 zenoss zenoss 4096 Jun 27 11:33 ZenUI3
drwxr-xr-x 7 zenoss zenoss 12288 Jul 1 09:48 ZenUtils
drwxr-xr-x 6 zenoss zenoss 4096 Jul 27 14:16 ZenWidgets
drwxr-xr-x 5 zenoss zenoss 4096 Jul 1 09:48 ZenWin
drwxr-xr-x 10 zenoss zenoss 4096 Jun 27 11:33 Zuul
And then I run service zenoss restart
But I cannot see any ldap plugin to use yet.
Since now thanks alot.
When you say "But I cannote see any ldap plugin to use yet"
Where are you looking for the plugins?
--Dennis
Hi dhopp:
I'm looking for with this plugin to connect my Ldap data base to Zenoss .
I was looking at that some people can connect it with this plugin .
I wanna use this plugin docs/DOC-2732 (31.4 AUTHENTICATING WITH OTHER LDAP SERVERS).
May be do you know how to do this for another way.
Since now thank alot.
I meant where are you looking in your zenoss installation? Are you just logging into your normal zenoss installation at http://yourzenossserver:8080 ? or are you going to the ZMI at http://yourzenossserver:8080/zport/manage ?
It needs to be the latter.
--Dennis
Ahh ok I need to connect to the ZMI :
http://yourzenossserver:8080/zport/manage
I know that I can "add" the Ldap plugin to connect the Zope db to the Ldap data base.
Best Regards.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||