[horde] strange forced logout

l.kiraly at madalbal.hu l.kiraly at madalbal.hu
Wed Jul 10 12:02:36 UTC 2013


I changed now the horde session handler to:

$conf['sessionhandler']['params']['path'] = '/var/cache/sessions/';
$conf['sessionhandler']['type'] = 'File';

And the problem persists.
In the first row, seems like horde cannot retrieve the session data.
I don't know why?
In this way, it's only horde that manage the sessions?

I forgot to mention, horde is from the fresh git master repo.
horde: 5.1.2-git
php: 5.4.4-14+deb7u2
apache: 2.2.22-12

syslog:

---
Jul 10 13:52:10 shanti HORDE: Error retrieving session data (id =  
lts4vghh354jpidtbbefkc9ji6) [pid 16180]
Jul 10 13:52:10 shanti HORDE: Setting kolab inactive because the  
fileroot does not exist or the application is not configured yet. [pid  
16180 on line 699 of "
/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: Setting passwd inactive because the  
fileroot does not exist or the application is not configured yet. [pid  
16180 on line 699 of  
"/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: Load config file (nls.php; app: horde)  
[pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (conf.php; app:  
imp) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (prefs.php; app:  
horde) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (prefs.php; app:  
imp) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (backends.php;  
app: imp) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: PHP ERROR: Declaration of  
Luxor_Application::menu() should be compatible with  
Horde_Registry_Application::menu($menu) [pid 16180 on line 846 of  
"/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: [gollem] Load config file (conf.php;  
app: gollem) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [gollem] Load config file (prefs.php;  
app: gollem) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [gollem] Load config file (backends.php;  
app: gollem) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [wicked] Load config file (conf.php;  
app: wicked) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: Session data destroyed (id =  
lts4vghh354jpidtbbefkc9ji6) [pid 16180]
Jul 10 13:52:10 shanti HORDE: User is not authorized for horde [pid  
16180 on line 267 of  
"/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: 1. Horde_Registry::appInit()  
/usr/local/src/horde/horde/services/portal/edit.php:17
Jul 10 13:52:10 shanti HORDE: Max memory usage: 1835008 bytes [pid  
16180 on line 560 of  
"/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: Load config file (conf.php; app: horde)  
[pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: Error retrieving session data (id =  
lts4vghh354jpidtbbefkc9ji6) [pid 16180]
Jul 10 13:52:10 shanti HORDE: Setting kolab inactive because the  
fileroot does not exist or the application is not configured yet. [pid  
16180 on line 699 of  
"/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: Setting passwd inactive because the  
fileroot does not exist or the application is not configured yet. [pid  
16180 on line 699 of  
"/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: Load config file (nls.php; app: horde)  
[pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (conf.php; app:  
imp) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (prefs.php; app:  
horde) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (prefs.php; app:  
imp) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [imp] Load config file (backends.php;  
app: imp) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: PHP ERROR: Declaration of  
Luxor_Application::menu() should be compatible with  
Horde_Registry_Application::menu($menu) [pid 16180 on line 846 of  
"/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
Jul 10 13:52:10 shanti HORDE: [gollem] Load config file (conf.php;  
app: gollem) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [gollem] Load config file (prefs.php;  
app: gollem) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
Jul 10 13:52:10 shanti HORDE: [gollem] Load config file (backends.php;  
app: gollem) [pid 16180 on line 401 of  
"/usr/local/src/horde/framework/Core/lib/Horde.php"]
---


Idézet (l.kiraly at madalbal.hu):

> Hi all,
>
> I have problem with the session handling in horde.
> Without any message, horde redirects the users to the login screen.
> They have to relogin.
>
> I found this in the log:
>
> ---
> Jul 10 11:33:44 shanti HORDE: Load config file (conf.php; app:  
> horde) [pid 11535 on line 401 of  
> "/usr/local/src/horde/framework/Core/lib/Horde.php"]
> Jul 10 11:33:44 shanti HORDE: Horde_Registry: retrieved app with  
> cache ID  
> horde_registry|app|1371828950|102fa7b4647511685ecf6cf86dafefa9 [pid  
> 11535 on line 1987 of  
> "/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
> Jul 10 11:33:44 shanti HORDE: [imp] Load config file (conf.php; app:  
> imp) [pid 11535 on line 401 of  
> "/usr/local/src/horde/framework/Core/lib/Horde.php"]
> Jul 10 11:33:44 shanti HORDE: PHP ERROR: Declaration of  
> Luxor_Application::menu() should be compatible with  
> Horde_Registry_Application::menu($menu) [pid 11535 on line 846 of  
> "/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
> Jul 10 11:33:44 shanti HORDE: User is not authorized [pid 11535 on  
> line 267 of  
> "/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
> Jul 10 11:33:44 shanti HORDE: 1. Horde_Registry::appInit()  
> /usr/local/src/horde/horde/services/prefs.php:24
> Jul 10 11:33:44 shanti HORDE: Max memory usage: 2097152 bytes [pid  
> 11535 on line 560 of  
> "/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
> Jul 10 11:33:44 shanti HORDE: Load config file (conf.php; app:  
> horde) [pid 11535 on line 401 of  
> "/usr/local/src/horde/framework/Core/lib/Horde.php"]
> Jul 10 11:33:44 shanti HORDE: Setting kolab inactive because the  
> fileroot does not exist or the application is not configured yet.  
> [pid 11535 on line 699 of  
> "/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
> Jul 10 11:33:44 shanti HORDE: Setting passwd inactive because the  
> fileroot does not exist or the application is not configured yet.  
> [pid 11535 on line 699 of  
> "/usr/local/src/horde/framework/Core/lib/Horde/Registry.php"]
> ---
>
>
> my current session settings in horde:
>
> $conf['session']['name'] = 'Horde';
> $conf['session']['use_only_cookies'] = true;
> $conf['session']['timeout'] = 0;
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['session']['max_time'] = 0;
> $conf['sessionhandler']['type'] = 'Builtin';
> $conf['sessionhandler']['hashtable'] = false;
>
>
> php session settings:
>
> session.save_handler = files
> session.use_cookies = 1
> session.use_only_cookies = 1
> session.name = PHPSESSID
> session.auto_start = 0
> session.cookie_lifetime = 0
> session.cookie_path = /
> session.cookie_domain =
> session.cookie_httponly =
> session.serialize_handler = php
> session.gc_probability = 1
> session.gc_divisor = 10000
> session.gc_maxlifetime = 28800 -> I changed this from default after  
> the problem appeared
> session.bug_compat_42 = Off
> session.bug_compat_warn = Off
> session.referer_check =
> session.cache_limiter = nocache
> session.cache_expire = 180
> session.use_trans_sid = 0
> session.hash_function = 0
> session.hash_bits_per_character = 5
>
> Regards: László Király
> -- 
> Üdvözlettel: Király László
> Madal Bal Kft (http://www.madalbal.hu)
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org

-- 
Üdvözlettel: Király László
Madal Bal Kft (http://www.madalbal.hu)



More information about the horde mailing list