[OpenSIPS-Users] opensips 2.2 getting failed to load module error while start

Răzvan Crainea razvan at opensips.org
Wed Dec 20 03:36:35 EST 2017


Please run the following commands in your source code.

cd modules/db_mysql
make proper
make
cd -

And send over the output.

Best regards,

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

On 12/20/2017 09:56 AM, Ketan Kothari wrote:
> Hello Ravan,
>
> Thanks for your reply.
> I have installed opensips using source also tried to update 
> mariadb-devel but it is in latest version.
>
>
> On Tue, Dec 19, 2017 at 9:20 PM, Răzvan Crainea <razvan at opensips.org 
> <mailto:razvan at opensips.org>> wrote:
>
>     Hi, Ketan!
>
>     How did you install your opensips? Did you try to update the
>     mysql-devel/mariadb-devel package?
>
>     Best regards,
>
>     Răzvan Crainea
>     OpenSIPS Developer
>     www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     On 12/19/2017 05:32 PM, Ketan Kothari wrote:
>>     Hello Guys,
>>
>>     *ERROR* :#opensips
>>     Dec 19 16:29:56 [15058] ERROR:core:sr_load_module: could not open
>>     module </usr/lib64/opensips/modules/db_mysql.so>:
>>     libmysqlclient.so.20: cannot open shared object file: No such
>>     file or directory
>>     Dec 19 16:29:56 [15058] ERROR:core:load_module: failed to load module
>>     Dec 19 16:29:56 [15058] CRITICAL:core:yyerror: parse error in
>>     config file /usr/local//etc/opensips/opensips.cfg, line 36,
>>     column 13-14: failed to load module db_mysql.so
>>
>>     Dec 19 16:29:56 [15058] ERROR:core:main: bad config file (1 errors)
>>     Dec 19 16:29:56 [15058] NOTICE:core:main: Exiting....
>>
>>
>>     [root at opensips_2_2]#*find / -name db_mysql.so*
>>     /usr/lib64/opensips/modules/db_mysql.so
>>     /usr/local/lib64/opensips/modules/db_mysql.so
>>     /usr/src/opensips_2_2/modules/db_mysql/db_mysql.so
>>
>>     [root at opensips_2_2]# *locate libmysqlclient*
>>     /usr/lib64/libmysqlclient.a
>>     /usr/lib64/libmysqlclient.so
>>     /usr/lib64/libmysqlclient.so.18
>>     /usr/lib64/libmysqlclient.so.18.0.0
>>     /usr/lib64/libmysqlclient_r.a
>>     /usr/lib64/libmysqlclient_r.so
>>     /usr/lib64/libmysqlclient_r.so.18
>>     /usr/lib64/libmysqlclient_r.so.18.0.0
>>
>>     Server :*CentOS Linux release 7.4.1708 (Core)*
>>     Mariadb Server version: *5.5.56-MariaDB MariaDB Server*
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     <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
>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> 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/20171220/e1c293e8/attachment.html>


More information about the Users mailing list