[horde] Error: No connection to server
Simon Brereton
simon.brereton at buongiorno.com
Fri Nov 4 14:28:26 UTC 2011
On 3 November 2011 14:39, Simon Brereton <simon.brereton at buongiorno.com> wrote:
> 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.
>
> 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/
>
> 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?
Trying to debug this further and wondering if it was the caching issue
that is associated with the could not generate email list error
everyone else is reporting, I logged in from Chrome - which gave this
error (Firefox just gives a blank page)..
Server error
The website encountered an error while retrieving
https://mymail.mpingwe.com/services/portal/index.php. It may be down
for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was
encountered while the server was attempting to fulfill the request.
Still the horde.log only shows:
2011-11-04T14:16:30+00:00 NOTICE: HORDE4 [horde] Login success for
pj at mpingwe.com [38.104.167.66] to horde. [pid 1730 on line 153 of
"/usr/share/horde4/login.php"]
2011-11-04T14:16:30+00:00 NOTICE: HORDE4 [imp] Login success for
pj at mpingwe.com (Horde user pj at example.com) [38.104.167.66] to
{localhost:143 [imap]} [pid 1730 on line 176 of
"/usr/share/horde4/imp/lib/Auth.php"]
2011-11-04T14:16:31+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
index: from [pid 1730 on line 394 of
"/usr/share/horde4/lib/Block/Metar.php"]
2011-11-04T14:16:31+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
index: to [pid 1730 on line 394 of
"/usr/share/horde4/lib/Block/Metar.php"]
2011-11-04T14:16:32+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
index: params [pid 1730 on line 36 of
"/usr/share/horde4/lib/Block/Account.php"]
There is NO error in the apache error logs though.
I'm still not convinced this is actually a Horde problem - for the
moment it's confined to one user - but I'm stuck on how to
troubleshoot this further.
Simon
More information about the horde
mailing list