[OpenSIPS-Users] opensips.cfg
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Apr 15 14:09:00 CEST 2009
Hi Michael ,
So, after all (with skipping the error) was the migration successful ?
Regards,
Bogdan
Michael Ciupka wrote:
> Hi Anna,
>
> I enter "opensipsdbctl migrate opensips opensips_1_5"
> now i get this error:
> ERROR: failed to migrate opensips.gw to opensips_1_5.gw!
> i can skip this error.
>
> Regards
> Michael
>
>
> -------- Original-Nachricht --------
>
>> Datum: Mon, 13 Apr 2009 15:40:36 +0300
>> Von: Anca Vamanu <anca at opensips.org>
>> An: Michael Ciupka <opensips at michael-ciupka.de>
>> CC: users at lists.opensips.org
>> Betreff: Re: [OpenSIPS-Users] opensips.cfg
>>
>
>
>> Hi Michael,
>>
>> "opensipsdbctl migrate opensips_1_4 opensips_1_5"
>>
>> Is 'opensips_1_4' the name of your current database? The string
>> following migrate has to be the name of your current database that you
>> have used with opensips 1.4.x. The last parameter should be a name of
>> the new database that you will use when running opensips 1.5.
>>
>> regards,
>> Anca
>>
>>
>> Michael Ciupka wrote:
>>
>>> Hello Anna,
>>>
>>> I enter "opensipsdbctl migrate opensips_1_4 opensips_1_5"
>>> is this correct?
>>> where can I find which version I must enter?
>>>
>>> Regards
>>> Michael
>>>
>>> -------- Original-Nachricht --------
>>>
>>>
>>>> Datum: Fri, 10 Apr 2009 15:23:29 +0300
>>>> Von: Anca Vamanu <anca at opensips.org>
>>>> An: Michael Ciupka <opensips at michael-ciupka.de>
>>>> CC: users at lists.opensips.org
>>>> Betreff: Re: [OpenSIPS-Users] opensips.cfg
>>>>
>>>>
>>>
>>>
>>>> Hi Michael,
>>>>
>>>> What is command that you have run? Can you print it here? I think that
>>>> you might have a typing error.
>>>>
>>>> regards,
>>>> Anca
>>>>
>>>> Michael Ciupka wrote:
>>>>
>>>>
>>>>> Hi Anna,
>>>>>
>>>>> thanks for the fast answer but when I enter opensipsdbctl i get this
>>>>>
>>>>>
>>>> information " opensipsdbctl migrate <old_db> <new_db>
>>>> .....................(migrates DB from 1.2 to 1.3, not implemented
>>>>
>> yet!)"
>>
>>>>
>>>>
>>>>> what should i do that i have the 1.5?
>>>>>
>>>>> regards
>>>>> michael
>>>>>
>>>>> -------- Original-Nachricht --------
>>>>>
>>>>>
>>>>>
>>>>>> Datum: Fri, 10 Apr 2009 14:32:10 +0300
>>>>>> Von: Anca Vamanu <anca at opensips.org>
>>>>>> An: Michael Ciupka <opensips at michael-ciupka.de>
>>>>>> CC: users at lists.opensips.org
>>>>>> Betreff: Re: [OpenSIPS-Users] opensips.cfg
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Hi Michael,
>>>>>>
>>>>>> You probably migrated from 1.4 to 1.5. You need to update your
>>>>>>
>> database
>>
>>>>>> structure. I recommend you to use the migrate script by running:
>>>>>> opensipsdbctl migrate old_db new_db.
>>>>>>
>>>>>> regards,
>>>>>> Anca
>>>>>>
>>>>>> Michael Ciupka wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi Anna,
>>>>>>>
>>>>>>> super. It works! thanks.
>>>>>>> One question any more. When I uncomment in this configfile the
>>>>>>> loadmodule "rls.so" and the rls params i get this problem/output in
>>>>>>>
>>>>>>>
>>>> the
>>>>
>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> console:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Apr 10 12:55:55 [9983] ERROR:core:db_check_table_version: invalid
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> version 0 for table rls_presentity found, expected 1
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Apr 10 12:55:55 [9983] ERROR:rls:mod_init: error during table
>>>>>>>
>> version
>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> check.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Apr 10 12:55:55 [9983] ERROR:core:init_mod: failed to initialize
>>>>>>>
>>>>>>>
>>>> module
>>>>
>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> rls
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Apr 10 12:55:55 [9983] ERROR:core:main: error while initializing
>>>>>>>
>>>>>>>
>>>> modules
>>>>
>>>>
>>>>>>> Apr 10 12:55:55 [9983] NOTICE:presence:destroy: destroy module ...
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------- Original-Nachricht --------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Datum: Fri, 10 Apr 2009 13:52:04 +0300
>>>>>>>> Von: Anca Vamanu <anca at opensips.org>
>>>>>>>> An: Michael Ciupka <opensips at michael-ciupka.de>
>>>>>>>> CC: users at lists.opensips.org
>>>>>>>> Betreff: Re: [OpenSIPS-Users] opensips.cfg
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi Michael,
>>>>>>>>
>>>>>>>> Your config file is correct and works.
>>>>>>>> The reason why you get an error when you uncomment those modules is
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> that
>>>>>>
>>>>>>
>>>>>>
>>>>>>>> they must be loaded after presence and pua modules. Change this and
>>>>>>>>
>>>>>>>>
>>>> try
>>>>
>>>>
>>>>>>>> again.
>>>>>>>>
>>>>>>>> regards,
>>>>>>>> Anca
>>>>>>>>
>>>>>>>>
>>>>>>>> Michael Ciupka wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hello Anca,
>>>>>>>>>
>>>>>>>>> everthing works well, but when I uncomment the two loadmodule i
>>>>>>>>>
>> get
>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> these output. I send you in the email the complete opensips.cfg
>>>>>>>>
>> from
>>
>>>>>>>>
>>>>>>>>
>>>> my
>>>>
>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> local
>>>>>>
>>>>>>
>>>>>>
>>>>>>>> pc.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> in syslog i get this output:
>>>>>>>>> Apr 10 11:39:01 chillazz-desktop /USR/SBIN/CRON[9116]: (root) CMD
>>>>>>>>>
>> (
>>
>>>>>>>>>
>>>>>>>>>
>>>> [
>>>>
>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find
>>>>>>>> /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0
>>>>>>>>
>> |
>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> xargs -n 200 -r -0
>>>>>>
>>>>>>
>>>>>>
>>>>>>>> rm)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Apr 10 11:39:26 chillazz-desktop kernel: [ 7089.632706]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>> opensips[9257]:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> segfault at 4 ip b7968c0f sp bf91b280 error 4 in
>>>>>>>> presence.so[b7964000+30000]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> -------- Original-Nachricht --------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Datum: Fri, 10 Apr 2009 12:29:33 +0300
>>>>>>>>>> Von: Anca Vamanu <anca at opensips.org>
>>>>>>>>>> An: Michael Ciupka <opensips at michael-ciupka.de>
>>>>>>>>>> CC: users at lists.opensips.org
>>>>>>>>>> Betreff: Re: [OpenSIPS-Users] opensips.cfg
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Hi Michael,
>>>>>>>>>>
>>>>>>>>>> There is nothing wrong in the lines that you pasted.
>>>>>>>>>> Do you see some other error in the log?
>>>>>>>>>>
>>>>>>>>>> regards,
>>>>>>>>>> Anca
>>>>>>>>>>
>>>>>>>>>> Michael Ciupka wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Hello,
>>>>>>>>>>>
>>>>>>>>>>> someone know what do these walues in the opensips.cfg
>>>>>>>>>>> #loadmodule "presence_xcapdiff.so"
>>>>>>>>>>> #loadmodule "presence_mwi.so"
>>>>>>>>>>>
>>>>>>>>>>> because when I uncomment these and restart opensips i get this
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>> output
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> and opensips doesn´t start correct:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Apr 10 11:20:27 [8805] INFO:pua:db_restore: the query returned
>>>>>>>>>>>
>> no
>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> result
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>> Apr 10 11:20:27 [8805] INFO:presence_xcapdiff:mod_init:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> initializing...
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>> Michael
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Users mailing list
>>>>>>>>>>> Users at lists.opensips.org
>>>>>>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list