Hello,

according to the logs, the main app binary is a different version, so kamailio is v5.0.3 and the kex module is v5.0.4.

Maybe you also installed kamailio from packages, check to see what is the path to kamailio binary inside /etc/init.d/kamailio.

You can also do 'which kamailio' to see where is the first binary found in the execution paths.

Cheers,
Daniel


On 31.10.17 08:34, Abdul Basit wrote:
Hi,

My kamailio installation with 5.0.3 was working fine.
I update kamailio source to 5.0.4 and make all; make install

I started receiving error below:

/etc/init.d/kamailio start
[FAIL] Not starting Kamailio SIP Server: invalid configuration file! ... failed!
 failed!
[....] 0(7426) ERROR: <core> [core/sr_module.c:431]: version_control(): module version mismatch for /usr/local/lib64/kamailio/modules/kex.so; core: kamailio 5.0.3 (x86_64/lin[FAILmodule: kamailio 5.0.4 (x86_64/linux) ... failed!
 failed!

kamailio.cfg is same as earlier.

I removed kamailio sources and modules folder /usr/local/lib64/kamailio/modules/
I also dropped old kamailio postgres database and created new one after fresh source install of version 5.0.4 from git.
# git clone https://github.com/kamailio/kamailio kamailio
# cd kamailio
# git checkout -b 5.0 origin/5.0
But this error persists.

Whats the resolution? Is this a bug?

--
regards,

abdul basit


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - www.asipto.com
Kamailio World Conference - www.kamailioworld.com