From: Armin B. <arm...@de...> - 2005-08-05 09:18:51
|
Hi, The 3. file has only this line: [1123148642.906085] +++++++++ This is the client #2 (syncml-http-server plugin) of group nokia +++++++++ This means that the phone did not connect at all. There can be various reasons for this: - a firewall might block incoming packets - the server might listen on the wrong port - libsoup (the http library) has some problem with some devices (especially newer symbian devices) to be able to tell what went wrong please do: - "netstat -npa | grep msynctool" while the msynctool is running to see if it is listening on the correct port - please send me a ethereal dump of the connection so i can see if it is the libsoup problem Thanks! Armin David Verstraeten wrote: > Hi, > > That did the trick, thanks! However, syncing still seems to be a problem. The > phone connects, but immediately exits saying : > System Error! > > I started the syncml-server using 'msynctool --sync nokia --wait'. > > Some more info: > dvrstrae@louis ~ $ cat ~/.opensync/group1/2/syncml-http-server.conf > <config><username>test</username><password>test</password><url>/test</url><po > rt>9999</port></config> > > I used the same settings on my nokia 6600. > > The tracefiles generated by opensync are attached. > > Any help is greatly appreciated, and thanks for the nice work so far. > > Regards, > > David > > On Thursday 04 August 2005 09:50, Armin Bauer wrote: > >>Hi, >> >>looks like a old version of opensync. Is opensync from subversion? >> >>I added some new apis to opensync to be able to support the syncml >>plugin correctly. Looks like these are missing from the version you are >>using. >> >>Its a good idea anyways to use the subversion version so you can just do >>svn up once i upload fixes for problems that occure while we beta test >>the syncml plugin. >> >>Armin >> >>David Verstraeten wrote: >> >>>---------- Forwarded Message ---------- >>> >>>Subject: Failed build of syncml plugin >>>Date: Thursday 04 August 2005 09:08 >>>From: David Verstraeten <dav...@el...> >>>To: ope...@li... >>> >>>Hi, >>> >>>i'm trying to get the syncml plugin to build, but I get this: >>> >>>syncml_plugin.c: In function `syncml_http_server_init': >>>syncml_plugin.c:275: warning: implicit declaration of function >>>`osync_try_malloc0' >>>syncml_plugin.c:275: warning: initialization makes pointer from integer >>>without a cast >>>syncml_plugin.c:291: warning: implicit declaration of function >>>`osync_member_get_loop' >>>syncml_plugin.c:291: warning: assignment makes pointer from integer >>>without a cast >>>syncml_plugin.c: In function `get_changeinfo': >>>syncml_plugin.c:385: warning: implicit declaration of function >>>`osync_anchor_retrieve' >>>syncml_plugin.c:385: warning: initialization makes pointer from integer >>>without a cast >>>syncml_plugin.c: In function `batch_commit': >>>syncml_plugin.c:446: warning: initialization makes pointer from integer >>>without a cast >>>syncml_plugin.c: In function `get_info': >>>syncml_plugin.c:521: warning: passing arg 4 of >>>`osync_plugin_set_batch_commit_objformat' from incompatible pointer type >>> >>>I run a Gentoo system. As far as I know, libsoup, libsyncml and opensync >>>are all installed correctly. >>> >>>Any ideas what might be causing this? >>> >>>Thanks, >>> >>>David >>> >>>-- >>>http://www.elis.ugent.be/~dvrstrae >>>PARIS-ELIS >>>Sint-Pietersnieuwstraat 41 >>>9000 Gent >>>Tel.: +32 9 264 34 04 >>>Fax.: +32 9 264 35 94 >>> >>>------------------------------------------------------- >>> >>>-- >>>http://www.elis.ugent.be/~dvrstrae >>>PARIS-ELIS >>>Sint-Pietersnieuwstraat 41 >>>9000 Gent >>>Tel.: +32 9 264 34 04 >>>Fax.: +32 9 264 35 94 >>> >>>------------------------------------------------------- > > > -- > http://www.elis.ugent.be/~dvrstrae > PARIS-ELIS > Sint-Pietersnieuwstraat 41 > 9000 Gent > Tel.: +32 9 264 34 04 > Fax.: +32 9 264 35 94 > > ------------------------------------------------------- > > > > ------------------------------------------------------------------------ > > [1123148641.661864] >>>>>>> osync_env_initialize(0x804e050, 0xbfffe998) > [1123148641.662153] >>>>>>> osync_env_load_plugins(0x804e050, (null), 0xbfffe998) > [1123148641.662256] >>>>>>> osync_module_load_dir(0x804e050, /usr/local/lib/opensync/plugins, 0xbfffe998) > [1123148641.662425] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/plugins/kdepim_sync.so, 0xbfffe8d4) > [1123148641.667885] osync_plugin_new_info(0x804e050): 0x8051780 > [1123148641.668107] <<<<<<< osync_module_load: 0x8050eb8 > [1123148641.668268] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/plugins/syncml_plugin.so, 0xbfffe8d4) > [1123148641.679044] osync_plugin_new_info(0x804e050): 0x8053dd8 > [1123148641.679305] <<<<<<< osync_module_load: 0x8050e48 > [1123148641.679444] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/plugins/kdepim_lib.so, 0xbfffe8d4) > [1123148642.461977] <--- ERROR --- osync_module_load: Unable to get symbol from module /usr/local/lib/opensync/plugins/kdepim_lib.so: `get_info': /usr/local/lib/opensync/plugins/kdepim_lib.so: undefined symbol: get_info > [1123148642.462253] [OSPLG] ERROR: Unable to load plugin /usr/local/lib/opensync/plugins/kdepim_lib.so: Unable to get symbol from module /usr/local/lib/opensync/plugins/kdepim_lib.so: `get_info': /usr/local/lib/opensync/plugins/kdepim_lib.so: undefined symbol: get_info > [1123148642.462392] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/plugins/evo2_sync.so, 0xbfffe8d4) > [1123148642.667146] osync_plugin_new_info(0x804e050): 0x80696b8 > [1123148642.667415] <<<<<<< osync_module_load: 0x80696a0 > [1123148642.667561] <<<<<<< osync_module_load_dir > [1123148642.667678] <<<<<<< osync_env_load_plugins > [1123148642.667792] >>>>>>> osync_env_load_formats(0x804e050, (null), 0xbfffe998) > [1123148642.667896] >>>>>>> osync_module_load_dir(0x804e050, /usr/local/lib/opensync/formats, 0xbfffe998) > [1123148642.668059] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/data.so, 0xbfffe8d4) > [1123148642.668473] osync_env_format_set_compare_func(0x804e050, plain, 0xb7f94810) > [1123148642.668583] <<<<<<< osync_module_load: 0x804f6b0 > [1123148642.668746] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/xml-kde.so, 0xbfffe8d4) > [1123148642.670486] <<<<<<< osync_module_load: 0x8069d48 > [1123148642.670756] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/calendar.so, 0xbfffe8d4) > [1123148642.671138] <--- ERROR --- osync_module_load: Unable to open module /usr/local/lib/opensync/formats/calendar.so: /usr/local/lib/opensync/formats/calendar.so: undefined symbol: osync_conv_format_set_like > [1123148642.671255] [OSPLG] ERROR: Unable to load plugin /usr/local/lib/opensync/formats/calendar.so: Unable to open module /usr/local/lib/opensync/formats/calendar.so: /usr/local/lib/opensync/formats/calendar.so: undefined symbol: osync_conv_format_set_like > [1123148642.671386] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/xml-vnote.so, 0xbfffe8d4) > [1123148642.673812] osync_env_format_set_compare_func(0x804e050, xml-note, 0xb77adb50) > [1123148642.674080] <<<<<<< osync_module_load: 0x806a3b0 > [1123148642.674214] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/xml-evolution.so, 0xbfffe8d4) > [1123148642.676222] <<<<<<< osync_module_load: 0x804f680 > [1123148642.676487] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/contact.so, 0xbfffe8d4) > [1123148642.676901] osync_env_format_set_compare_func(0x804e050, vcard21, 0xb779ca90) > [1123148642.677023] osync_env_format_set_compare_func(0x804e050, vcard30, 0xb779ca90) > [1123148642.677149] <<<<<<< osync_module_load: 0x806adf8 > [1123148642.677281] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/xml-vcard.so, 0xbfffe8d4) > [1123148642.679278] osync_env_format_set_compare_func(0x804e050, xml-contact, 0xb64cc490) > [1123148642.679485] <<<<<<< osync_module_load: 0x806b138 > [1123148642.679540] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/todo.so, 0xbfffe8d4) > [1123148642.679894] osync_env_format_set_compare_func(0x804e050, vtodo10, 0xb64c5960) > [1123148642.679931] osync_env_format_set_compare_func(0x804e050, vtodo20, 0xb64c5960) > [1123148642.679960] <<<<<<< osync_module_load: 0x806b150 > [1123148642.680002] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/event.so, 0xbfffe8d4) > [1123148642.680193] osync_env_format_set_compare_func(0x804e050, vevent10, 0xb64c3960) > [1123148642.680226] osync_env_format_set_compare_func(0x804e050, vevent20, 0xb64c3960) > [1123148642.680254] <<<<<<< osync_module_load: 0x806c0e8 > [1123148642.680295] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/note.so, 0xbfffe8d4) > [1123148642.680486] osync_env_format_set_compare_func(0x804e050, vnote11, 0xb64c19d0) > [1123148642.680522] <<<<<<< osync_module_load: 0x806c658 > [1123148642.680564] >>>>>>> osync_module_load(0x804e050, /usr/local/lib/opensync/formats/xml-vcal.so, 0xbfffe8d4) > [1123148642.682827] osync_env_format_set_compare_func(0x804e050, xml-event, 0xb5f33900) > [1123148642.682917] osync_env_format_set_compare_func(0x804e050, xml-todo, 0xb5f339d0) > [1123148642.682951] <<<<<<< osync_module_load: 0x806cb30 > [1123148642.683009] <<<<<<< osync_module_load_dir > [1123148642.683037] <<<<<<< osync_env_load_formats > [1123148642.683959] [OSUSR] DEBUG: Detected User: > UID: 1000 > GID: 100 > Home: /home/dvrstrae > OSyncDir: /home/dvrstrae/.opensync > [1123148642.684066] >>>>>>> osync_group_load(0x804e050, /home/dvrstrae/.opensync/group1, 0xbfffe904) > [1123148642.684099] [OSGRP] DEBUG: Trying to load group from directory /home/dvrstrae/.opensync/group1 > [1123148642.684135] >>>>>>> osync_conv_env_new(0x804e050) > [1123148642.684193] New converter from vnote11 to xml-note > [1123148642.684219] New converter from xml-note to vnote11 > [1123148642.684245] New converter from vcard21 to xml-contact > [1123148642.684271] New converter from xml-contact to vcard21 > [1123148642.684296] New converter from vcard30 to xml-contact > [1123148642.684321] New converter from xml-contact to vcard30 > [1123148642.684346] New converter from vevent10 to xml-event > [1123148642.684371] New converter from xml-event to vevent10 > [1123148642.684397] New converter from vevent20 to xml-event > [1123148642.684422] New converter from xml-event to vevent20 > [1123148642.684447] New converter from vtodo10 to xml-todo > [1123148642.684472] New converter from xml-todo to vtodo10 > [1123148642.684497] New converter from vtodo20 to xml-todo > [1123148642.684522] New converter from xml-todo to vtodo20 > [1123148642.684574] <<<<<<< osync_conv_env_new: 0x806cfc8 > [1123148642.685323] >>>>>>> osync_member_load(0x806cf18, /home/dvrstrae/.opensync/group1/1, 0xbfffe904) > [1123148642.685501] <<<<<<< osync_member_load: Loaded member: 0x806e718 > [1123148642.685539] >>>>>>> osync_member_load(0x806cf18, /home/dvrstrae/.opensync/group1/2, 0xbfffe904) > [1123148642.685660] <<<<<<< osync_member_load: Loaded member: 0x806f580 > [1123148642.685709] <<<<<<< osync_group_load > [1123148642.685749] <<<<<<< osync_env_initialize > [1123148642.686072] >>>>>>> osengine_new(0x806cf18, 0xbfffe52c) > [1123148642.686180] [CLI] DEBUG: Creating new client 0x806fea0 > [1123148642.686235] [CLI] DEBUG: Creating new client 0x80703d0 > [1123148642.686279] >>>>>>> osengine_mappingtable_new(0x8075cf8) > [1123148642.686314] osengine_mappingview_new(0x806ff10) > [1123148642.686340] osengine_mappingview_new(0x80704b8) > [1123148642.686365] <<<<<<< osengine_mappingtable_new: 0x8070930 > [1123148642.686389] <<<<<<< osengine_new: 0x8075cf8 > [1123148642.686420] >>>>>>> osengine_init(0x8075cf8, 0xbfffe52c) > [1123148642.686446] >>>>>>> osync_group_lock(0x806cf18) > [1123148642.686473] [GRP] FULL DEBUG: locking file /home/dvrstrae/.opensync/group1/lock > [1123148642.686502] [GRP] FULL DEBUG: locking group: file exists > [1123148642.686546] [GRP] FULL DEBUG: Successfully locked > [1123148642.686571] <<<<<<< osync_group_lock: OSYNC_LOCK_STALE > [1123148642.686671] [ENG] WARNING: Detected stale lock file. Slow-syncing > [1123148642.686701] >>>>>>> osync_status_update_engine(0x8075cf8, 7, (nil)) > [1123148642.686837] <<<<<<< osync_status_update_engine > [1123148642.686898] [ENG] FULL DEBUG: Sending message 0x8070950:"ENGINE_CHANGED" > [1123148642.686936] >>>>>>> osync_client_init(0x806fea0, 0xbfffe52c) > [1123148642.686966] osync_member_set_loop: 0x806e718 0x8070008 > [1123148642.686993] >>>>>>> osync_member_initialize(0x806e718, 0xbfffe52c) > [1123148642.687027] [OSMEM] DEBUG: Instancing plugin kdepim for member 1 > [1123148642.687073] [kde] DEBUG: kde_initialize > [1123148642.687100] [kde] DEBUG: Loading implementation module > [1123148642.687154] [kde] DEBUG: Getting initialization function > [1123148642.687186] [kde] DEBUG: Initializing implementation module > [1123148642.687214] >>>>>>> init(0xbfffe52c) > [1123148642.903108] <<<<<<< init > [1123148642.903192] <<<<<<< osync_member_initialize > [1123148642.903244] Waiting for startup > [1123148642.903812] startup done! > [1123148642.903840] <<<<<<< osync_client_init > [1123148642.903866] >>>>>>> osync_client_init(0x80703d0, 0xbfffe52c) > [1123148642.903897] osync_member_set_loop: 0x806f580 0x8070520 > [1123148642.903924] >>>>>>> osync_member_initialize(0x806f580, 0xbfffe52c) > [1123148642.903958] [OSMEM] DEBUG: Instancing plugin syncml-http-server for member 2 > [1123148642.903998] >>>>>>> syncml_http_server_init(0x806f580, 0xbfffe52c) > [1123148642.904037] >>>>>>> osync_member_get_config(0x806f580, 0xbfffe3d8, 0xbfffe3dc, 0xbfffe52c) > [1123148642.904067] >>>>>>> osync_member_read_config(0x806f580, 0xbfffe3d8, 0xbfffe3dc, 0xbfffe52c) > [1123148642.904125] <<<<<<< osync_member_read_config: TRUE > [1123148642.904158] <<<<<<< osync_member_get_config: 1 > [1123148642.904189] >>>>>>> smlTransportNew(0, 0xbfffe3d4) > [1123148642.904225] <<<<<<< smlTransportNew > [1123148642.904254] >>>>>>> syncml_http_server_parse_config(0x81881e0, 0xbfffe3e0, 0x818d408, 101, 0xbfffe52c) > [1123148642.904376] <<<<<<< syncml_http_server_parse_config > [1123148642.904406] osync_member_get_loop: 0x806f580 0x8070520 > [1123148642.904434] >>>>>>> smlTransportInitialize(0x8187d58, 0xbfffe3e0, 0x8070520, 0xbfffe3d4) > [1123148642.904464] >>>>>>> smlTransportHttpServerInit(0x8187d58, 0xbfffe3e0, 0xbfffe3d4) > [1123148642.905064] config: port 9999, url /test, inteface > [1123148642.905512] <<<<<<< smlTransportHttpServerInit > [1123148642.905549] <<<<<<< smlTransportInitialize > [1123148642.905593] >>>>>>> smlLocationNew(/vcards, (null), 0xbfffe3d4) > [1123148642.905620] <<<<<<< smlLocationNew: 0x81908f8 > [1123148642.905649] >>>>>>> smlDsServerNew(1, 0x81908f8, 0xbfffe3d4) > [1123148642.905675] >>>>>>> smlLocationClone(0x81908f8, 0xbfffe3d4) > [1123148642.905701] >>>>>>> smlLocationCopy(0x81908f8, 0x8191858) > [1123148642.905727] <<<<<<< smlLocationCopy > [1123148642.905752] <<<<<<< smlLocationClone: 0x8191858 > [1123148642.905776] <<<<<<< smlDsServerNew: 0x8191dc0 > [1123148642.905804] >>>>>>> smlAuthNew(0xbfffe3d4) > [1123148642.905830] <<<<<<< smlAuthNew: 0x8191e28 > [1123148642.905856] >>>>>>> smlAuthSetVerifyCallback(0x8191e28, 0xb7bcaba0, 0x81881e0) > [1123148642.905881] <<<<<<< smlAuthSetVerifyCallback > [1123148642.905906] <<<<<<< syncml_http_server_init: 0x81881e0 > [1123148642.905931] <<<<<<< osync_member_initialize > [1123148642.905958] Waiting for startup > [1123148642.906259] startup done! > [1123148642.906286] <<<<<<< osync_client_init > [1123148642.906315] >>>>>>> osengine_mappingtable_load(0x8070930, 0xbfffe52c) > [1123148642.906350] >>>>>>> osync_db_open_changes(0x806cf18, 0xbfffe4b8, 0xbfffe52c) > [1123148642.906677] [OSDB] DEBUG: Preparing to load changes from file /home/dvrstrae/.opensync/group1/change.db > [1123148642.907245] [OSDB] INFORMATION: Unable create changes table! table tbl_changes already exists > [1123148642.907318] [OSDB] FULL DEBUG: query executed: SELECT count(*) FROM tbl_changes > [1123148642.907380] [OSDB] DEBUG: Unable step count! not an error > [1123148642.907516] [OSDB] FULL DEBUG: query executed: SELECT id, uid, objtype, format, memberid, mappingid FROM tbl_changes ORDER BY mappingid > [1123148642.907589] <<<<<<< osync_db_open_changes > [1123148642.907618] <<<<<<< osengine_mappingtable_load: TRUE > [1123148642.907653] [ENG] DEBUG: Running the main loop > [1123148642.907979] <<<<<<< osengine_init > > > ------------------------------------------------------------------------ > > [1123148642.907801] +++++++++ This is the engine of group "nokia" +++++++++ > > > ------------------------------------------------------------------------ > > [1123148642.906085] +++++++++ This is the client #2 (syncml-http-server plugin) of group nokia +++++++++ > > > ------------------------------------------------------------------------ > > [1123148642.903615] +++++++++ This is the client #1 (kdepim plugin) of group nokia +++++++++ |