Roundcube fails login

hede kolab983 at der-he.de
Fri Mar 21 11:35:25 CET 2014


Am Fri, 21 Mar 2014 10:47:24 +0100 schrieb Jan Kowalsky <jankow at datenkollektiv.net>:

> are the mailboxes created for the user?
> 
>   kolab lm

If that's the case (no mailboxes created) then maybe the kolab daemon is not running. If it's not running, start it (service kolab-server start) and see if mailboxes get created (shouldn't take much time).

Ignore the following if "pgrep kolabd" lists processes.

(Background: In debian it's possible (a race condition) that the init system starts kolabd while dirsrv is still initialising or even before dirsrv (with dependency based boot). And kolabd crashes without dirsrv running and won't restart automatically. I have modified my kolab-server init script to wait for dirsrv. I don't know if LANG is still needed.)

--- /etc/init.d/kolab-server.orig	2014-02-19 10:02:28.000000000 +0100
+++ /etc/init.d/kolab-server	2014-02-11 10:00:45.293707741 +0100
@@ -3,8 +3,8 @@
 # Provides: kolab-server
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
-# Required-Start: $remote_fs $local_fs $network
-# Required-Stop: $remote_fs $local_fs $network
+# Required-Start: $remote_fs $local_fs $network dirsrv
+# Required-Stop: $remote_fs $local_fs $network dirsrv
 # Short-Description: Start/Stop the Kolab Server daemon
 # Description:      The Kolab server is a server process which synchronizes
 #                   LDAP, SQL and other authentication databases with Cyrus IMAP,
@@ -110,6 +113,8 @@ do_stop()
 
 case "$1" in
   start)
+    LANG=C
+    export LANG
     [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
     do_start
     case "$?" in



More information about the users mailing list