Well, I did what you said... Grabbed the SVN (today, Tuesday 27th), purged the old db, modules, binaries and libraries ... Recompiled, ran openser_mysql.sh create and now I get this error;
PRESENCE:mod_init: Wrong version v1 for table <presentity>, need v0
... :-/
Now what
- Geir
-----Original Message----- From: Anca Vamanu [mailto:anca@voice-system.ro] Sent: Monday, March 26, 2007 7:01 PM To: Geir O. Jensen Subject: Re: [Users] PRESENCE module issues
Hello,
Don't worry. It will for sure be up and running by then.
I was not talking about the offical release, but the SVN version of OpenSer1.2. To download it use:
# svn co https://openser.svn.sourceforge.net/svnroot/openser/branches/1 .2 openser More information at: http://www.openser.org/mos/view/Download/
It must work now :) .
Best regards, Anca
Geir O. Jensen wrote:
Okay, I downloaded the 1.2.0 tarball on the 19th of March. Was it changed after that date? The date stamp on the http://www.openser.org/pub/openser/1.2.0/src/ server location says March 12th...
Hopefully I'll be able to do this within a few days... Easter is looming and things slow down around here then :D
Thanks for your help so far!
- Geir
-----Original Message----- From: Anca Vamanu [mailto:anca@voice-system.ro] Sent: Monday, March 26, 2007 10:17 AM To: G.O. Jensen Cc: daniel@voice-system.ro Subject: Re: [Users] PRESENCE module issues
Hello,
I was in fact refering to the newst version of OpenSer 1.2.0. It has also been updated. You can also take the svn version- it will work with the
modules from
1.2.0, but you have to make a change in the database- adding 2 new columns in active_watcher_table
- so you should run the database script again. It has a transport
issue fixed which is still under testing.
Best regards,
Anca Vamanu
G.O. Jensen wrote:
Hm, righto. Well, I used the "official" downloadable tarball from openser.org. Maybe they should rush out a 1.2.1 patch asap then :D
So, do I need to grab all modules and OpenSER core from
SVN too, or
while the "updated" presence module work with the "stable" 1.2.0 OpenSER release?
Anca Vamanu said:
Hello,
I found the problem, much simpler that we might have
thought. You use
an old version, at least a week old. There was a bug there that I fixed last week. You should take the latest version on svn and it should work.
Best regards,
Anca Vamanu
G.O. Jensen wrote:
Hey, I really want to get this working so all the effort I
can pour
into it :D I will do more testing over the weekend
though - I have
two servers so I can see if the problems crops up on both.
The clients use are eyeBeam 1.5 (Windows) and Gaim
2.0beta (Linux).
OpenSER crashes when I register the eyeBeam client and the
presence
exchange starts. Fork is indeed set to yes in my Config
(which I can
get you a copy of over the weekend aswell to help
reproduce it at
your end...)
(I'm at home now so I can't access all data easily...)
Thanks, G.O. Jensen UNINETT
Anca Vamanu said:
>Thanks for your effort. >Unfortunatelly the backtrace is not revealing at all. It seems >compulsory to reproduce your scenario to be able to fix > >
this. And I
>just can't manage to do this. >What clients are you using? >Is fork yes or no in your configuration? > >Many thanks. > >G.O. Jensen wrote: > > > > > > > >>Anca-Maria Vamanu said: >> >> >> >> >> >> >> >> >>>I can't reproduce what you got there and I can't figure >>> >>>
out from
>>>the log what goes wrong. >>>Could you please send be the backtrace of the generated core. >>>Use: gdb openser core >>> >bt >>> >>> >>> >>> >>> >>> >>> >>> >>Sure can do... this error was reproducible for me (I
tried 3 or 4
>>times...) >> >>Main routing script does a if method= then handle_() >> >>
thingy... and
>>then returns. >> >>root@test-sip:/# gdb openser core GNU gdb 6.4-debian Copyright >>2005 Free Software Foundation, Inc. >>GDB is free software, covered by the GNU General
Public License,
>>and you are welcome to change it and/or distribute
copies of it
>>under certain conditions. >>Type "show copying" to see the conditions. >>There is absolutely no warranty for GDB. Type "show >> >>
warranty" for
>>details. >>This GDB was configured as "i486-linux-gnu"...Using host >>libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". >> >>Core was generated by `/usr/local/sbin/openser -P >>/var/run/openser.pid -m >>32 -u root -g root'. >>Program terminated with signal 11, Segmentation fault. >> >>warning: Can't read pathname for load map: Input/output error. >>Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. >>Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols
>> >> >>from /lib/tls/i686/cmov/libresolv.so.2...done. > > >>Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2 Reading >>symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...done. >>Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8 >>Reading symbols from >> >>
/usr/lib/i686/cmov/libcrypto.so.0.9.8...done.
>>Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8 >>Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. >>Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols >> >> >>from /lib/ld-linux.so.2...done. > > >>Loaded symbols for /lib/ld-linux.so.2 Reading symbols from >>/usr/lib/libz.so.1...done. >>Loaded symbols for /usr/lib/libz.so.1 Reading symbols from >>/usr/local/lib/openser/modules/mysql.so...done. >>Loaded symbols for /usr/local/lib/openser/modules/mysql.so >>Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. >>Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols >> >> >>from /usr/lib/libmysqlclient.so.14...done. > > >>Loaded symbols for /usr/lib/libmysqlclient.so.14
Reading symbols
>> >> >>from /lib/tls/i686/cmov/libcrypt.so.1...done. > > >>Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1 >> >>
Reading symbols
>>from /lib/tls/i686/cmov/libnsl.so.1...done. > > >>Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1 >> >>
Reading symbols
>>from /usr/local/lib/openser/modules/sl.so...done. > > >>Loaded symbols for /usr/local/lib/openser/modules/sl.so >>Reading symbols from
/usr/local/lib/openser/modules/tm.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/tm.so >>Reading symbols from
/usr/local/lib/openser/modules/rr.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/rr.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/maxfwd.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/maxfwd.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/usrloc.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/usrloc.so >>Reading symbols from >>/usr/local/lib/openser/modules/registrar.so...done. >>Loaded symbols for /usr/local/lib/openser/modules/registrar.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/textops.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/textops.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/xlog.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/xlog.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/enum.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/enum.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/uri_db.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/uri_db.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/options.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/options.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/auth.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/auth.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/auth_db.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/auth_db.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/avpops.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/avpops.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/mi_fifo.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/mi_fifo.so >>Reading symbols from >> >>
/usr/local/lib/openser/modules/presence.so...done.
>>Loaded symbols for /usr/local/lib/openser/modules/presence.so >>Reading symbols from /usr/lib/libxml2.so.2...done. >>Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from >>/lib/tls/i686/cmov/libnss_compat.so.2...done. >>Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2 >>Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done. >>Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2 >>Reading symbols from
/lib/tls/i686/cmov/libnss_files.so.2...done.
>>Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2 >>#0 0x080b7eed in fm_free (qm=0x8170b40, p=0xb7a8ffdf) at >>mem/f_malloc.c:130 >>130 frag->u.nxt_free=*f; >>(gdb) bt >>#0 0x080b7eed in fm_free (qm=0x8170b40, p=0xb7a8ffdf) at >>mem/f_malloc.c:130 >>#1 0xb7a8ce8f in handle_subscribe (msg=0x8186ca8, str1=0x0, >>str2=0x0) >> at subscribe.c:1099 >>#2 0x08052d56 in do_action (a=0x8178f48, msg=0x8186ca8) at >>action.c:883 >>#3 0x08051faa in run_action_list (a=0x8178e68,
msg=0x8186ca8) at
>>action.c:131 >>#4 0x08054423 in do_action (a=0x81790d8, msg=0x8186ca8) at >>action.c:801 >>#5 0x08051faa in run_action_list (a=0x8178ba0,
msg=0x8186ca8) at
>>action.c:131 >>#6 0x08054423 in do_action (a=0x817bc88, msg=0x8186ca8) at >>action.c:801 >>#7 0x08051faa in run_action_list (a=0x81770c8,
msg=0x8186ca8) at
>>action.c:131 >>#8 0x080552c5 in run_top_route (a=0x81770c8, msg=0x0) at >>action.c:111 >>#9 0x08082769 in receive_msg ( >> buf=0x8140180 "SUBSCRIBE sip:oak@test-sip.uninett.no >> >>
SIP/2.0\r\nVia:
>>SIP/2.0/UDP >>158.38.62.97:16472;branch=z9hG4bK-d87543-2b2f3c5a00212916 >> >>
-1--d87543-;rport\r\nMax-Forwards:
>>69\r\nContact: sip:gojensen@158.38.62.97:16472"..., >> len=635, rcv_info=0xbfae1328) at receive.c:156 #10 >> >>
0x080b112a in
>>udp_rcv_loop () at udp_server.c:465 >>#11 0x08070a08 in main_loop () at main.c:834 >>#12 0x08072045 in main (argc=9, argv=0xbfae14e4) at main.c:1399 >> >>// geir.o.jensen@uninett.no >> UNINETT AS, NO-7465 Trondheim, NORWAY >> Fax: +47 73 55 79 01, Phn: +47 73 55 79 00 >> >> >> >> >> >> >> >> > > > > // geir.o.jensen@uninett.no UNINETT AS, NO-7465 Trondheim, NORWAY Fax: +47 73 55 79 01, Phn: +47 73 55 79 00
// geir.o.jensen@uninett.no UNINETT AS, NO-7465 Trondheim, NORWAY Fax: +47 73 55 79 01, Phn: +47 73 55 79 00