[Serusers] cpl_init: mandatory parameter "DB_URL" found empty

Vivienne Curran vivcurran at yahoo.co.uk
Tue Apr 12 17:45:11 CEST 2005


Bogdan,
 
I set modparam("cpl-c","db_url","mysql://root:password@localhost/ser"), however when i tried to restart SER I got:
 
set_mod_param_regex: parameter <db_url> not found in module <cpl-c>
parse error (87,20-21): Can't set module parameter
 
I tried db_url in upper case also. An I incoorect in thinking that the module should load without this anyway?
 
Regards,
Aisling.

Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
you have to set the db_url parameter pointing to a DB connection - 
default is NULL. For example:
modparam("cpl-c","db_url","mysql://ser:heslo@localhost/ser")

bogdan

Aisling O'Driscoll wrote:

>Hello,
>
>I am using ser 0.9.0. When I try to load the cpl module e.g.
>loadmodule "/opt/ser/lib/ser/modules/cpl-c.so", and restart ser, I
>get the following error:
>
>ERROR:cpl_init: mandatory parameter "DB_URL" found empty
>init_mod(): Error while initializing module cpl-c
>
>When I check in /opt/ser/lib/ser/modules, the cpl-c module si there.
>Does anyone have any clue how this can be resolved?
>
>Thank you,
>Aisling.
>
>
>-------------------Legal Disclaimer---------------------------------------
>
>The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
> 
>

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers

Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050412/e23f6ac4/attachment.htm>


More information about the sr-users mailing list