cgr-loader loading problem

107 views
Skip to first unread message

Jan Opravil

unread,
Jun 2, 2016, 5:52:49 AM6/2/16
to CGRateS
Hello,

    I'm trying to load trafiff plan using cgr-loader with this parameters below, but I'm getting this error. Ip address of redis-master.femoz.net is 192.168.2.21. Redis database is on different server than cgrates instance. What I'm doing wrong?

Error:
dial tcp 127.0.0.1:6379: getsockopt: connection refused
2016/06/02 11:42:27 Destinations:
dial tcp 127.0.0.1:6379: getsockopt: connection refused
2016/06/02 11:42:27 Could not write to database: dial tcp 127.0.0.1:6379: getsockopt: connection refused



#cgr-loader -flushdb -verbose -validate -datadb_host=redis-master.femoz.net -datadb_name=11 -datadb_passwd="" -datadb_port=6379 -datadb_type=redis -datadb_user="" -path=/tmp/tariff-plans

DanB

unread,
Jun 2, 2016, 6:03:02 AM6/2/16
to cgr...@googlegroups.com
I think your params for tp_db are wrong.

DanB
--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/fa6db5f0-71d8-4b5b-8991-a110ef1e2540%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jan Opravil

unread,
Jun 8, 2016, 9:31:09 AM6/8/16
to CGRateS
Thank you Dan it helped
Reply all
Reply to author
Forward
0 new messages