Thank you both for your answers with expert analysis of my previous problem! :-)<br><br>Actually I used the same prefix option in make commands in both compilations (non-TLS and TLS) so I guess my problem was that something (e.g. core/modules) was from old compilation and something from new and that was a reason for that error. <br>
<br>Maybe, I should use different prefix option in the second compilation and everything would be just fine.<br><br>Thank you,<br><br>Tarik<br><br><div class="gmail_quote">On Mon, Feb 27, 2012 at 11:36 PM, Rudy <span dir="ltr"><<a href="mailto:rudy@dynamicpacket.com">rudy@dynamicpacket.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Tarik,<br>
<br>
This problem is common when you were previously compiling and then<br>
switched to the debs since the prefix is different. Make sure you<br>
remove the<br>
manually compiled binaries/modules and your module path inside your<br>
opensips.cfg points to the new module directory.<br>
<br>
You can check which version of opensips binary you are running by<br>
using the command "which opensips" . The paths are broken down below:<br>
<br>
Paths (for deb/apt installs):<br>
binaries: /usr/sbin<br>
modules: /usr/lib/opensips/modules<br>
<br>
Paths (default source install with no prefix option):<br>
binaries: /usr/local/sbin<br>
modules: /usr/local/lib/opensips/modules<br>
<br>
<br>
Thanks in advance,<br>
--Rudy<br>
Dynamic Packet<br>
Toll-Free: 888.929.VOIP ( 8647 )<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Mon, Feb 27, 2012 at 5:26 PM, Bogdan-Andrei Iancu<br>
<<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br>
> Hi Tarik,<br>
><br>
> actually, what you experienced was a partial re-installation - the opensips<br>
> core (the opensips binary) was still the old one (from non tls version),<br>
> while the modules (dynamic libs) where from the new installation (with TLS<br>
> support).<br>
><br>
> It may be a configuration error where the config file was point to modules<br>
> in an directory belonging to the old installation. You just have to be<br>
> careful with the used directories, not need to un-install.<br>
><br>
> Regards,<br>
> Bogdan<br>
><br>
> On 02/26/2012 08:27 AM, Tarik Tankovic wrote:<br>
>><br>
>> Solved!<br>
>><br>
>> First, OpenSIPS was totally manually uninstalled and after that I<br>
>> installed OpenSIPS version with TLS support.<br>
>><br>
>> Tarik<br>
>><br>
>> On 2/24/12, Tarik Tankovic<<a href="mailto:ttankovic@gmail.com">ttankovic@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> first I compiled and installed OpenSIPS 1.6.0-notls version and it<br>
>>> worked just fine.<br>
>>><br>
>>> After that I downloaded OpenSIPS 1.6.0-tls -tar.gz file and tried to<br>
>>> include TLS support so I changed Makefile in the way I uncommented<br>
>>> TLS=1 line and entered commands make prefix=/all and make<br>
>>> prefix=/install.<br>
>>><br>
>>> Now I tried to check configuration file opensips.cfg using opensips -c<br>
>>> but I got following error:<br>
>>><br>
>>> ERROR:core:version_control: module version mismatch for signaling;<br>
>>> core: opensips 1.6.0-notls (i386/linux); module: opensips 1.6.0-tls<br>
>>> (i386/linux)<br>
>>><br>
>>> and of course I am not able to start opensips.<br>
>>><br>
>>> How can I upgrade version of signalin module in the core to the<br>
>>> 1.6.0-tls version?<br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Tarik<br>
>>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>><br>
><br>
><br>
> --<br>
> Bogdan-Andrei Iancu<br>
> OpenSIPS Founder and Developer<br>
> <a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>