z-push and N900 Mail for Exchange

Alain abbas alain.abbas at libertech.fr
Sun Feb 21 03:15:26 CET 2010


z-push must write his state at each sync in the dir kolabsync and the 
state folder too
that is why theses folders must be owned by the same user that apache run

i coorected the wiki :-)

good night
 

.
Alexander Schröter a écrit :
> Yes that did the trick. Maybe you can correct me if I am wrong but the 
> state folder should be kolab-n:kolab-n too, right?
>
> Regarding the wiki ... I think I will rewrite a part because I think the 
> way it is now the files in z-push never get change to be owned by kolab.
>
> Thanks for the syning seems to work fine.
> Thanks to all!
>
> Am 21.02.2010 02:58, schrieb Alain abbas:
>   
>> seems to have a litle bug in the documentation
>> Apache run with kolab-n user and not kolab-r
>> verify that on your server with
>>
>> #ps aux
>> kolab-n   4358  0.0  0.3  52268 11492 ?        S    Feb17   0:00 
>> /kolab/sbin/apache
>> kolab-n   4359  0.0  0.3  52268 11476 ?        S    Feb17   0:00 
>> /kolab/sbin/apache
>> kolab-n   4360  0.0  0.3  52268 11476 ?        S    Feb17   0:00 
>> /kolab/sbin/apache
>> kolab-n   4361  0.0  0.3  52268 11476 ?        S    Feb17   0:00 
>> /kolab/sbin/apache
>> kolab-n   4362  0.0  0.3  52268 11476 ?        S    Feb17   0:00 
>> /kolab/sbin/apache
>>
>> and
>> chown -R kolab-n:kolab-n kolabindex
>>
>> confirm that it s run like that i will correct the documentation
>>
>> Regards
>>
>>
>> Alexander Schröter a écrit :
>>     
>>> Well after starting over, I am now one step further. I probably just 
>>> missed a file or didn't have the propper rights. Whatever I created 
>>> them and now I get this, but nothing happens :(
>>>
>>> cat debug.txt
>>>
>>>     02/20/10 23:15:25 [24834] Start
>>>     02/20/10 23:15:25 [24834] Z-Push version: 1.2.3 RC
>>>     02/20/10 23:15:25 [24834] Client IP: 85.180.139.84
>>>     02/20/10 23:15:25 [24834] Client supports version 2.5
>>>     02/20/10 23:15:25 [24834] POST cmd: FolderSync
>>>     02/20/10 23:15:25 [24834] Initializing folder diff engine
>>>     02/20/10 23:15:25 [24834]
>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1773 Undefined
>>>     variable: anno (8)
>>>     02/20/10 23:15:25 [24834]
>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1782 Undefined
>>>     variable: anno (8)
>>>     02/20/10 23:15:25 [24834] Found 5 folder changes
>>>     02/20/10 23:15:25 [24834] VCDir::GetFolder(INBOX.Contacts)
>>>     02/20/10 23:15:25 [24834] VCDir::GetFolder(INBOX.Contacts)
>>>     02/20/10 23:15:25 [24834] VCDir::GetFolder(INBOX.Calendar)
>>>     02/20/10 23:15:25 [24834] VCDir::GetFolder(INBOX.Calendar)
>>>     02/20/10 23:15:25 [24834] IMAP-errors: SECURITY PROBLEM: insecure
>>>     server advertised AUTH=PLAIN
>>>     02/20/10 23:15:25 [24834] IMAP connection closed
>>>     02/20/10 23:15:25 [24834] end
>>>     02/20/10 23:15:25 [24834] --------
>>>
>>>
>>>
>>> Am 20.02.2010 22:59, schrieb Alexander Schröter:
>>>       
>>>> Hi I had some success with the z-push setup but now I am stuck :(
>>>>
>>>>
>>>> I created the debug.txt file and you can see the output below. I 
>>>> allready tried creating the files, which seemed to help some. The 
>>>> log file specified in config-kolab.php doesn't tell much.
>>>>
>>>> cat config-kolab.php
>>>>
>>>>     02/20/10 22:50:02 [24835] :  : IMAP connection opened sucessfully
>>>>     user : me at alexanderschroeter.net Mobile ID:
>>>>     02/20/10 22:50:02 [24835] : me at alexanderschroeter.net : Setup : 
>>>>     Mobile ID :356938031394910 Proto Version : 2.5
>>>>     02/20/10 22:50:02 [24835] : me at alexanderschroeter.net :
>>>>     GetAnnotation INBOX/Tasks : task.default
>>>>     02/20/10 22:50:02 [24835] : me at alexanderschroeter.net :
>>>>     GetAnnotation INBOX/Notes : note.default
>>>>     02/20/10 22:50:02 [24835] : me at alexanderschroeter.net :
>>>>     GetAnnotation INBOX/Contacts : contact.default
>>>>     02/20/10 22:50:02 [24835] : me at alexanderschroeter.net :
>>>>     GetAnnotation INBOX/Calendar : event.default
>>>>     02/20/10 22:50:02 [24835] : me at alexanderschroeter.net :
>>>>     GetAnnotation INBOX :
>>>>     02/20/10 22:50:02 [24835] : me at alexanderschroeter.net : IMAP
>>>>     connection closed
>>>>
>>>>  cat debug.txt:
>>>>
>>>>     02/20/10 22:50:02 [24835] Start
>>>>     02/20/10 22:50:02 [24835] Z-Push version: 1.2.3 RC
>>>>     02/20/10 22:50:02 [24835] Client IP: 85.180.139.84
>>>>     02/20/10 22:50:02 [24835] Client supports version 2.5
>>>>     02/20/10 22:50:02 [24835] POST cmd: FolderSync
>>>>     02/20/10 22:50:02 [24835] Initializing folder diff engine
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1820
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.tasks)
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1825
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_task.default) 
>>>>
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.tasks)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1820
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.notes)
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1825
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_note.default) 
>>>>
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.notes)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1820
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.contacts) 
>>>>
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1825
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_contact.default) 
>>>>
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.contacts) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1820
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.calendar) 
>>>>
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1825
>>>>     
>>>> file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_event.default) 
>>>>
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.calendar) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1773 Undefined
>>>>     variable: anno (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1782 Undefined
>>>>     variable: anno (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1820
>>>>     file_put_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox)
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835] Found 5 folder changes
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.tasks)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.tasks)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.tasks)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.tasks)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.notes)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.notes)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.notes)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.notes)
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.contacts) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.contacts) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.contacts) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.contacts) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.calendar) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.calendar) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.calendar) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1831
>>>>     
>>>> file_get_contents(kolabindex/tmp/me at alexanderschroeter.net_inbox.calendar) 
>>>>
>>>>     [<a
>>>>     href='function.file-get-contents'>function.file-get-contents</a>]:
>>>>     failed to open stream: No such file or directory (2)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/backend/kolab.php:1833 Undefined
>>>>     offset:  1 (8)
>>>>     02/20/10 22:50:02 [24835]
>>>>     /home/kolab/var/kolab/www/z-push/statemachine.php:103
>>>>     
>>>> file_put_contents(/kolab/var/kolab/www/z-push/state/{b19cf908-a62e-44e8-9d44-b79521a2dae5}30) 
>>>>
>>>>     [<a
>>>>     href='function.file-put-contents'>function.file-put-contents</a>]:
>>>>     failed to open stream: Permission denied (2)
>>>>     02/20/10 22:50:02 [24835] IMAP-errors: SECURITY PROBLEM: insecure
>>>>     server advertised AUTH=PLAIN
>>>>     02/20/10 22:50:02 [24835] IMAP connection closed
>>>>     02/20/10 22:50:02 [24835] end
>>>>     02/20/10 22:50:02 [24835] --------
>>>>
>>>> Thanks again.
>>>>
>>>>
>>>> _______________________________________________
>>>> Kolab-users mailing list
>>>> Kolab-users at kolab.org
>>>> https://kolab.org/mailman/listinfo/kolab-users
>>>>         
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Kolab-users mailing list
>>> Kolab-users at kolab.org
>>> https://kolab.org/mailman/listinfo/kolab-users
>>>       
>>     
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>   




More information about the users mailing list