I compiled 3.0.3 on a Debian system and tried using sqlops.
The module loads ok, but in debugging I only see it registering the modparam "sqlcon" name. Using any function in the module results in errors in parsing the config file. "Unknown command, missing loadmodule?"
Anyone else that have seen this?
/O
On 10/6/10 10:01 AM, Olle E. Johansson wrote:
I compiled 3.0.3 on a Debian system and tried using sqlops.
The module loads ok, but in debugging I only see it registering the modparam "sqlcon" name. Using any function in the module results in errors in parsing the config file. "Unknown command, missing loadmodule?"
Anyone else that have seen this?
no. Can you paste here the lines of config and error messages?
Cheers, Daniel
On 10/06/2010 04:01 AM, Olle E. Johansson wrote:
I compiled 3.0.3 on a Debian system and tried using sqlops.
The module loads ok, but in debugging I only see it registering the modparam "sqlcon" name. Using any function in the module results in errors in parsing the config file. "Unknown command, missing loadmodule?"
Anyone else that have seen this?
Are you sure you are loading the appropriate database layer module (db_postgres, db_mysql, etc.)? Perhaps in the absence of such a module, 'sqlops' does not properly load, but does not explicitly fail when configuring modparams either, as is sometimes the case with Kamailio/SR?
6 okt 2010 kl. 10.35 skrev Alex Balashov:
On 10/06/2010 04:01 AM, Olle E. Johansson wrote:
I compiled 3.0.3 on a Debian system and tried using sqlops.
The module loads ok, but in debugging I only see it registering the modparam "sqlcon" name. Using any function in the module results in errors in parsing the config file. "Unknown command, missing loadmodule?"
Anyone else that have seen this?
Are you sure you are loading the appropriate database layer module (db_postgres, db_mysql, etc.)? Perhaps in the absence of such a module, 'sqlops' does not properly load, but does not explicitly fail when configuring modparams either, as is sometimes the case with Kamailio/SR?
Yes, I'm reaching the database through many other modules, so that's the case. We should see the functions in the module registration output...
Hmmm. I must be doing something wrong here. Really wrong, since I get half of the sqlops namespace - the modprobe seems to register fine. But I can't find any functions exposed by the module.
/O