[OpenSIPS-Users] cachedb_redis

Vlad Paiu vladpaiu at opensips.org
Fri Apr 20 16:24:33 CEST 2012


Hi Miha,

Do NOT copy libhiredis.so in the opensips modules folder.
Just install hiredis it as usual on your server ( from sources, or 
packages if they are available for your OS ) and leave it there.

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 04/20/2012 03:05 PM, Miha wrote:
> HI,
>
> I have installed redis server and instal hiredis as is written on link 
> from Opensips.
>
> Than I copied libhiredis.so to /usr/local/lib64/opensips/modules/.
>
> After runing opensips I get this. What could be causing problem?
>
> THanks!
>
> [root at localhost hiredis]# /etc/init.d/opensips start
> Not starting : invalid configuration file!
>
> Apr 20 13:19:23 [4603] ERROR:core:sr_load_module: load_module: 
> /usr/local/lib64/opensips/modules/libhiredis.so: undefined symbol: exports
> Apr 20 13:19:23 [4603] CRITICAL:core:yyerror: parse error in config 
> file /usr/local/etc/opensips/opensips.cfg, line 38, column 13-14: 
> failed to load module
> Apr 20 13:19:23 [4603] ERROR:core:set_mod_param_regex: no module 
> matching cachedb_redis found
> Apr 20 13:19:23 [4603] CRITICAL:core:yyerror: parse error in config 
> file /usr/local/etc/opensips/opensips.cfg, line 43, column 19-20: 
> Parameter <cachedb_url> not found in module <cachedb_redis> - can't set
> Apr 20 13:19:23 [4603] CRITICAL:core:yyerror: parse error in config 
> file /usr/local/etc/opensips/opensips.cfg, line 43, column 20-21: 
> syntax error
> Apr 20 13:19:23 [4603] CRITICAL:core:yyerror: parse error in config 
> file /usr/local/etc/opensips/opensips.cfg, line 43, column 20-21:
> Apr 20 13:19:23 [4603] ERROR:core:main: bad config file (4 errors)
>
>
> _______________________________________________
> 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/20120420/beb78ac6/attachment.htm>


More information about the Users mailing list