我正在尝试在 LTSP 客户端上使用 Evolution 设置黑莓同步。它在服务器上工作。
我在服务器上使用 Ubuntu 10.04 64 位,以下是我为使服务器正常工作所遵循的说明:
- 安装所需的同步包
$ sudo apt-get install libopensync0 multisync-tools libbarry0 opensync-plugin-evolution opensync-plugin-barry $ msynctool --addgroup BB $ msynctool --addmember BB barry-sync $ msynctool --addmember BB evo2-sync $ msynctool --showgroup BB
- 在手机上找到 PIN 码并将其输入到配置中
$ msynctool -- 配置 BB 1
- 同步
$ msynctool --sync BB
这一切都有效,但这并不好,因为用户登录到他们的瘦客户端而不是服务器。
在客户端上运行相同的步骤我收到错误::同步组“BBtofile”:无法连接:同步时出错:无法打开 fifo
起初我以为这是 USB 问题,因为我将设备插入客户端并使用服务器端程序。所以我将以下内容安装到我的瘦客户端映像中,重建它并重新启动客户端:
$ sudo apt-get install libopensync0 multisync-tools libbarry0
opensync-plugin-evolution opensync-plugin-barry barry-util multisync0.90
在重新启动后的客户端上,我尝试了以下命令
$ ltsp-localapps xterm
在 xterm 内
$ msynctool --sync BB
我犯了同样的错误!
所以我尝试了 btool
$ btool -M
btool 显示来自黑莓的 ContactLdif 映射信息,因此它可以看到设备。
如果我拔下设备并输入 btool -M 它会告诉我“未找到设备”
这是我在客户端上尝试同步时得到的两个调试日志:
线程3078059712-6396.log
...
[1327296051.50333] >>>>>>> osync_member_load(0x9ea8480,
/home/dean/.opensync-0.22/group2/2, 0xbfb7c50c)
[1327296051.52517] <<<<<<< osync_member_load: Loaded member: 0x9e9d298
[1327296051.53929] <<<<<<< osync_group_load
[1327296051.55233] +++++++++ This is the client #1 (barry-sync
plugin) of group test
[1327296051.56548] >>>>>>>
osync_queue_new(/home/dean/.opensync-0.22/group2/1/pluginpipe, 0xbfb7c50c)
[1327296051.57914] <<<<<<< osync_queue_new: 0x9e9cda0
[1327296051.60535] <--- ERROR --- main: Unable to connect
线程3079096000-6395.log
...
osync_queue_new(/home/dean/.opensync-0.22/group2/2/enginepipe, 0xbf8bdd08)
[1327296050.887129] <<<<<<< osync_queue_new: 0x84250c8
[1327296050.888562] <<<<<<< osync_client_new: 0x8424dc8
[1327296050.890041] >>>>>>> osengine_mappingtable_new(0x8424500)
[1327296050.891511] osengine_mappingview_new(0x8425508)
[1327296050.892941] osengine_mappingview_new(0x8424a78)
[1327296050.894376] <<<<<<< osengine_mappingtable_new: 0x8425678
[1327296050.895807] <<<<<<< osengine_new: 0x8424500
[1327296050.897254] >>>>>>> osengine_init(0x8424500, 0xbf8bdd08)
[1327296050.898717] >>>>>>> osync_group_lock(0x8420268)
[1327296050.900192] [GRP] FULL DEBUG: locking file
/home/dean/.opensync-0.22/group2/lock
[1327296050.904136] [GRP] FULL DEBUG: Successfully locked
[1327296050.905556] <<<<<<< osync_group_lock: OSYNC_LOCK_OK
[1327296050.906992] Spawning clients
[1327296050.909177] >>>>>>> osync_client_spawn(0x84255e0, 0x8424500,
0xbf8bdd08)
[1327296050.918226] Waiting for other side to create fifo
[1327296051.921123] Waiting for other side to create fifo
[1327296052.924263] Waiting for other side to create fifo
[1327296053.927407] Waiting for other side to create fifo
[1327296054.930439] Waiting for other side to create fifo
[1327296055.933628] Waiting for other side to create fifo
[1327296056.936901] Queue was created
*[1327296056.944148] <--- ERROR --- osync_client_spawn: Unable to open fifo
*[1327296056.945649] [GRP] FULL DEBUG: unlocking group test
[1327296056.947855] <--- ERROR --- osengine_init: Unable to open fifo
[1327296056.949077] >>>>>>> osengine_free(0x8424500)
[1327296056.950923] >>>>>>> osync_client_free(0x84255e0)
[1327296056.952270] >>>>>>> osync_queue_free(0x8424a28)
[1327296056.953582] <<<<<<< osync_queue_free
[1327296056.954644] >>>>>>> osync_queue_free(0x8424bc8)
[1327296056.956703] <<<<<<< osync_queue_free
[1327296056.958002] <<<<<<< osync_client_free
[1327296056.959311] >>>>>>> osync_client_free(0x8424dc8)
[1327296056.960621] >>>>>>> osync_queue_free(0x8424f28)
[1327296056.961947] <<<<<<< osync_queue_free
[1327296056.963243] >>>>>>> osync_queue_free(0x84250c8)
[1327296056.964282] <<<<<<< osync_queue_free
[1327296056.965580] <<<<<<< osync_client_free
[1327296056.966891] >>>>>>> osengine_mappingtable_free(0x8425678)
[1327296056.968179] Free mappings
[1327296056.969471] Free unmapped
[1327296056.970866] osengine_mappingview_free(0x8425508)
[1327296056.972018] osengine_mappingview_free(0x8424a78)
[1327296056.973320] <<<<<<< osengine_mappingtable_free
[1327296056.974651] <<<<<<< osengine_free
[1327296056.975972] >>>>>>> osync_env_finalize(0x841d008, 0xbf8be19c)
[1327296056.977317] osync_plugin_free(0x84299e0)
[1327296056.978690] osync_plugin_free(0x8435ce8)
[1327296056.980100] osync_plugin_free(0x8436540)
[1327296056.981443] osync_module_unload(0x841d008, 0x84298c0)
[1327296056.982661] osync_module_unload(0x841d008, 0x8429840)
[1327296056.983849] osync_module_unload(0x841d008, 0x8436120)
[1327296056.984954] osync_module_unload(0x841d008, 0x8436a20)
[1327296056.986264] osync_module_unload(0x841d008, 0x8436c98)
[1327296056.987456] osync_module_unload(0x841d008, 0x8437160)
[1327296056.988763] osync_module_unload(0x841d008, 0x8437708)
[1327296056.990114] osync_module_unload(0x841d008, 0x8437f20)
[1327296056.991470] osync_module_unload(0x841d008, 0x8437f60)
[1327296056.992781] osync_module_unload(0x841d008, 0x8438a90)
[1327296056.994129] osync_module_unload(0x841d008, 0x84397c8)
[1327296056.995480] osync_module_unload(0x841d008, 0x8439d60)
[1327296056.996832] osync_module_unload(0x841d008, 0x843a398)
[1327296056.998142] osync_module_unload(0x841d008, 0x843a3e0)
[1327296056.999456] osync_module_unload(0x841d008, 0x843a8a8)
[1327296057.869] <<<<<<< osync_env_finalize
所以我很接近,但我不知道为什么我不能让同步工作。