[OpenSER-Devel] [ openser-Bugs-1755386 ] "pua_usrloc" module impossible to use

SourceForge.net noreply at sourceforge.net
Tue Jul 17 12:50:29 CEST 2007


Bugs item #1755386, was opened at 2007-07-17 11:03
Message generated for change (Comment added) made by ibc_sf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1755386&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz (ibc_sf)
Assigned to: anca (anca_vamanu)
Summary: "pua_usrloc" module impossible to use

Initial Comment:
I'm trying to configure "pua_usrloc" module but I ALWAYS get the following error:

  set_mod_param_regex: parameter <db_url> not found in module <pua_usrloc>

Of course I don't try to set the "db_url" parameter for "pua_usrloc" (I know there isn't that parameter).

In fact my conf about it is:

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

modparam("pua", "db_url", "mysql://openser:openserrw@localhost/openser")
------------------------------

As you see I just set the "db_url" parameter for "pua" module in which is a mandatory parameter, but not for "pua_usrloc" module.

Could it be a bug? I just can sure that I'm not including any line as:

  modparam("pua_usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")


If you need more data please ask me for that. Regards.

----------------------------------------------------------------------

>Comment By: Iñaki Baz (ibc_sf)
Date: 2007-07-17 11:50

Message:
Logged In: YES 
user_id=1844020
Originator: YES

You are absolutely right, it works in your way. I'll report the bug about
the script
interpreter.

Thanks a lot ;)

----------------------------------------------------------------------

Comment By: anca (anca_vamanu)
Date: 2007-07-17 11:29

Message:
Logged In: YES 
user_id=1614776
Originator: NO

Hello,

The error is not in the pua_usrloc module, but most probably in the script
interpreter.
If instead of the line: 
modparam("auth_db|uri_db|usrloc|permissions|presence|pua|imc", "db_url",
"mysql://openser:openserrw@localhost/openser")
you set the parameter for each module separatedly like this:

modparam("usrloc",  "db_url",
"mysql://openser:openserrw@localhost/openser")
modparam("presence", "db_url",
"mysql://openser:openserrw@localhost/openser")
modparam("pua", "db_url", "mysql://openser:openserrw@localhost/openser")
...
it works. Try it and please reply.

regards, 

Anca Vamanu


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1755386&group_id=139143



More information about the Devel mailing list