[OpenSIPS-Users] Error on presence_xml
bay2x1
rod at racequeen.ph
Thu Mar 12 07:04:32 CET 2009
I have enabled the xcap_client module and the error was eliminated but
encountered another stumbling block this is how my opensips.cfg
configuration intergrating openxcap given all the needed modules has been
loaded.
# ----- presence params ----- enabled: openxcap support
/* uncomment the following lines if you want to enable presence */
modparam("presence", "db_url",
"mysql://opensips:opensipsrw@localhost/opensips")
modparam("presence", "server_address", "sip:presence at 10.0.0.1")
modparam("presence", "fallback2db", 1)
modparam("presence", "clean_period", 30)
# -- xcap params -- added: openxcap support
modparam("presence_xml", "db_url",
"mysql://opensips:opensipsrw@localhost/opensips")
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "pidf_manipulation", 1)
modparam("presence_xml", "integrated_xcap_server", 1)
# -- rls params -- added: openxcap support
modparam("rls", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("rls", "server_address", "sip:rls at 10.0.0.1")
modparam("rls", "to_presence_code", 5)
modparam("rls", "integrated_xcap_server", 1)
modparam("pua", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("pua", "db_table", "pua")
*/
#-----------------xcap client -------------------------
modparam("xcap_client", "db_url",
"mysql://opensips:opensipsrw@localhost/opensips")
modparam("xcap_client", "xcap_table", "xcaps")
modparam("xcap_client", "periodical_query", 0)
this is the error log. ERROR LOG
Mar 12 13:43:23 ws16 /usr/sbin/opensips[19514]: NOTICE:presence:mod_init:
initializing module ...
Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]:
ERROR:presence_xml:shm_copy_xcap_list: no xcap_server parameter set
Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]: ERROR:presence_xml:mod_init:
copying xcap server list in share memory
Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]: ERROR:core:init_mod: failed
to initialize module presence_xml
Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]: ERROR:core:main: error while
initializing modules
Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]: NOTICE:presence:destroy:
destroy module ...
bay2x1 wrote:
>
> I have integrated openxcap on my config and opensips fails to run
> generating error log below....
>
> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: INFO:dialog:mod_init:
> Dialog module - initializing
> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: NOTICE:presence:mod_init:
> initializing module ...
> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]:
> ERROR:presence_xml:mod_init: Can't bind xcap_client
> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: ERROR:core:init_mod:
> failed to initialize module presence_xml
> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: ERROR:core:main: error
> while initializing modules
> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: NOTICE:presence:destroy:
> destroy module ...
>
> I had checked my presence_xml configuration and check the opensips
> documentation and I can say that I have done what was instructed in the
> configuration instruction. At first I was encountering segfault error,
> but now this error is now appearing
>
--
View this message in context: http://n2.nabble.com/Error-on-presence_xml-tp2465350p2465786.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list