[horde] Missing required state object after update to 5.2

Andreas Mauser andreas at mauser.info
Thu Jul 10 16:51:47 UTC 2014


Am 10.07.2014 18:32, schrieb Michael J Rubinsky:
>
> Quoting Andreas Mauser <andreas at mauser.info>:
>
>> Am 10.07.2014 13:29, schrieb Andreas Mauser:
>>> Am 10.07.2014 13:06, schrieb Arjen de Korte:
>>>> Citeren Simon Wilson <simon at simonandkate.net>:
>>>>
>>>>> ----- Message from Andreas Mauser <andreas at mauser.info> ---------
>>>>>    Date: Thu, 10 Jul 2014 12:26:22 +0200
>>>>>    From: Andreas Mauser <andreas at mauser.info>
>>>>> Subject: Re: [horde] Missing required state object after update to
>>>>> 5.2
>>>>>      To: horde at lists.horde.org
>>>>>
>>>>>
>>>>>> Am 10.07.2014 11:50, schrieb Simon Wilson:
>>>>>>> ----- Message from Andreas Mauser <andreas at mauser.info> ---------
>>>>>>>   Date: Thu, 10 Jul 2014 11:27:41 +0200
>>>>>>>   From: Andreas Mauser <andreas at mauser.info>
>>>>>>> Subject: Re: [horde] Missing required state object after update
>>>>>>> to 5.2
>>>>>>>     To: horde at lists.horde.org
>>>>>>>
>>>>>>>
>>>>>>>> Am 10.07.2014 11:06, schrieb Arjen de Korte:
>>>>>>>>> Citeren Andreas Mauser <andreas at mauser.info>:
>>>>>>>>>
>>>>>>>>>> Am 10.07.2014 08:31, schrieb Andreas Mauser:
>>>>>>>>>>> Am 10.07.2014 01:31, schrieb Michael J Rubinsky:
>>>>>>>>>>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> after updating to Horde 5.2 I get error
>>>>>>>>>>>>>
>>>>>>>>>>>>> Message from syslogd at web at Jul 10 00:51:31 ...
>>>>>>>>>>>>> HORDE:[horde] Missing required state object [pid 1529 on line
>>>>>> 122 of
>>>>>>>>>>>>> "/usr/share/pear/Horde/ActiveSync/Driver/Base.php"]
>>>>>>>>>>>>>
>>>>>>>>>>>>> again and again each second in the log until I stop the
>>>>>>>>>>>>> webserver.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I read that installing the horde_frameworg 'again' should
>>>>>>>>>>>>> help, but
>>>>>>>>>>>>> didnt find out how to do that.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am not able to logon to Horde anymore. I get to the login
>>>>>>>>>>>>> window,
>>>>>>>>>>>>> enter name and password, but get error
>>>>>>>>>>>>>
>>>>>>>>>>>>> Connection to e-mail server failed
>>>>>>>>>>>>>
>>>>>>>>>>>>> and back to login screen again.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any idea how to fix that?
>>>>>>>>>>>> Are you sure you have the MOST recent pear packages? Some
>>>>>>>>>>>> updates
>>>>>> were
>>>>>>>>>>>> released somewhat quickly after the initial 5.2 releases.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>> I just did a pear upgrade-all and no more packeaged came
>>>>>> downloaded. So
>>>>>>>>>>> I assume its most recent packages
>>>>>>>>>>>
>>>>>>>>>>> Thank you,
>>>>>>>>>>> Andreas
>>>>>>>>>>>
>>>>>>>>>> I also tried to uninstall and install horde/activesync with no
>>>>>>>>>> success.
>>>>>>>>>> And since I cannot access the GUI anymore, maybe its only that
>>>>>>>>>> the DB
>>>>>>>>>> must be updated after the pear upgrade? Can I do that on the
>>>>>> console and
>>>>>>>>>> may it help?
>>>>>>>>> You can do this through the console with 'horde-db-migrate',
>>>>>>>>> but I'm
>>>>>>>>> not sure if this will fix things. What might be the problem,
>>>>>>>>> is that
>>>>>>>>> all (failing) ActiveSync connections are tying up your
>>>>>>>>> authentication
>>>>>>>>> backend and that you are no longer able to authenticate to Horde.
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Just tried that, no errors while horde-db-migrate.
>>>>>>>> After httpd restart the ActiveSync errors start again every
>>>>>>>> second..
>>>>>>>> still no GUI logon possible too.
>>>>>>>>
>>>>>>>> How could I fix the authentication backend? I tried
>>>>>>>> horde-clear-cache
>>>>>>>> and rebootet the server, with no success.
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>> Andreas
>>>>>>>> -- 
>>>>>>>> Horde mailing list
>>>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>>>> What happens if you manually disable ActiveSync to take it out
>>>>>>> of the
>>>>>> picture?
>>>>>>> horde/config/conf.php:
>>>>>>>
>>>>>>> $conf['activesync']['enabled'] = false;
>>>>>>>
>>>>>>> Simon
>>>>>>>
>>>>>> I did so. The specific error in the log is now gone, but login still
>>>>>> not
>>>>>> possible.
>>>>>> It still says connection to email server failed (Verbindung zum
>>>>>> E-Mail-Server fehlgeschlagen)
>>>>>>
>>>>>> Oh, just seen it now loads of other errors in the httpd access.log:
>>>>>>
>>>>>> idc916693566&DeviceType=Android HTTP/1.1" 200 - "-"
>>>>>> "Android/4.4.2-EAS-1.3"
>>>>>> 192.168.24.210 - andreas at mauser.info [10/Jul/2014:12:23:11 +0200]
>>>>>> "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=andreas%40mauser.info&DeviceId=androidc916693566&DeviceType=Android
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "Android/4.4.2-EAS-1.3"
>>>>>> 192.168.24.210 - andreas at mauser.info [10/Jul/2014:12:23:11 +0200]
>>>>>> "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=andreas%40mauser.info&DeviceId=androidc916693566&DeviceType=Android
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "Android/4.4.2-EAS-1.3"
>>>>>> 192.168.24.210 - andreas at mauser.info [10/Jul/2014:12:23:11 +0200]
>>>>>> "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=andreas%40mauser.info&DeviceId=androidc916693566&DeviceType=Android
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "Android/4.4.2-EAS-1.3"
>>>>>> 89.144.208.31 - franz at mauser.info [10/Jul/2014:12:23:11 +0200] "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Sync&User=franz%40mauser.info&DeviceId=SEC12C8D94D06D1E&DeviceType=SAMSUNGGTI9505
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "SAMSUNG-GT-I9505/101.40402"
>>>>>> 89.144.208.31 - franz at mauser.info [10/Jul/2014:12:23:11 +0200] "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Sync&User=franz%40mauser.info&DeviceId=SEC12C8D94D06D1E&DeviceType=SAMSUNGGTI9505
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "SAMSUNG-GT-I9505/101.40402"
>>>>>> 192.168.24.210 - andreas at mauser.info [10/Jul/2014:12:23:12 +0200]
>>>>>> "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=andreas%40mauser.info&DeviceId=androidc916693566&DeviceType=Android
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "Android/4.4.2-EAS-1.3"
>>>>>> 192.168.24.210 - andreas at mauser.info [10/Jul/2014:12:23:12 +0200]
>>>>>> "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=andreas%40mauser.info&DeviceId=androidc916693566&DeviceType=Android
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "Android/4.4.2-EAS-1.3"
>>>>>> 192.168.24.210 - andreas at mauser.info [10/Jul/2014:12:23:12 +0200]
>>>>>> "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=andreas%40mauser.info&DeviceId=androidc916693566&DeviceType=Android
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "Android/4.4.2-EAS-1.3"
>>>>>> 192.168.24.210 - andreas at mauser.info [10/Jul/2014:12:23:12 +0200]
>>>>>> "POST
>>>>>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=andreas%40mauser.info&DeviceId=androidc916693566&DeviceType=Android
>>>>>>
>>>>>>
>>>>>> HTTP/1.1" 200 - "-" "Android/4.4.2-EAS-1.3"
>>>>>> ^C
>>>>>> [root at web ~]#
>>>>> These are not errors, they are HTTP 200 which equals "OK".
>>>> Which means that the authentication backend must be working, otherwise
>>>> you wouldn't get a 200 reply. But at the same time, the number of
>>>> connections is way more than one would expect, so chances are that
>>>> these are tying up the authentication backend. You'll need to restart
>>>> your webserver to kill the existing connections and *then* try again
>>>> to login. Chances are, you will be able to access the configuration
>>>> page and fix the ActiveSync configuration that is causing these
>>>> problems.
>>>>
>>>>> Can you set the log level to debug in conf.php and try? See if it
>>>>> gets you some more info...
>>>>>
>>>>> Simon.
>>>>>
>>>>> -- 
>>>>> Simon Wilson
>>>>> M: 0400 12 11 16
>>>>
>>>>
>>>>
>>> I set DEBUG as log level but cannot see any additional errors.
>>> The sync was indeen unwanted from a client, anyway it didnt work.
>>> Now after reboot I have white page of death.
>>>
>>> Any help welcome, really.
>>> Andreas
>> Sorry did a mistake, and now fixed white page of death.
>>
>> Still no login possible at the GUI.
>>
>> Still error:
>>  HORDE:[horde] Missing required state object [pid 29386 on line 122 of
>> "/usr/share/pear/Horde/ActiveSync/Driver/Base.php"]
>>
>> Additional errors since Debug mode:
>>
>> 192.168.24.101 - - [10/Jul/2014:13:31:01 +0200] "GET
>> /mailoffice/static/b97e004acc1af226.css HTTP/1.1" 304 -
>> "https://mauser.info/mailoffice/login.php" "Mozilla/5.0 (X11; Linux
>> x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153
>> Safari/537.36"
>>
>> 192.168.24.101 - - [10/Jul/2014:13:31:01 +0200] "GET
>> /mailoffice/themes/default/graphics/horde-power1.png HTTP/1.1" 304 -
>> "https://mauser.info/mailoffice/login.php" "Mozilla/5.0 (X11; Linux
>> x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153
>> Safari/537.36"
>>
>> 192.168.24.101 - - [10/Jul/2014:13:31:06 +0200] "POST
>> /mailoffice/login.php HTTP/1.1" 200 6363
>> "https://mauser.info/mailoffice/login.php" "Mozilla/5.0 (X11; Linux
>> x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153
>> Safari/537.36"
>>
>> 192.168.24.101 - - [10/Jul/2014:13:31:06 +0200] "POST
>> /mailoffice/login.php HTTP/1.1" 200 6363
>> "https://mauser.info/mailoffice/login.php" "Mozilla/5.0 (X11; Linux
>> x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153
>> Safari/537.36"
>> ::1 - - [10/Jul/2014:13:31:07 +0200] "OPTIONS * HTTP/1.0" 200 - "-"
>> "Apache/2.4.9 (Fedora) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.5.14
>> (internal dummy connection)"
>
>
> Not sure what would be causing your more general, non-activesync
> related errors, but it sounds like you didn't read UPGRADING and
> update the configuration. More specifically, you are probably missing
> the required state and/or logging configuration. Try adding the
> following to conf.php:
>
> $conf['activesync']['params']['driverconfig'] = 'horde';
> $conf['activesync']['storage'] = 'Sql';
> $conf['activesync']['logging']['path'] = '/tmp';
> $conf['activesync']['logging']['level'] = '1';
> $conf['activesync']['logging']['type'] = 'perdevice';
>
>
>
>
>
SHame on. Upgrading went sooo smoothly in the past, but.. thats no excuse.

I added this into conf.php, restarted httpd, and tried to login at the
horde login page, which gave messages in access.log:

192.168.24.101 - - [10/Jul/2014:18:45:15 +0200] "POST
/mailoffice/login.php HTTP/1.1" 200 6360
"https://mauser.info/mailoffice/login.php" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153
Safari/537.36"
192.168.24.101 - - [10/Jul/2014:18:45:15 +0200] "POST
/mailoffice/login.php HTTP/1.1" 200 6360
"https://mauser.info/mailoffice/login.php" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153
Safari/537.36"

But on the login page it still says 'Connection to email server failed'.

No other errors in the logs, still unable to log in. I now read
UPGRADING and see no more options to add anywhere(?)

Thank you,
Andreas




More information about the horde mailing list