• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Horde failed login on line 211 login.php

Rob_Geelen

New Pleskian
Been searching here and everywhere to get my issue solved, but no luck so far. So posting it now.

I have a problem with webmail after I rebooted last night. The horde webmail page shows Login Failed when trying to login with a valid user/password combination.

I followed http://kb.odin.com/en/6781 to the letter, but no luck in finding the cause.

Currently installed are :
# rpm -qa | egrep 'psa-horde|psa-imp|psa-ingo|psa-kronolith|psa-mimp|psa-mnemo|psa-passwd|psa-turba'
psa-turba-4.1.3-cos6.build115131216.11.noarch
psa-kronolith-4.1.4-cos6.build115131216.11.noarch
psa-horde-5.1.5-cos6.build115131216.11.noarch
psa-mnemo-4.1.2-cos6.build115131216.11.noarch
psa-ingo-3.1.3-cos6.build115131216.11.noarch
psa-passwd-5.0.1-cos6.build115130916.13.noarch
psa-imp-6.1.6-cos6.build115131216.11.noarch

Turning on debugging does not really show me a real clue as to where the problem might be. Looks as if it may be related to cache, but I could not yet figure out where that problem would be.

-------------------------------------------------------
SELECT cache_data FROM horde_cache WHERE cache_id =
'228d761f5c32ab9717d4fa9bde7927c4' AND cache_timestamp >= 1428490564 [pid 21962 on line 558 of "/usr/share/psa-pear/pear/php/Horde/Db/Adapter/Base.php"]
2015-04-08T13:26:04+02:00 DEBUG: HORDE Cache miss: perm_sql_exists_2passwd (Id 228d761f5c32ab9717d4fa9bde7927c4 newer than 1428490564) [pid 21962 on line 123 of "/usr/share/psa-pear/pear/php/Horde/Cache/Storage/Sql.php"]
2015-04-08T13:26:04+02:00 DEBUG: HORDE SQL (0,0002s)
SELECT COUNT(*) FROM horde_perms WHERE perm_name = 'passwd' [pid 21962 on line 558 of "/usr/share/psa-pear/pear/php/Horde/Db/Adapter/Base.php"]
2015-04-08T13:26:04+02:00 DEBUG: HORDE Cache set: perm_sql_exists_2passwd (Id 228d761f5c32ab9717d4fa9bde7927c4 set at 1428492364 expires at 1428578764) [pid 21962 on line 150 of "/usr/share/psa-pear/pear/php/Horde/Cache/Storage/Sql.php"]
2015-04-08T13:26:04+02:00 DEBUG: HORDE SQL (0,0701s)
DELETE FROM horde_cache WHERE
cache_id='228d761f5c32ab9717d4fa9bde7927c4' [pid 21962 on line 558 of "/usr/share/psa-pear/pear/php/Horde/Db/Adapter/Base.php"]
2015-04-08T13:26:05+02:00 DEBUG: HORDE SQL (0,1835s)
INSERT INTO horde_cache (cache_id, cache_timestamp, cache_expiration,
cache_data) VALUES ('228d761f5c32ab9717d4fa9bde7927c4', 1428492364,
1428578764, '0') [pid 21962 on line 558 of "/usr/share/psa-pear/pear/php/Horde/Db/Adapter/Base.php"]
2015-04-08T13:26:05+02:00 ERR: HORDE [horde] FAILED LOGIN for [email protected] ([email protected]) [46.243.28.66] to Horde [pid 21962 on line 211 of "/usr/share/psa-horde/login.php"]
2015-04-08T13:26:05+02:00 DEBUG: HORDE [horde] Load config file (nls.php; app: horde) [pid 21962 on line 402 of "/usr/share/psa-pear/pear/php/Horde.php"]
2015-04-08T13:26:05+02:00 DEBUG: HORDE [horde] Aanmelding mislukt. [pid 21962 on line 27 of "/usr/share/psa-pear/pear/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
2015-04-08T13:26:05+02:00 DEBUG: HORDE [horde] SQL (0,0005s)
SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods,
alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal
FROM horde_alarms WHERE alarm_dismissed = 0 AND ((alarm_snooze IS NULL
AND alarm_start <= '2015-04-08T11:26:05') OR alarm_snooze <=
'2015-04-08T11:26:05') AND (alarm_end IS NULL OR alarm_end >=
'2015-04-08T11:26:05') AND (alarm_uid IS NULL OR alarm_uid = '' OR
alarm_uid = '') ORDER BY alarm_start, alarm_end [pid 21962 on line 558 of "/usr/share/psa-pear/pear/php/Horde/Db/Adapter/Base.php"]
2015-04-08T13:26:05+02:00 DEBUG: HORDE [horde] Load config file (motd.php; app: horde) [pid 21962 on line 402 of "/usr/share/psa-pear/pear/php/Horde.php"]
2015-04-08T13:26:05+02:00 DEBUG: HORDE [horde] Max memory usage: 8388608 bytes [pid 21962 on line 598 of "/usr/share/psa-pear/pear/php/Horde/Registry.php"]
--------------------------------------------------------------------------------

Some things I can recall having done the last few days.... (before rebooting):
- change php version from standard os (centos 6.6, php 5.3) to php 5.4(remi)
- installed roundcube using http://trac.roundcube.net/wiki/Howto_Install (NOTE: login works fine here !)
- setup change in horde config (resetpassword true, attachments true )

Any help would be greatly appreciated.
 
Additional info.
When setting session.use_cookies = 0, then all website (joomla) login pages donot work anymore. And this has been on 1 in the past when webmail login worked like a charm.
I have another identical server which is running just fine with the same software levels. Trying to match all settings now, but still no luck.
 
Back
Top