Help

sudhindra aswathanarayana sudhindra_be_cs at yahoo.co.in
Mon Apr 18 08:34:08 CEST 2005


Hello,


    I am configuring LDAPuserfolder with Zope in order
to access LDAP server running at RedHat Linux
9.0......during startup of ZOPE server.....i got the
following error....help me to tackle the issue

The error is as follows:-

[root at intranet1 bin]# ./runzope
------
2005-04-18T12:03:36 INFO(0) ZServer HTTP server
started at Mon Apr 18 12:03:36 2005
        Hostname: intranet1
        Port: 8080
------
2005-04-18T12:03:36 INFO(0) ZServer FTP server started
at Mon Apr 18 12:03:36 2005
        Hostname: intranet1
        Port: 8021
------
2005-04-18T12:03:36 INFO(0) Zope Set effective user to
"zope"
------
2005-04-18T12:03:38 INFO(0) IngeniWeb
NOTICE   global_symbols.py:20:Mon Apr 18 12:03:38
2005: 'Starting
/opt/zope/instance0/Products/GroupUserFolder at 4
debug level'
                                                      
                                                      
               
------
2005-04-18T12:03:38 ERROR(200) Zope Could not import
Products.LDAPUserFolder
Traceback (most recent call last):
  File
"/opt/zope/Zope2.7.2/lib/python/OFS/Application.py",
line 660, in import_product
    product=__import__(pname, global_dict,
global_dict, silly)
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/__init__.py",
line 15, in ?
    from LDAPUserFolder import addLDAPUserFolderForm,
\
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py",
line 27, in ?
    from LDAPUser import LDAPUser
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/LDAPUser.py",
line 23, in ?
    from utils import _verifyUnicode, encoding
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/utils.py",
line 25, in ?
    import ldap
  File
"/opt/python23/lib/python2.3/site-packages/ldap/__init__.py",
line 21, in ?
    from _ldap import *
ImportError: libldap_r-2.2.so.7: cannot open shared
object file: No such file or directory
Traceback (most recent call last):
  File
"/opt/zope/Zope2.7.2/lib/python/Zope/Startup/run.py",
line 50, in ?
    run()
  File
"/opt/zope/Zope2.7.2/lib/python/Zope/Startup/run.py",
line 19, in run
    start_zope(opts.configroot)
  File
"/opt/zope/Zope2.7.2/lib/python/Zope/Startup/__init__.py",
line 51, in start_zope
    starter.startZope()
  File
"/opt/zope/Zope2.7.2/lib/python/Zope/Startup/__init__.py",
line 230, in startZope
    Zope.startup()
  File
"/opt/zope/Zope2.7.2/lib/python/Zope/__init__.py",
line 47, in startup
    _startup()
  File
"/opt/zope/Zope2.7.2/lib/python/Zope/App/startup.py",
line 45, in startup
    OFS.Application.import_products()
  File
"/opt/zope/Zope2.7.2/lib/python/OFS/Application.py",
line 637, in import_products
    import_product(product_dir, product_name,
raise_exc=debug_mode)
  File
"/opt/zope/Zope2.7.2/lib/python/OFS/Application.py",
line 660, in import_product
    product=__import__(pname, global_dict,
global_dict, silly)
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/__init__.py",
line 15, in ?
    from LDAPUserFolder import addLDAPUserFolderForm,
\
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py",
line 27, in ?
    from LDAPUser import LDAPUser
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/LDAPUser.py",
line 23, in ?
    from utils import _verifyUnicode, encoding
  File
"/opt/zope/Zope2.7.2/lib/python/Products/LDAPUserFolder/utils.py",
line 25, in ?
    import ldap
  File
"/opt/python23/lib/python2.3/site-packages/ldap/__init__.py",
line 21, in ?
    from _ldap import *
ImportError: libldap_r-2.2.so.7: cannot open shared
object file: No such file or directory

Reply me

Thanks in advance

Bye
Sudhindra L A







More information about the python-ldap mailing list