[Spce-user] Rate-o-mat Missing Billing DB User

Robert Cuaresma rcuaresma at telcon.es
Fri Jul 15 17:43:49 EDT 2016


Hi community,

I have a spce 2.8 version and billing status is unrated. If I run command rate-o-mat restart I have this error:
Missing billing DB user setting. at /usr/sbin/rate-o-mat line 33.

Log of /var/log/ngcp/rate-o-mat.log:
Jul 15 23:23:53 softswitch rate-o-mat[1318]: Error executing update cdr statement: MySQL server has gone away
Jul 15 23:23:53 softswitch rate-o-mat[1318]: Caught DBI:err 2006
Jul 15 23:23:53 softswitch rate-o-mat[1318]: DB connection gone, retrying...
Jul 15 23:23:53 softswitch rate-o-mat[1318]: Trying to connect to billing db...
Jul 15 23:23:53 softswitch rate-o-mat[1318]: Successfully connected to billing db...
Jul 15 23:23:53 softswitch rate-o-mat[1318]: Trying to connect to accounting db...
Jul 15 23:23:53 softswitch rate-o-mat[1318]: Successfully connected to accounting db...
Jul 15 23:23:53 softswitch rate-o-mat[1318]: rate cdr #375191
Jul 15 23:23:53 softswitch rate-o-mat[1318]: missing destination profile, so we can't calculate destination_reseller_cost for destination_provider_info $VAR1 = {#012
       'contract_id' => '1',#012          'profile_id' => undef,#012          'class' => 'reseller'#012        };
Jul 15 23:23:53 softswitch rate-o-mat[1318]: rate cdr #375200

It seems that can be a problem with MySQL but I don't know how solve this. I restarted the server but the problem persist.

Any idea?

Thanks a lot.

Robert Cuaresma

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20160715/3febc1d2/attachment.html>


More information about the Spce-user mailing list