[OpenSIPS-Users] TLS Module load Error Opensips 2.1

Răzvan Crainea razvan at opensips.org
Mon Nov 2 13:02:05 CET 2015


Hi, John!

Are you sure the "loadmodule proto_tls.so" line was below the 
"modules_path" one? Because if it was above, the modules_path wasn't set 
and therefore it could not find it in the right directory.

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 10/31/2015 08:13 PM, John Mathew wrote:
> Moved the line "loadmodule proto_tls.so" down, after all loadmodule 
> statement and it is working now.
>
> On Sat, Oct 31, 2015 at 2:23 PM, John Mathew 
> <john.mathew at divoxmedia.com <mailto:john.mathew at divoxmedia.com>> wrote:
>
>     Nabeel,
>
>     Proto_TLS was checked in menuconfig before compiling.
>
>     On Oct 31, 2015 14:21, "Nabeel" <nabeelshikder at gmail.com
>     <mailto:nabeelshikder at gmail.com>> wrote:
>
>         In my experience, version 1.11.5 had TLS enabled by default
>         but version 2.x had to be compiled with TLS explicitly enabled
>         at compile time.
>
>         On 31 Oct 2015 08:47, "John Mathew"
>         <john.mathew at divoxmedia.com
>         <mailto:john.mathew at divoxmedia.com>> wrote:
>
>             Yes.
>             OpenSIPS is trying to load the module, but it is unable to
>             find libssl file. But that file is in Linux lib folder and
>             is accessible.
>
>             On the same machine OpenSIPS 1.11.5 with TLS is working
>             perfectly. So ssl package is correct.
>             My doubt is OpenSIPS looking for libssl in a wrong folder.
>
>             On Oct 31, 2015 14:06, "Nabeel" <nabeelshikder at gmail.com
>             <mailto:nabeelshikder at gmail.com>> wrote:
>
>                 Did you compile Opensips with TLS enabled or is it
>                 enabled by default?
>
>                 On 31 Oct 2015 08:32, "John Mathew"
>                 <john.mathew at divoxmedia.com
>                 <mailto:john.mathew at divoxmedia.com>> wrote:
>
>                     File path in the config is correct. All other
>                     modules successfully loaded. Only TLS is having
>                     the issue.
>
>                     On Oct 31, 2015 13:42, "Nabeel"
>                     <nabeelshikder at gmail.com
>                     <mailto:nabeelshikder at gmail.com>> wrote:
>
>                         Seems like a file path issue.  Check path to
>                         modules folder.
>
>                         On 31 October 2015 at 07:32, John Mathew
>                         <john.mathew at divoxmedia.com
>                         <mailto:john.mathew at divoxmedia.com>> wrote:
>
>                             I have tried installing in both Ubuntu and
>                             Centos 6.4. Same issue on both platform.
>                             I think this is some sort of bug in
>                             Opensips 2.1.
>
>                             On Sat, Oct 31, 2015 at 12:48 PM, John
>                             Mathew <john.mathew at divoxmedia.com
>                             <mailto:john.mathew at divoxmedia.com>> wrote:
>
>                                 In config that is already given.
>
>                                 On Oct 31, 2015 12:11, "Hamid R.
>                                 Hashmi" <hamid2kviii at hotmail.com
>                                 <mailto:hamid2kviii at hotmail.com>> wrote:
>
>                                     Load module proto_tls.
>
>                                     On 31 Oct 2015 10:58, John Mathew
>                                     <john.mathew at divoxmedia.com
>                                     <mailto:john.mathew at divoxmedia.com>>
>                                     wrote:
>                                     >
>                                     > Hi,
>                                     >
>                                     > Anybody knows why this happens
>                                     when loading tls module in
>                                     opensips 2.1?
>                                     > Openssl ans openssl-devel is
>                                     install.
>                                     > libssl files are in /usr/lib64
>                                     >
>                                     > Oct 31 01:23:44 SERVER24
>                                     opensips:
>                                     ERROR:core:sr_load_module: could
>                                     not open module <proto_tls.so>:
>                                     proto_tls.so: cannot open shared
>                                     object file: No such file or directory
>                                     > Oct 31 01:23:44 SERVER24
>                                     opensips: ERROR:core:load_module:
>                                     failed to load module
>                                     > Oct 31 01:23:44 SERVER24
>                                     opensips: CRITICAL:core:yyerror:
>                                     parse error in config file
>                                     /usr/local/opensips/etc/opensips/opensips.cfg,
>                                     line 30, column 13-14: failed to
>                                     load module proto_tls.so#012
>                                     >
>                                     >
>                                     > Thanks.
>                                     _______________________________________________
>                                     Users mailing list
>                                     Users at lists.opensips.org
>                                     <mailto:Users at lists.opensips.org>
>                                     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>                             -- 
>                             John Mathew Divox International Inc. |
>                             Divox FZ LLC
>                             +971-7-243-1145 <tel:%2B971-7-243-1145>
>                             +91-9037-100001
>                             	
>                             john.mathew at divoxmedia.com
>                             <mailto:jake.mathew at divoxmedia.com>
>                             www.divoxmedia.com
>                             <http://www.divoxmedia.com/>
>                             375 Park Avenue, Seagram Building, Suite:
>                             2607, New York City, New York, USA - 10152
>                             <https://www.linkedin.com/pub/john-mathew/20/634/642>
>
>
>                             _______________________________________________
>                             Users mailing list
>                             Users at lists.opensips.org
>                             <mailto:Users at lists.opensips.org>
>                             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>                         _______________________________________________
>                         Users mailing list
>                         Users at lists.opensips.org
>                         <mailto:Users at lists.opensips.org>
>                         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>                     _______________________________________________
>                     Users mailing list
>                     Users at lists.opensips.org
>                     <mailto:Users at lists.opensips.org>
>                     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>                 _______________________________________________
>                 Users mailing list
>                 Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>                 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>             _______________________________________________
>             Users mailing list
>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> John Mathew Divox International Inc. | Divox FZ LLC
> +971-7-243-1145
> +91-9037-100001
> 	
> john.mathew at divoxmedia.com <mailto:jake.mathew at divoxmedia.com>
> www.divoxmedia.com <http://www.divoxmedia.com/>
> 375 Park Avenue, Seagram Building, Suite: 2607, New York City, New 
> York, USA - 10152
> <https://www.linkedin.com/pub/john-mathew/20/634/642>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151102/667f9efd/attachment-0001.htm>


More information about the Users mailing list