[horde] horde webmail 5.1.3 login problems

Rick Romero rick at havokmon.com
Thu Feb 27 19:06:50 UTC 2014


  Quoting Darryl Cook <dlc at cs.appstate.edu>:

> Ok where to start......
>
> I have been using horde webmail 3.3.8 successfully for quite a while. 
> So I decided it was time to upgrade to webmail 5.1.3.  I decided to
> install it on a test server first.  So basically I have:
>
> Server A  --  running webmail 3.3.8
> Server B  --  running webmail 5.1.3
>
> Server A can login to either server and read mail fine.
> Server B cant login to either one of them.
>
> Both horde installations use imp to login.  Both run the imp/test.php
> tests successfully.
>
> When I look through the horde logs on Server B I see that my login is
> successful but it disconnects me immediately and the horde login page
> says that the username or password is incorrect even though the logs say
> it was successful.  I am able to log directly into dovecot and see mail
> with no problem using the same username and password.
>
> here is a portion of the horde.log file:
> 8099 2014-02-26T13:40:04-05:00 DEBUG: HORDE Load config file (hooks.php;
> app: imp) [pid 26033 on line 402 of "/usr/local/lib/php/Horde.php"]
>   8100 2014-02-26T13:40:05-05:00 DEBUG: HORDE [imp] Load config file
> (conf.php; app: imp) [pid 26033 on line 402 of
> "/usr/local/lib/php/Horde.php"]
>   8101 2014-02-26T13:40:05-05:00 DEBUG: HORDE [imp] Load config file
> (backends.php; app: imp) [pid 26033 on line 402 of
> "/usr/local/lib/php/Horde.php"]
>   8102 2014-02-26T13:40:05-05:00 DEBUG: HORDE [horde] Load config file
> (nls.php; app: horde) [pid 26033 on line 402 of
> "/usr/local/lib/php/Horde.php"]
>   8103 2014-02-26T13:40:05-05:00 DEBUG: HORDE [horde] Load config file
> (prefs.php; app: horde) [pid 26033 on line 402 of
> "/usr/local/lib/php/Horde.php"]
>   8104 2014-02-26T13:40:05-05:00 DEBUG: HORDE [horde] SQL  (0.0006s)
>   8105         SELECT pref_name, pref_value FROM horde_prefs WHERE
> pref_uid = 'dlc'
>   8106           AND pref_scope = 'horde' [pid 26033 on line 558
of
> "/usr/local/lib/php/Horde/Db/Adapter/Base.php"]
>   8107 2014-02-26T13:40:05-05:00 NOTICE: HORDE [horde] Login success for
> dlc [152.10.206.198] to horde. [pid 26033 on line 165 of
> "/usr/local/apache2/htdocs/u/misc/horde/login.php"]
>   8108 2014-02-26T13:40:05-05:00 DEBUG: HORDE [horde] Max memory usage:
> 6553600 bytes [pid 26033 on line 598 of
> "/usr/local/lib/php/Horde/Registry.php"]
>   8109 2014-02-26T13:40:05-05:00 DEBUG: HORDE Load config file
> (conf.php; app: horde) [pid 26033 on line 402 of
> "/usr/local/lib/php/Horde.php"]
>   8110 2014-02-26T13:40:05-05:00 DEBUG: HORDE Setting ingo inactive
> because the fileroot does not exist or the application is not configured
> yet. [pid 26033 on line 738 of "/usr/local/lib/php/Horde/Registry     
 
> .php"]
>   8111 2014-02-26T13:40:05-05:00 DEBUG: HORDE Setting sam inactive
> because the fileroot does not exist or the application is not configured
> yet. [pid 26033 on line 738 of "/usr/local/lib/php/Horde/Registry.   
 
>   php"]
>  

Try using file based sessions (the PHP default) in your horde/conf.php

$conf['session']['name'] = 'Horde5';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['session']['max_time'] = 0;
$conf['sessionhandler']['type'] = 'Builtin';
$conf['sessionhandler']['memcache'] = false;

That tripped me up trying to use Memcache for sessions.... It's now
HashTable (IIRC), but I had problems with that too, so I've just fallen
back to SQL.

Rick


More information about the horde mailing list