[horde] Error: No connection to server

Jan Schneider jan at horde.org
Fri Nov 4 14:11:13 UTC 2011


Zitat von Simon Brereton <simon.brereton at buongiorno.com>:

> Hi
>
> I have one installation of Horde that is available on three  
> different URLs (https://webmail.example.com,  
> https://webmail.example.net and https://webmail.example.org) and  
> although users are encouraged to log in on the domain corresponding  
> to their email, because the authentication is against the IMAP  
> server, it would work on any URL.
>
> I now have one user who is getting:
> 	Error when communicating with the server.[Thu 03 Nov 2011 02:04:28 PM EST]
> and
> 	The server was unable to generate the message list.[Thu 03 Nov 2011  
> 02:04:29 PM EST]
>
> This happens for one user regardless of the domain they log in on.   
> It doesn't happen for any of the other users..  Unless changed users  
> are presented with the Portal page - which doesn't load for this  
> use.  Changing the URL to imp/ starts to load IMP and then errors  
> above occur.  Ditto changing it to kronolith/
>
> The logs aren't very forth-coming.  Here is one login session for the user..
>
> 18:06:51+00:00 NOTICE: HORDE4 [horde] Login success for  
> pj at example.com [38.104.167.6] to horde. [pid 1212 on line 153 of  
> "/usr/share/horde4/login.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [imp] Login success for  
> pj at example.com (Horde user pj at example.com) [38.104.167.6] to  
> {localhost:143 [imap]} [pid 1212 on line 176 of  
> "/usr/share/horde4/imp/lib/Auth.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR:  
> Undefined index: from [pid 1212 on line 394 of  
> "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR:  
> Undefined index: to [pid 1212 on line 394 of  
> "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR:  
> Undefined index: from [pid 1212 on line 394 of  
> "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR:  
> Undefined index: to [pid 1212 on line 394 of  
> "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR:  
> Undefined index: params [pid 1212 on line 36 of  
> "/usr/share/horde4/lib/Block/Account.php"]
> 2011-11-03T18:06:54+00:00 NOTICE: HORDE4 [imp] Login success for  
> pj at example.com (Horde user pj at example.com) [38.104.167.6] to  
> {localhost:143 [imap]} [pid 1203 on line 176 of  
> "/usr/share/horde4/imp/lib/Auth.php"]
> 2011-11-03T18:08:03+00:00 NOTICE: HORDE4 [horde] User pj at example.com  
> [38.104.167.6] logged out of Horde [pid 1211 on line 115 of  
> "/usr/share/horde4/login.php"]
>
> Obviously it looks like the Metar.php is the issue - but all users  
> have this block.  And it's working for other users.

No. It's doesn't have anything to do with that.

> Googling the errors, I saw a comment by Jan to check the apache logs  
> - those turned up this.
>
>
> [Thu Nov 03 17:35:01 2011] [error] [client 77.101.63.17] PHP Fatal  
> error:  Allowed memory size of 134217728 bytes exhausted (tried to  
> allocate 24 bytes) in /usr/share/horde4/kronolith/lib/Kronolith.php  
> on line 698, referer: https://webmail.example.net/imp/
> [Thu Nov 03 18:06:53 2011] [error] [client 38.104.167.66] PHP Fatal  
> error:  Allowed memory size of 134217728 bytes exhausted (tried to  
> allocate 64 bytes) in /usr/share/php/Horde/Date.php on line 1055,  
> referer:  
> https://webmail.example.net/login.php?horde_logout_token=TrLYKvGPlLzBE4nfF2NO4JSVSUZGs4nfF2NO4JSVSUZG6Zo6hB0&logout_reason=4
> [Thu Nov 03 18:07:25 2011] [error] [client 38.104.167.66] PHP Fatal  
> error:  Allowed memory size of 134217728 bytes exhausted (tried to  
> allocate 75 bytes) in /usr/share/php/Horde/Date.php on line 1054,  
> referer: https://webmail.example.net/imp/
> [Thu Nov 03 18:07:27 2011] [error] [client 38.104.167.66] PHP Fatal  
> error:  Allowed memory size of 134217728 bytes exhausted (tried to  
> allocate 75 bytes) in /usr/share/php/Horde/Date.php on line 1054,  
> referer: https://webmail.example.net/imp/

Well, the error message can't be clearer.

> 77.101.63.17 is the user testing, 38.104.167.66 is me.
>
>
> What more can I do?  The maillog shows no complaints from dovecot.
>
>
> Is there a way to clear the portal from the admin interface for one user?

No, you need to do it directly in the preference storage.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list