Topic: "No module named ldap" at opening iredadmin
hi
i have installed the open source edition on my ubuntu 10.04 server.
roundcube is working, but when im trying to start iredadmin i get this error:
<type 'exceptions.ImportError'> at /
No module named ldapPython /usr/share/apache2/iredadmin/libs/ldaplib/core.py in <module>, line 28
Web GET https://192.168.0.11/iredadmin/Traceback (innermost first)
/usr/share/apache2/iredadmin/libs/ldaplib/core.py in <module>
...
import ldap, ldap.filter ...
▶ Local vars
/usr/share/apache2/iredadmin/controllers/ldap/basic.py in <module>
...
from libs.ldaplib import core, auth, admin, domain, ldaputils ...
▶ Local vars
/usr/local/lib/python2.6/site-packages/web.py-0.34-py2.6.egg/web/application.py in _delegate
...
mod = __import__(mod, globals(), locals(), [""]) ...
▶ Local vars
/usr/local/lib/python2.6/site-packages/web.py-0.34-py2.6.egg/web/application.py in handle
...
return self._delegate(fn, self.fvars, args) ...
▶ Local vars
/usr/local/lib/python2.6/site-packages/web.py-0.34-py2.6.egg/web/application.py in process
...
return self.handle() ...
▶ Local vars
Request information
INPUTNo data.
COOKIESVariable Value
iRedAdmin-OSE 'e4478d17622875a477f565c09b81608048ddb14c'
roundcube_sessid '6801e47106c7f1d49c6390bb40dacb53'
smplrefresh '5'
template 'phpsysinfo'METAVariable Value
app_stack [<web.application.application instance at 0x22bec9ac>]
fullpath u'/'
headers []
home u'https://192.168.0.11/iredadmin'
homedomain u'https://192.168.0.11'
homepath u'/iredadmin'
host u'192.168.0.11'
ip u'192.168.0.22'
lang 'de_DE'
method u'GET'
output u''
path u'/'
protocol u'https'
query u''
realhome u'https://192.168.0.11/iredadmin'
status '200 OK'ENVIRONMENTVariable Value
DOCUMENT_ROOT '/var/www'
GATEWAY_INTERFACE 'CGI/1.1'
HTTPS '1'
HTTP_ACCEPT 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1'
HTTP_ACCEPT_CHARSET 'iso-8859-1, utf-8, utf-16, *;q=0.1'
HTTP_ACCEPT_ENCODING 'deflate, gzip, x-gzip, identity, *;q=0'
HTTP_ACCEPT_LANGUAGE 'de-DE,de;q=0.9,en;q=0.8'
HTTP_CACHE_CONTROL 'no-cache'
HTTP_CONNECTION 'Keep-Alive, TE'
HTTP_COOKIE 'template=phpsysinfo; smplrefresh=5; roundcube_sessid=6801e47106c7f1d49c6390bb40dacb53; iRedAdmin-OSE=e4478d17622875a477f565c09b81608048ddb14c'
HTTP_COOKIE2 '$Version=1'
HTTP_HOST '192.168.0.11'
HTTP_TE 'deflate, gzip, chunked, identity, trailers'
HTTP_USER_AGENT 'Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.6.31 Version/10.70'
PATH '/usr/local/bin:/usr/bin:/bin'
PATH_INFO '/'
PATH_TRANSLATED '/var/www/index.html'
QUERY_STRING ''
REMOTE_ADDR '192.168.0.22'
REMOTE_PORT '44290'
REQUEST_METHOD 'GET'
REQUEST_URI '/iredadmin'
SCRIPT_FILENAME '/usr/share/apache2/iredadmin/iredadmin.py'
SCRIPT_NAME '/iredadmin'
SERVER_ADDR '192.168.0.11'
SERVER_ADMIN 'webmaster@localhost'
SERVER_NAME '192.168.0.11'
SERVER_PORT '443'
SERVER_PROTOCOL 'HTTP/1.1'
SERVER_SIGNATURE '<address>Apache/2.2.14 (Ubuntu) Server at 192.168.0.11 Port 443</address>\n'
SERVER_SOFTWARE 'Apache/2.2.14 (Ubuntu)'
mod_wsgi.application_group 'server.fam-bauer.eu|/iredadmin'
mod_wsgi.callable_object 'application'
mod_wsgi.listener_host ''
mod_wsgi.listener_port '443'
mod_wsgi.process_group 'iredadmin'
mod_wsgi.reload_mechanism '1'
mod_wsgi.script_reloading '1'
mod_wsgi.version (2, 8)
wsgi.errors <mod_wsgi.Log object at 0x22be50e0>
wsgi.file_wrapper <built-in method file_wrapper of mod_wsgi.Adapter object at 0x229277b8>
wsgi.input <mod_wsgi.Input object at 0x22be15e8>
wsgi.multiprocess False
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'https'
wsgi.version (1, 0)
ldap is up and working, python-lad is installed - for me looks everything fine....
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.