Hi,
After updating my git tree I'm on this commit :
* master 1123ed4 core: Also consider PROTO_WS(S) in forward().
origin/master 1123ed4 core: Also consider PROTO_WS(S) in forward().
After building kamailio is showing this and refusing to start :
arif@khost:~/src/kamailio$ kamailio -f /opt/kamailio/etc/kamailio/kamailio.cfg 0(21753) DEBUG: <core> [sr_module.c:591]: load_module(): load_module: trying to load </opt/kamailio/lib64/kamailio/modules/db_mysql.so> 0(21753) ERROR: <core> [sr_module.c:449]: version_control(): ERROR: module version mismatch for /opt/kamailio/lib64/kamailio/modules/db_mysql.so; core: kamailio 4.1.0-dev6 (x86_64/linux); module: kamailio 4.0.2 (x86_64/linux)
Not understand what happened here.
-- -Cheers -Arif
2013/7/1 aft aftnix@gmail.com:
Hi,
After updating my git tree I'm on this commit :
- master 1123ed4 core: Also
consider PROTO_WS(S) in forward().
origin/master 1123ed4 core: Also consider PROTO_WS(S) in forward().
After building kamailio is showing this and refusing to start :
arif@khost:~/src/kamailio$ kamailio -f /opt/kamailio/etc/kamailio/kamailio.cfg 0(21753) DEBUG: <core> [sr_module.c:591]: load_module(): load_module: trying to load </opt/kamailio/lib64/kamailio/modules/db_mysql.so> 0(21753) ERROR: <core> [sr_module.c:449]: version_control(): ERROR: module version mismatch for /opt/kamailio/lib64/kamailio/modules/db_mysql.so; core: kamailio 4.1.0-dev6 (x86_64/linux); module: kamailio 4.0.2 (x86_64/linux)
Not understand what happened here.
You have to clean and make again. You have modules built with a different version.
Cheers, Victor
Well after
make uninstall prefix=/opt/kamailio make clean git clean -x -d -f
Same error shows up.
But arif@khost:~/src/kamailio$ tree /opt/kamailio/lib64/kamailio/modules/ | grep mysql
├── db_mysql.so
And
arif@khost:~/src/kamailio$ readelf -s /opt/kamailio/lib64/kamailio/modules/db_mysql.so | grep module 114: 000000000021b608 8 OBJECT GLOBAL DEFAULT 22 module_flags 136: 000000000021b610 8 OBJECT GLOBAL DEFAULT 22 module_version 156: 000000000021ba30 4 OBJECT GLOBAL DEFAULT 23 module_interface_ver 128: 000000000021ba30 4 OBJECT GLOBAL DEFAULT 23 module_interface_ver 169: 000000000021b608 8 OBJECT GLOBAL DEFAULT 22 module_flags 193: 000000000021b610 8 OBJECT GLOBAL DEFAULT 22 module_version
On Mon, Jul 1, 2013 at 8:18 PM, Victor Seva linuxmaniac@torreviejawireless.org wrote:
2013/7/1 aft aftnix@gmail.com:
Hi,
After updating my git tree I'm on this commit :
- master 1123ed4 core: Also
consider PROTO_WS(S) in forward().
origin/master 1123ed4 core: Also consider PROTO_WS(S) in forward().
After building kamailio is showing this and refusing to start :
arif@khost:~/src/kamailio$ kamailio -f /opt/kamailio/etc/kamailio/kamailio.cfg 0(21753) DEBUG: <core> [sr_module.c:591]: load_module(): load_module: trying to load </opt/kamailio/lib64/kamailio/modules/db_mysql.so> 0(21753) ERROR: <core> [sr_module.c:449]: version_control(): ERROR: module version mismatch for /opt/kamailio/lib64/kamailio/modules/db_mysql.so; core: kamailio 4.1.0-dev6 (x86_64/linux); module: kamailio 4.0.2 (x86_64/linux)
Not understand what happened here.
You have to clean and make again. You have modules built with a different version.
Cheers, Victor
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
You have to build kamailio and all the modules that you are using again. Don't know why this is not been removed.
On Mon, Jul 1, 2013 at 10:48 PM, Victor Seva linuxmaniac@torreviejawireless.org wrote:
You have to build kamailio and all the modules that you are using again. Don't know why this is not been removed.
I've done that. To be honest have done multiple times. Something is getting cached i guess. I don't know about kamailio's usage of "libtool". Its makefile is little different from general autotools based stuff. The version of the db_mysql module is is getting cached here.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- -Cheers -Arif
Hello,
make uninstall in kamailio does not actually delete the deployed files. Just prints the commands you should run.
Therefore be sure you first delete the deployed modules. You can just do:
rm -rf /opt/kamailio/lib64/kamailio/modules/
The be sure you have db_mysql back in the list of included modules for compilation.
Cheers, Daniel
On 7/1/13 7:38 PM, aft wrote:
On Mon, Jul 1, 2013 at 10:48 PM, Victor Seva linuxmaniac@torreviejawireless.org wrote:
You have to build kamailio and all the modules that you are using again. Don't know why this is not been removed.
I've done that. To be honest have done multiple times. Something is getting cached i guess. I don't know about kamailio's usage of "libtool". Its makefile is little different from general autotools based stuff. The version of the db_mysql module is is getting cached here.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- -Cheers -Arif
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users