[OpenSIPS-Users] cachedb_redis :: cachedb_url => FQDN not working

Răzvan Crainea razvan at opensips.org
Tue Jul 15 10:49:45 CEST 2014


Hi, Gary!

Can you extract some info from the core dump? You can follow the last 
part of this[1] tutorial.

[1] http://www.opensips.org/Documentation/TroubleShooting-Crash

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 07/14/2014 11:27 PM, Gary Nyquist wrote:
> Hi Razvan..
> I applied the patch and rebuilt opensips.
> Now it fails to start with follwoing error:
> kernel: opensips[16450]: segfault at 0 ip 00007f4395246ab3 sp
> 00007fff7e646238 error 6 in libc-2.12.so[7f4395112000+18b000]
> Any idea, whay it could be segfaulting?
> BR
> -Gary
> *Sent:* Friday, July 11, 2014 at 8:23 AM
> *From:* "Răzvan Crainea" <razvan at opensips.org>
> *To:* users at lists.opensips.org
> *Subject:* Re: [OpenSIPS-Users] cachedb_redis :: cachedb_url => FQDN not
> working
> Hi, Gary!
>
> I've just created a patch[1] for this. Can you please apply it on your
> sources and then retest?
>
> [1] http://pastebin.com/TuEZ26Qz
>
> Best regards,
>
> Razvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 07/11/2014 01:49 PM, Bogdan-Andrei Iancu wrote:
>  > Hi Gary,
>  >
>  > I checked with Razvan the code and it seems to be a glitch in there
>  > (FQDN versus IP) - we are working on fixing it asap.
>  >
>  > Thanks and regards,
>  >
>  > Bogdan-Andrei Iancu
>  > OpenSIPS Founder and Developer
>  > http://www.opensips-solutions.com
>  >
>  > On 11.07.2014 00:00, Gary Nyquist wrote:
>  >> I am setting the FQDN like this:
>  >> modparam("cachedb_redis",
>  >>
> "cachedb_url","redis:cluster://rediscluster.vhrurm.0001.use1.cache.amazonaws.com:6379/")
>  >>
>  >> No complains by "opensips -c"
>  >> On starting, the log gets filled with error messages, starting with
>  >> the following line:
>  >> ERROR:cachedb_redis:redis_connect_node: failed to open redis
>  >> connection rediscluster.vhr�#030:6379 - Name or service not known
>  >> BR
>  >> -Gary
>  >> *Sent:* Thursday, July 10, 2014 at 12:41 PM
>  >> *From:* "Bogdan-Andrei Iancu" <bogdan at opensips.org>
>  >> *To:* "OpenSIPS users mailling list" <users at lists.opensips.org>, "Gary
>  >> Nyquist" <gn62 at gmx.us>
>  >> *Subject:* Re: [OpenSIPS-Users] cachedb_redis :: cachedb_url => FQDN
>  >> not working
>  >> Hi,
>  >>
>  >> By not working, what do you mean ? do you get some error ? simply not
>  >> connecting ?
>  >>
>  >> Regards,
>  >> Bogdan-Andrei Iancu
>  >> OpenSIPS Founder and Developer
>  >> http://www.opensips-solutions.com
>  >> On 10.07.2014 18:59, Gary Nyquist wrote:
>  >>
>  >> Hi,
>  >> I am trying to use the FQDN for specifying the 'cachedb_url' like
>  >> this:
>  >> modparam("cachedb_redis",
>  >> "cachedb_url","redis:cluster://my_redis_server.com:6379/")
>  >> But it is not working;
>  >> Whereas the following is working fine:
>  >> modparam("cachedb_redis",
>  >> "cachedb_url","redis:cluster://10.0.0.228:6379/")
>  >> What needs to be done to make the FQDN to work?
>  >> Thanks
>  >> -Gary
>  >>
>  >> _______________________________________________
>  >> Users mailing list
>  >> Users at lists.opensips.org
>  >> 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
>  >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> 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
>



More information about the Users mailing list