[Spce-user] cdr-exporter error?

Alex Lutay alutay at sipwise.com
Wed May 27 04:12:31 EDT 2015


Dear Serge,

Please share your NGCP version next time, in my case line 72 reports 
warning on fetching data from MySQL:

> my $COLLID = "exporter";
> my %MARKS;      # last seq etc
> {
>         my $s = $DBH->prepare("select acc_id from mark where collector = ?");
>         for my $mk (qw(lastid lastseq)) {
>                 $s->execute("$COLLID-$mk") or die($DBH->errstr);
>                 my $r = $s->fetch;  # <------------ line 72

So, you can manually check/share the content of you table accounting.mark:

> mysql -e "select * from accounting.mark"

having this information we can continue checking reason of warning.

Thank you for your report!

On 05/25/2015 01:48 PM, Serge S. Yuriev wrote:
> We started to receive strange error messages from server
>
> From: Cron Daemon <root>
> To:<masked>
> Subj: Cron <root at sbc1>    . /etc/default/ngcp-roles; if
> /usr/sbin/ngcp-check_active -q && [ "$NGCP_IS_MGMT" = "yes" ] ; then
> /usr/sbin/cdr-exporter >/dev/null; fi
>
> Use of uninitialized value in join or string at /usr/sbin/cdr-exporter
> line 72.

-- 
Alexander Lutay



More information about the Spce-user mailing list