Hi Daniel,
Thank you for your reply.
I installed kamailio 5.0.3 on a fresh debian machine and then upgraded to
version 5.0.4 via git.
It worked fine without issue. No need to upgrade DB schema as well.
I installed previously from packages. Later i removed the modules and
reinstall from git source.
but i forgot to update kamailio binary location from /usr/sbin/kamailio
(older one 5.0.3) to /usr/local/sbin/kamailio (5.0.4)
Issue resolved :)
--
regards,
abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445
On 31 October 2017 at 14:17, Daniel-Constantin Mierla <miconda(a)gmail.com>
wrote:
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
Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin
Mierlawww.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