Koozali.org: home of the SME Server

can't login to roundcube v 1.0

Offline hawk

  • *
  • 141
  • +0/-0
    • hawkelectronics
Re: can't login to roundcube v 1.0
« Reply #15 on: July 26, 2014, 09:32:22 PM »
my five cents worth, i have had the same problem. brand new server with sme 9 - server gateway mode
i didn't solve the problem but found this.

When i did the first install the roundcube v 1.0 it worked fine, but after about 5 or 6 logins with diferent users it stopped working,
the log files showed the connection to the address book failed. Uninstalled and re-installed made no difference.
Re-formatted the server and reinstalled roundcube, worked same as above but eventauly failed. After about 5 times re-formatting and about a week trying to get it working i gave up and ran the Horde 5.2 upgrade and works like a charm

thanks

Offline davidS

  • ****
  • 80
  • +0/-0
Re: can't login to roundcube v 1.0
« Reply #16 on: July 26, 2014, 11:04:54 PM »
is there a horde 5.2 update for sme 8 ?

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: can't login to roundcube v 1.0
« Reply #17 on: July 26, 2014, 11:23:59 PM »
server only

I would know about 32 or 64 bit  :-P
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline davidS

  • ****
  • 80
  • +0/-0
Re: can't login to roundcube v 1.0
« Reply #18 on: July 27, 2014, 12:18:29 AM »
64bit

Offline hawk

  • *
  • 141
  • +0/-0
    • hawkelectronics
Re: can't login to roundcube v 1.0
« Reply #19 on: July 27, 2014, 07:49:38 AM »
not sure if this will work with sme 8 - but this is what i used on my sme 9 server
http://forums.contribs.org/index.php/topic,50969.0.html

thanks

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: can't login to roundcube v 1.0
« Reply #20 on: July 27, 2014, 10:07:29 AM »
could you see if in the /var/log/dovecot/current you could find something interesting like that

Quote
@400000005396a2d215b40d9c imap-login: Info: Maximum number of connections from user+IP exceeded (mail_max_userip_connections=12):
user=<stephane>,  method=PLAIN, rip=90.84.144.xxx, lip=192.168.xx.15, TLS

to go there

Code: [Select]
less /var/log/dovecot/current
I guess if the number of imap connection set by default to 12 by IP is not the reason why the imap server refuses the imap connection...Maybe.

if yes, this is how to set higher values on your server (set to ConcurrencyLimitPerIP = 48 on my server)

http://wiki.contribs.org/DB_Variables_Configuration#IMAP_.28imap.29
http://wiki.contribs.org/DB_Variables_Configuration#IMAPS_.28imaps.29

increase both values (ConcurrencyLimit and ConcurrencyLimitPerIP)
for example :
Code: [Select]
# config show imap
imap=service
    ConcurrencyLimit=4000
    ConcurrencyLimitPerIP=48
    TCPPort=143
    access=private
    status=enabled

# config show imaps
imaps=service
    ConcurrencyLimit=4000
    ConcurrencyLimitPerIP=48
    TCPPort=993
    access=public
    status=enabled


Unfortunately, i believe there are no plans to get horde5 on sme8.
« Last Edit: July 27, 2014, 10:23:39 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline davidS

  • ****
  • 80
  • +0/-0
Re: can't login to roundcube v 1.0
« Reply #21 on: July 27, 2014, 07:19:48 PM »
i dont have a dovecot folder in /var/log
Quote
[root@secureserver ~]# less /var/log/dovecot/current
/var/log/dovecot/current: No such file or directory

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: can't login to roundcube v 1.0
« Reply #22 on: July 28, 2014, 09:28:47 AM »
i dont have a dovecot folder in /var/log

sorry I forgot that you are with sme8, please could look in

# less /var/log/imap/current
# less /var/log/imaps/current

normally your journal log is imap, but take a look also to imaps
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline davidS

  • ****
  • 80
  • +0/-0
Re: can't login to roundcube v 1.0
« Reply #23 on: July 28, 2014, 04:11:37 PM »
hi
this is the only thing that i have in the log repeatedly and nothing else
imap log
Quote
2014-07-28 16:54:20.910614500 tcpsvd: info: status 1/400
2014-07-28 16:54:20.910633500 tcpsvd: info: pid 2014 from 127.0.0.1
2014-07-28 16:54:20.910653500 tcpsvd: info: concurrency 2014 127.0.0.1 1/12
2014-07-28 16:54:20.910654500 tcpsvd: info: start 2014 0:127.0.0.1 ::127.0.0.1:58912 ./peers/127.0.0.1
2014-07-28 16:54:20.911191500 imapfront-auth[2015]: * OK imapfront ready.
2014-07-28 16:54:20.911884500 2014.07.28 13:54:20 LOG5[2014:47736842602624]: Using 'imap' as tcpwrapper service name
2014-07-28 16:54:20.912504500 2014.07.28 13:54:20 LOG5[2014:47736842602624]: stunnel 3.22 on x86_64-redhat-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
2014-07-28 16:54:20.912529500 2014.07.28 13:54:20 LOG5[2014:47736842602624]: imap connected from 127.0.0.1:58912
2014-07-28 16:54:20.912805500 imapfront-auth[2015]: * CAPABILITY IMAP4rev1 AUTH=LOGIN IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
2014-07-28 16:54:20.912806500 imapfront-auth[2015]: 00000000 OK CAPABILITY completed
2014-07-28 16:54:20.953689500 imapfront-auth[2015]: SASL AUTH LOGIN username=admin
2014-07-28 16:54:20.992107500 imap(admin): Info: Disconnected: Logged out
2014-07-28 16:54:20.992337500 tcpsvd: info: end 2014 exit 0
2014-07-28 16:54:20.992337500 tcpsvd: info: status 0/400

and in the imaps log there is
Quote
2014-07-10 00:36:21.296467500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-10 00:44:22.854553500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-13 20:28:49.863535500 tcpsvd: info: status 1/400
2014-07-13 20:28:49.863537500 tcpsvd: info: pid 14309 from 62.219.238.215
2014-07-13 20:28:49.887253500 tcpsvd: info: concurrency 14309 62.219.238.215 1/12
2014-07-13 20:28:49.887255500 tcpsvd: info: start 14309 0:192.168.10.5 ::62.219.238.215:4369 ./peers/0
2014-07-13 20:28:49.888663500 2014.07.13 20:28:49 LOG5[14309:47166217373824]: Using 'imaps' as tcpwrapper service name
2014-07-13 20:28:49.950095500 2014.07.13 20:28:49 LOG5[14309:47166217373824]: stunnel 3.22 on x86_64-redhat-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
2014-07-13 20:28:49.950191500 2014.07.13 20:28:49 LOG5[14309:47166217373824]: imaps connected from 62.219.238.215:4369
2014-07-13 20:32:16.437673500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-13 20:33:49.882736500 2014.07.13 20:33:49 LOG3[14309:47166217373824]: SSL_accept: Peer suddenly disconnected
2014-07-20 20:13:08.030077500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-22 19:27:02.429519500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-23 14:35:16.353404500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-24 00:51:08.304831500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-25 11:44:49.306355500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-25 12:21:22.318305500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 10:32:38.013360500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 10:42:39.865271500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 11:33:58.217275500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 12:48:00.127528500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 13:08:49.874100500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 13:15:07.091239500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 13:27:39.224160500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 15:04:33.761033500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 18:48:06.001293500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
2014-07-26 23:10:19.486029500 tcpsvd: info: listening on 0.0.0.0:imaps, starting.
i don't see anything strange

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: can't login to roundcube v 1.0
« Reply #24 on: July 29, 2014, 06:57:21 PM »
Sorry for the delay, the work has started really hard, since this two days.

I would be interested that you increase the number of imap(s) connection to your sme. Obviously Roundcube is used by other people and It should work :)

Code: [Select]
db configuration setprop imap ConcurrencyLimit 2000
db configuration setprop imaps ConcurrencyLimit 2000
db configuration setprop imaps ConcurrencyLimitPerIP 36
db configuration setprop imap ConcurrencyLimitPerIP 36
signal-event post-upgrade; signal-event reboot
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline davidS

  • ****
  • 80
  • +0/-0
Re: can't login to roundcube v 1.0
« Reply #25 on: July 29, 2014, 08:38:35 PM »
hi
no it didn't fix the problem.
but now on my sme9  test server i did a restore from backup of sme 8 and now the roundcube have the same error so i'm thinking that the problem is in the configuration of the server and not the roundcube or the imap