[Serusers] cpl_init: mandatory parameter

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Apr 12 18:43:48 CEST 2005


cpl_dtd_file is the complete path (including filename)of the DTD file - 
you can find this file in cpl-c module directory - for info about module 
param, take a look into module README.

bogdan

Aisling O'Driscoll wrote:

>That worked Bogdon,Thank you, I also added:
>modparam ("cpl-c", "cpl_table", "cpl")
>
>Now it requires the cpl_dtd_file - However I am not sure what path
>here: i.e.
>modparam("cpl-c", "cpl_dtd_file", "whatpath?")
>
>Is there a usual directory where this can be found?
>
>Regards,
>Aisling
>
>  
>
>>---- Original Message ----
>>From: bogdan at voice-system.ro
>>To: vivcurran at yahoo.co.uk
>>Subject: Re: [Serusers] cpl_init: mandatory parameter "DB_URL" found
>>empty
>>Date: Tue, 12 Apr 2005 18:05:02 +0200
>>
>>    
>>
>>>sorry, in cpl-c the parameter is called "cpl_db" - I will change the
>>>      
>>>
>>>error message to state the proper parameter name. (db_url -> cpl_db)
>>>
>>>bogdan
>>>
>>>
>>>Vivienne Curran wrote:
>>>
>>>      
>>>
>>>>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.
>>>>        
>>>>
>  
>




More information about the sr-users mailing list