Hello again, after some investigation I discovered that somehow /usr/share/python/debian_defaults was pointing to python 2.5, I changed this and started again.
I now get just this, when I attempt to login into https://my_server_ip/iredadmin
internal server error.
I also get this in /var/log/apache2/error.log:
[Sun Sep 20 20:36:18 2009] [error] /var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
[Sun Sep 20 20:36:18 2009] [error] from sets import ImmutableSet
[Sun Sep 20 20:36:18 2009] [error] /usr/local/lib/python2.6/dist-packages/Jinja2-2.2.1-py2.6.egg/jinja2/__init__.py:31: UserWarning: Module _mysql was already imported from
/var/lib/python-support/python2.6/_mysql.so, but /var/lib/python-support/python2.6 is being added to sys.path
[Sun Sep 20 20:36:18 2009] [error] __version__ = __import__('pkg_resources') \\
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] Traceback (most recent call last):
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/local/lib/python2.6/dist-packages/web.py-0.32-py2.6.egg/web/application.py", line 242, in process
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] return self.handle()
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/local/lib/python2.6/dist-packages/web.py-0.32-py2.6.egg/web/application.py", line 233, in handle
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] return self._delegate(fn, self.fvars, args)
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/local/lib/python2.6/dist-packages/web.py-0.32-py2.6.egg/web/application.py", line 408, in _delegate
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] mod = __import__(mod, globals(), locals(), [""])
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/share/apache2/iredadmin/controllers/ldap/basic.py", line 8, in <module>
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] from libs.ldaplib import core, auth, domain, ldaputils
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/share/apache2/iredadmin/libs/ldaplib/domain.py", line 13, in <module>
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] LDAPDecorators = core.LDAPDecorators()
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/share/apache2/iredadmin/libs/ldaplib/core.py", line 52, in __init__
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] self.conn.bind_s(cfg.ldap.get('bind_dn'), cfg.ldap.get('bind_pw'))
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 213, in bind_s
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] return self.result(msgid,all=1,timeout=self.timeout)
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 428, in result
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432, in result2
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 438, in result3
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] result = func(*args,**kwargs)
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101] INVALID_CREDENTIALS: {'desc': 'Invalid credentials'}
[Sun Sep 20 20:36:18 2009] [error] [client 172.16.0.101]
I have followed the howto to the letter, apart from the top of settings.ini, the howto says
'[general]
admin = user@domain.ltd'
mine says
'[general]
# Site webmaster's mail address.
webmaster = user@example.com' <-- not the real email address I entered
I have also checked the ldap credentials I entered in settings.ini, they are correct
Anybody got any idea why it does not work?