[OpenSER-Users] <db_url> not found in module <pua_usrloc>

Iñaki Baz Castillo ibc at in.ilimit.es
Mon Jul 16 16:50:41 CEST 2007


El Monday 16 July 2007 11:57:50 Anca-Maria Vamanu escribió:
> Hello,
>
> There isn't a 'db_url' parameter in pua_usrloc. The error should be
> because you  have set this parameter but it does not exist.
> A line like this:
>
> modparam("pua_usrloc", "db_url",
> "mysql://openser:openserrw@localhost/openser")  cases the error.
>
> The only parameter that should be set for the pua_usrloc module is :
> modparam("pua_usrloc", "default_domain", "192.168.2.132") .
> As mentioned in the documentation, the 'usrloc' module should also be
> loaded and its compulsory parameter 'db_url' should also be set to the
> appropriate value.


Thanks, I understand what you say and that's exactly what I tryed the first time.
As you see I don't include a line about "pua_usrloc" and "db_url":

  loadmodule "pua.so"
  loadmodule "pua_usrloc.so"

  modparam("auth_db|uri_db|usrloc|permissions|presence|pua|imc", "db_url", "mysql://openser:openserrw@localhost/openser")
  modparam("pua_usrloc", "default_domain", "domain.org")


There isn't any "db_url" param for "pua_usrloc", but I get the error:

  0(5184) set_mod_param_regex: parameter <db_url> not found in module <pua_usrloc>
  0(5184) parse error (73,20-21): Can't set module parameter


I have checked all the file and I'm 90% sure of being right. couldn't it be a bug? has anybody used "pua_usrloc" tih 1.2.1 version?


Thanks.



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users mailing list