[Spce-user] billing issues in a development environment

Andreas Granig agranig at sipwise.com
Tue Mar 27 10:17:33 EDT 2012


Hi,

On 03/27/2012 03:58 PM, Joan Cifre (ibred) wrote:
> when I try this command I'm getting the message
> Missing billing DB user setting. at /usr/sbin/rate-o-mat line 36

The correct command is actually "/etc/init.d/ngcp-rate-o-mat start".

Don't try to start /usr/sbin/rate-o-mat directly, just in case you tried
that, because it takes its config vars from the environment, which are
set by the init script. One other way to start it is:

. /etc/default/ngcp-rate-o-mat # note the dot in front of the command!
/usr/sbin/rate-o-mat

Anyways, this is essentially what the init script does, so just use that.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20120327/394b4826/attachment.asc>


More information about the Spce-user mailing list