New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error trying to use shared profile information #179
Comments
Stupid question, but are you sure you loaded the cachedb_cassandra module ? |
: > Don't think I didn't ask myself that same question several times before Richard On Sun, Mar 16, 2014 at 4:45 PM, Bogdan Andrei IANCU <
|
Hello, Which version of OpenSIPS are you using ? Latest trunk ? loadmodule "cachedb_cassandra.so" and connections was good : Mar 19 17:58:11 [4455] INFO:dialog:mod_init: Dialog module - initializing Can you help in replicating this ? Best Regards, |
loadmodule order is significant. I don't think I ever realized that Thank you both for responding and thank you Vlad for the sample. Seeing it Richard On Wed, Mar 19, 2014 at 12:19 PM, vladpaiu notifications@github.com wrote:
|
Hello Richard, Welcome ! Yes, module load order is significant for cachedb_* modules, in the same sense in which load order was significant for db_* modules - so if the dialog module needs to use db_mysql and cachedb_cassandra, both these modules have to be loaded before dialog.so. Closing. Best Regards, |
I am getting an error on startup after defining a cache url for dialog profiles:
Mar 15 14:42:41 registrar-1-/usr/local/opensips/sbin/opensips[8828]: INFO:dialog:mod_init: Dialog module - initializing
Mar 15 14:42:41 registrar-1-/usr/local/opensips/sbin/opensips[8828]: ERROR:core:cachedb_bind_mod: failed to bind to [cassandra] module. Is it loaded ?
Mar 15 14:42:41 registrar-1-/usr/local/opensips/sbin/opensips[8828]: ERROR:dialog:init_cachedb_utils: cannot bind functions for cachedb_url cassandra://localhost:9160/Opensips_Profiles_counters
Mar 15 14:42:41 registrar-1-/usr/local/opensips/sbin/opensips[8828]: ERROR:dialog:mod_init: cannot init cachedb utils
Mar 15 14:42:41 registrar-1-/usr/local/opensips/sbin/opensips[8828]: ERROR:core:init_mod: failed to initialize module dialog
Mar 15 14:42:41 registrar-1-/usr/local/opensips/sbin/opensips[8828]: ERROR:core:main: error while initializing modules
I am able to use cassandra for storing other values without issue.
The text was updated successfully, but these errors were encountered: