|
From: Anil <rep...@gm...> - 2008-01-09 04:28:59
|
I am just playing with this for the first time. Do you guys see
anything wrong with this configuration?
Also, anyone have any problems building opensync on Solaris? For some
reason the "cmake -DCMAKE_INSTALL_PREFIX=/usr/local" commands did not
recognize the prefix and it wanted to install things in /lib, /share
etc. I had to go hack the cmake_install files.
vds5@vds5:~% msynctool --discover bb
Segmentation Fault (core dumped)
vds5@vds5:~% pstack core
core 'core' of 20563: msynctool --discover bb
----------------- lwp# 1 / thread# 1 --------------------
fed749ab __lwp_park (8068338, fef364bc, 8047b80) + b
fed6f172 cond_wait_queue (8068338, fef364bc, 8047b80, 0) + 3b
fed6f512 cond_wait_common (8068338, fef364bc, 8047b80) + 1df
fed6f746 _cond_timedwait (8068338, fef364bc, 8047be4) + 51
fed6f7b1 cond_timedwait (8068338, fef364bc, 8047be4) + 24
fed6f7ed pthread_cond_timedwait (8068338, fef364bc, 8047be4) + 1e
fee01217 ???????? (fee010c8, fed6e8db, fee01050, fee01142, fed6f8c1, fed6fab0)
fed6e40c mutex_lock (815b0000, 11adfc3, 8ec8300, 2ee8186a, 83fffffd, f08b08c4)
0000e808 ???????? ()
----------------- lwp# 4 / thread# 4 --------------------
fed75387 __pollsys (8068798, 1, fe21bf20, 0) + 7
fed1e94a poll (8068798, 1, 1) + 52
feec3132 ???????? (fee010c8, fed6e8db, fee01050, fee01142, fed6f8c1, fed6fab0)
fed6e40c mutex_lock (815b0000, 11adfc3, 8ec8300, 2ee8186a, 83fffffd, f08b08c4)
0000e808 ???????? ()
----------------- lwp# 5 / thread# 5 --------------------
fed75387 __pollsys (fe10fdf0, 1, fe10fdd0, 0) + 7
fed1e94a poll (fe10fdf0, 1, 64, fef363e8) + 52
fef70284 osync_queue_poll (8070618, 0, fef363e8, fef70303, fef35748,
fe000000) + 3c
fef703e7 _source_check (8071650, 80770d0, 0, 80770d0) + fb
fef705f1 _source_dispatch (8071650, 0, 8070618) + 151
feec1a86 ???????? (feec0867, 0, feec4e92, feec4ea0, feec4ea6, 0)
feec0827 ???????? (8ec8356, e8, c3815b00, 74f17, 1424748b, 8948068b)
53c300ff ???????? ()
----------------- lwp# 6 / thread# 6 --------------------
fed75387 __pollsys (80687d8, 1, fdffdf20, 0) + 7
fed1e94a poll (80687d8, 1, 1) + 52
feec3132 ???????? (fee010c8, fed6e8db, fee01050, fee01142, fed6f8c1, fed6fab0)
fed6e40c mutex_lock (815b0000, 11adfc3, 8ec8300, 2ee8186a, 83fffffd, f08b08c4)
0000e808 ???????? ()
----------------- lwp# 7 / thread# 7 --------------------
feeee650 ???????? (0, fdefdbb4, fe5a648c, fdefdc6c, fed9e000, fe000800)
feeefbd7 ???????? (fdefde48, 1, fe5a648c, fdefdc6c)
fef50b4f osync_error_set (fdefde48, 1, fe5a648c, 0) + 23
fe5a2d68 syncml_config_parse_database (fdefde48, fe5a634f, 807a2c8,
fee01472) + 194
fe5a4c4b syncml_http_server_init (8079538, 807a1f8, fdefde48, 1) + 6e7
fef7766b osync_plugin_initialize (8079538, 807a1f8, fdefde48,
80710a0, 0, 0) + 23
fef5530c _osync_client_handle_initialize (fdefde48, fef81098, c,
fef86bfb) + 204
fef5620f _osync_client_message_handler (80770d0, 80710a0, fef7e6c0,
8070618, 0, fef363e8) + 883
fef6f1cd _incoming_dispatch (8073880, 0, 8070618) + 191
feec1a86 ???????? (feec0867, 0, feec4e92, feec4ea0, feec4ea6, 0)
feec0827 ???????? (8ec8356, e8, c3815b00, 74f17, 1424748b, 8948068b)
53c300ff ???????? ()
----------------- lwp# 8 / thread# 8 --------------------
fed75387 __pollsys (fddfde80, 1, fddfde60, 0) + 7
fed1e94a poll (fddfde80, 1, 64, 806efe8) + 52
fef70284 osync_queue_poll (8070f68, 0, feea1851, fef70303, 0, 0) + 3c
fef703e7 _source_check (80751c0, 1, feec2881) + fb
feec2a33 g_main_context_check (8458b1c, 8b34408b, e84c50, 5b000000,
71d1c381, d2850002) + 1be
ec835356 ???????? ()
----------------- lwp# 9 / thread# 9 --------------------
fed75387 __pollsys (8068808, 1, fdcfdf20, 0) + 7
fed1e94a poll (8068808, 1, 1) + 52
feec3132 ???????? (fee010c8, fed6e8db, fee01050, fee01142, fed6f8c1, fed6fab0)
fed6e40c mutex_lock (815b0000, 11adfc3, 8ec8300, 2ee8186a, 83fffffd, f08b08c4)
0000e808 ???????? ()
vds5@vds5:~%
vds5@vds5:~% msynctool --showgroup bb
Group: bb
Member 2: syncml-http-server
Configuration : <?xml version="1.0"?>
<config>
<!-- username to use. Leave empty to not require a username -->
<username></username>
<!-- the password for the username -->
<password></password>
<!-- The url that you want the server to listen on. This has to be
set on the mobile as well. example: "/" -->
<url></url>
<!-- The port where to listen. This has to be set on the mobile as well. -->
<port>8080</port>
<!-- If wbxml is enabled, defines wether the wbxml should use string
tables -->
<usestringtable>0</usestringtable>
<!-- Never send ADD command, but send REPLACE (not needed normally) -->
<onlyreplace>0</onlyreplace>
<!-- Workaround around for mobile phones which only use local
timestamps and _no_ UTC timestamps! -->
<onlyLocaltime>0</onlyLocaltime>
<!-- Sets the maximum allowed size in bytes of incoming messages
(some device need this option set). Example: 10000 -->
<recvLimit>0</recvLimit>
<maxObjSize>0</maxObjSize>
<!-- Contact database -->
<database>
<name>Contacts</name>
<objtype>contact</objtype>
</database>
<!-- Calendar database -->
<database>
<name>Calendar</name>
<objtype>event</objtype>
</database>
<!-- Note database -->
<!--
<database>
<name>Notes</name>
<objtype>note</objtype>
</database>
-->
</config>
Member 1: file-sync
Configuration : <?xml version="1.0"?>
<config>
<directory>
<path>/home/vds5/sync1</path>
<objtype>data</objtype>
</directory>
<!--
Field objformat set the object format which should be used to store.
objformat is optional - by default objformat is "file".
-->
<directory>
<path>/home/vds5/sync1</path>
<objtype>contact</objtype>
<objformat>vcard30</objformat>
</directory>
<directory>
<path>/home/vds5/sync1</path>
<objtype>event</objtype>
<objformat>vevent20</objformat>
</directory>
</config>
|