1

Topic: Roundcube cannot login

==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.3 + mysql
- Linux/BSD distribution name and version: Debian 6.0.3 64bit
- Any related log? Log is helpful for troubleshooting.
====

Hi there, I'm new to iRedmail, used to use hmailserver in windows
The installation process all successful without any error, roundcube loginpage, phpmyadmin and iredadmin page are all ok. only when login to roundcube, it said "session expired or invalid" I've checked server timezone and mysql timezone, all ok. Don't know what it could be? can someone help?

2

Re: Roundcube cannot login

Is there any related error log in /var/log/mail.log and/or /var/log/apache2/*?

3

Re: Roundcube cannot login

mail.log
..........
Nov 13 14:01:01 server1 cleanup: expired: 0 records
Nov 13 14:01:01 server1 cleanup: expiring unvalidated records older than 2 days (1320980461)
Nov 13 14:01:01 server1 cleanup: expired: 0 records
Nov 13 14:01:01 server1 cleanup: expired: 0 records
Nov 13 14:01:01 server1 cleanup: expiring blacklisted records (1321153261)
Nov 13 14:01:01 server1 cleanup: expired: 0 records
Nov 13 14:01:01 server1 cleanup: expiring autowhitelisted records older than 7 days (1321153261)
Nov 13 14:01:01 server1 cleanup: expired: 0 records
Nov 13 14:01:01 server1 cleanup: expiring helo records older than 7 days (1321153261)
Nov 13 14:01:01 server1 cleanup: expired: 0 records
Nov 13 14:05:50 server1 postfix/qmgr[12078]: 14EF18D9F0: from=<www-data@server1.domain.com>, size=2094, nrcpt=1 (queue active)
Nov 13 14:05:50 server1 postfix/qmgr[12078]: 618B58D9EE: from=<www-data@server1.domain.com>, size=2094, nrcpt=1 (queue active)
Nov 13 14:05:50 server1 postfix/local[14999]: 618B58D9EE: to=<www-data@server1.domain.com>, relay=local, delay=945, delays=945/0.03/0/0.02, dsn=4.3.0, status=deferred (temporary failure)
Nov 13 14:05:50 server1 postfix/local[14998]: 14EF18D9F0: to=<www-data@server1.domain.com>, relay=local, delay=347, delays=347/0.07/0/0.04, dsn=4.3.0, status=deferred (temporary failure)
Nov 13 14:10:03 server1 postfix/pickup[14661]: 564BC8D9F2: uid=33 from=<www-data>
Nov 13 14:10:03 server1 postfix/cleanup[15084]: 564BC8D9F2: message-id=<20111113031003.564BC8D9F2@server1.domain.com>
Nov 13 14:10:03 server1 postfix/qmgr[12078]: 564BC8D9F2: from=<www-data@server1.domain.com>, size=2094, nrcpt=1 (queue active)
Nov 13 14:10:03 server1 postfix/local[15090]: 564BC8D9F2: to=<www-data@server1.domain.com>, relay=local, delay=0.27, delays=0.12/0.02/0/0.13, dsn=4.3.0, status=deferred (temporary failure)
Nov 13 14:15:50 server1 postfix/qmgr[12078]: 14EF18D9F0: from=<www-data@server1.domain.com>, size=2094, nrcpt=1 (queue active)
Nov 13 14:15:50 server1 postfix/qmgr[12078]: 564BC8D9F2: from=<www-data@server1.domain.com>, size=2094, nrcpt=1 (queue active)
Nov 13 14:15:50 server1 postfix/local[15201]: 14EF18D9F0: to=<www-data@server1.domain.com>, relay=local, delay=948, delays=948/0.06/0/0.04, dsn=4.3.0, status=deferred (temporary failure)
Nov 13 14:15:50 server1 postfix/local[15202]: 564BC8D9F2: to=<www-data@server1.domain.com>, relay=local, delay=347, delays=347/0.03/0/0.03, dsn=4.3.0, status=deferred (temporary failure)
root@server1:~#

/var/log/apache2/access.log
.................
10.1.1.5 - - [13/Nov/2011:14:17:16 +1100] "GET /mail HTTP/1.1" 301 517 "-" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:17 +1100] "GET /mail/ HTTP/1.1" 200 1720 "-" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/common.css?s=1297248710 HTTP/1.1" 200 3425 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/roundcube_logo.png HTTP/1.1" 200 7072 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/favicon.ico HTTP/1.1" 200 1430 "-" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/program/js/common.js?s=1313226800 HTTP/1.1" 200 4101 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/program/js/app.js?s=1313226798 HTTP/1.1" 200 24374 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/program/js/jquery-1.4.min.js?s=1289561220 HTTP/1.1" 200 27413 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/mail_footer.png HTTP/1.1" 200 1303 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/taskicons.gif HTTP/1.1" 200 2008 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/icons/folders.png HTTP/1.1" 200 5048 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/buttons/bg.gif HTTP/1.1" 200 471 "http://10.1.1.31/mail/skins/default/com … 1297248710" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/display/loading.gif HTTP/1.1" 200 3218 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/listheader.gif HTTP/1.1" 200 745 "http://10.1.1.31/mail/skins/default/com … 1297248710" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/abook_toolbar.png HTTP/1.1" 200 13864 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/messageicons.png HTTP/1.1" 200 2630 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/searchfield.gif HTTP/1.1" 200 611 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/mail_toolbar.png HTTP/1.1" 200 37849 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/pagenav.gif HTTP/1.1" 200 632 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/icons/groupactions.png HTTP/1.1" 200 770 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/icons/reset.gif HTTP/1.1" 200 438 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:18 +1100] "GET /mail/skins/default/images/watermark.gif HTTP/1.1" 200 10515 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:26 +1100] "POST /mail/ HTTP/1.1" 302 555 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:27 +1100] "GET /mail/?_task=mail HTTP/1.1" 200 1805 "http://10.1.1.31/mail/" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:27 +1100] "GET /mail/program/js/jquery-1.4.min.js?s=1289561220 HTTP/1.1" 304 196 "http://10.1.1.31/mail/?_task=mail" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:27 +1100] "GET /mail/program/js/common.js?s=1313226800 HTTP/1.1" 304 195 "http://10.1.1.31/mail/?_task=mail" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:27 +1100] "GET /mail/program/js/app.js?s=1313226798 HTTP/1.1" 304 196 "http://10.1.1.31/mail/?_task=mail" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:27 +1100] "GET /mail/skins/default/common.css?s=1297248710 HTTP/1.1" 304 195 "http://10.1.1.31/mail/?_task=mail" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
10.1.1.5 - - [13/Nov/2011:14:17:27 +1100] "GET /mail/skins/default/images/display/icons.png HTTP/1.1" 200 4523 "http://10.1.1.31/mail/skins/default/com … 1297248710" "Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0"
root@server1:/var/log/apache2#

4

Re: Roundcube cannot login

no error.log, no other_vhosts_access.log no ssl_access.log

5

Re: Roundcube cannot login

I didn't find related error log, still no idea about why it happened, sorry. sad

6

Re: Roundcube cannot login

had just tried that on CentOS 6.0, same problem happened, it might be a bug in roundcube.
the mail server working perfectly without error except the roundcube webmail

7

Re: Roundcube cannot login

Installed 0.7.4 rc3 on ubuntu 11.10 fix all problems.