1

Topic: Not able to log in iRedAdmin-Pro-LDAP-1.6.3

==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.3 64 bit
- Related log if you're reporting an issue:
====
Hello Zhang,

We are trying to migrate iRedMail version 0.8.3 to iRedAdmin-Pro-LDAP-1.6.3. We have followed below link to perform this.

http://www.iredmail.org/wiki/index.php? … ro/OSE-Pro

After following above link i am not able to login to Admin Panel. I am getting INVALID_CREDENTIAL error. Please find the below logs for more informations.

openldap.log
=============
Oct 26 14:44:00 cm083 slapd[4563]: @(#) $OpenLDAP: slapd 2.4.23 (Aug  8 2012 16:29:21) $#012#011mockbuild@c6b10.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd
Oct 26 14:45:04 cm083 slapd[4605]: @(#) $OpenLDAP: slapd 2.4.23 (Aug  8 2012 16:29:21) $#012#011mockbuild@c6b10.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd

iredapd.log
==========
2012-10-26 09:50:51 INFO [127.0.0.1] user@abc.com -> user@abc.com, DUNNO
2012-10-26 12:05:02 INFO Starting iredapd (v1.3.8, ldap). Enabled plugin(s): ldap_maillist_access_policy, block_amavisd_blacklisted_senders. Listening on 127.0.0.1:7777.

sieve.log
===========
Oct 26 09:50:57 lda(user@abc.com): Info: msgid=<117ed80548225e5d2ad0765dc823f05d@abc.com>: saved mail to INBOX
Oct 26 10:47:19 lda(postmaster@abc.com): Info: msgid=<20121026051714.B449E16078D@cm083.abc.com>: saved mail to INBOX

mysql.log
==========
121026 13:57:40 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
121026 13:57:41 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
121026 13:57:41 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
121026 13:57:41 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
121026 13:57:41  InnoDB: Initializing buffer pool, size = 8.0M
121026 13:57:41  InnoDB: Completed initialization of buffer pool
121026 13:57:41  InnoDB: Started; log sequence number 0 360501
121026 13:57:41 [Note] Event Scheduler: Loaded 0 events
121026 13:57:41 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.61'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution

Error_log
==========
reading.pyc'> ignored
[Fri Oct 26 14:49:42 2012] [error] Exception KeyError: KeyError(139941572806624,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Fri Oct 26 14:49:42 2012] [error] Exception KeyError: KeyError(139941572806624,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Fri Oct 26 14:49:42 2012] [notice] caught SIGTERM, shutting down
[Fri Oct 26 14:49:43 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Oct 26 14:49:43 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 26 14:49:43 2012] [notice] Digest: done
[Fri Oct 26 14:49:43 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Fri Oct 26 14:49:43 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Fri Oct 26 14:49:43 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations

maillog
============
Oct 26 13:31:22 cm083 roundcube: DB Error: _doConnect: [Error message: Unknown database 'roundcubemail']#012[Native code: 1049]#012[Native message: Unknown database 'roundcubemail']#012 ** mysqli(mysqli)://roundcube:xxx@127.0.0.1/roundcubemail in /var/www/roundcubemail-0.8.2/program/include/rcube_mdb2.php on line 107 (GET /mail/?_task=mail&_action=keep-alive&_remote=1&_unlock=0&_=1351238752567)
Oct 26 13:31:35 cm083 roundcube: MDB2 Error: connect failed (-24): _doConnect: [Error message: Can't connect to MySQL server on '127.0.0.1' (111)]#012[Native code: 2003]#012[Native message: Can't connect to MySQL server on '127.0.0.1' (111)]
Oct 26 13:31:35 cm083 roundcube: DB Error: _doConnect: [Error message: Can't connect to MySQL server on '127.0.0.1' (111)]#012[Native code: 2003]#012[Native message: Can't connect to MySQL server on '127.0.0.1' (111)]#012 ** mysqli(mysqli)://roundcube:xxx@127.0.0.1/roundcubemail in /var/www/roundcubemail-0.8.2/program/include/rcube_mdb2.php on line 107 (GET /?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1351238402045)

Kindly Advice


Regards,
Pine Mail.

2

Re: Not able to log in iRedAdmin-Pro-LDAP-1.6.3

Hello All,

Any advice on  this issue would be appreciated.


Thanks in Advance
Regards,
PineMail.

3

Re: Not able to log in iRedAdmin-Pro-LDAP-1.6.3

Hi PineMail,

You need the latest iRedAdmin-Pro-LDAP-1.8.1 instead.

With iRedMail-0.8.3, you can mark normal mail user as domain admin or global admin, and default admin account created during iRedMail installation is a mail user by default, old releases of iRedAdmin-Pro doesn't support this type of admin account.

Re-sent an email with download link to you (manoj.kumar@) moment ago, let me know if you didn't receive it.

4

Re: Not able to log in iRedAdmin-Pro-LDAP-1.6.3

Hello Zhang,

Thanks for your kind support.

Regards,
PineMail.