[Spce-user] Error in /usr/sbin/event-exporter after apt-get upgrade

Andrew Pogrebennyk apogrebennyk at sipwise.com
Thu Dec 4 06:30:06 EST 2014


Hi,
I think I know what's the problem, the file
/etc/ngcp-config/templates/etc/ngcp-cdr-exporter/event-exporter.conf.tt2
should have a trailing comma in line EXPORT_CONDITIONS, e.g.:

# important last comma if there is just one
EXPORT_CONDITIONS = { 'accounting.events.export_status' => { '=' =>
'"unexported"' } },

We'll push a fix for this asap.
Thanks.
Andrew

On 12/02/2014 10:48 AM, Barry Flanagan wrote:
> Hi
> 
> On a system already running mr3.4.2 SPCE I recently did an "apt-get
> update && apt-get dist-upgrade" followed by "ngcpcfg apply".
> 
> System seems to be running OK. However I am getting the following error
> when the nightly cron job runs /usr/sbin/event-exporter:
> 
> Can't use string ("{ accounting.events.export_statu"...) as an ARRAY ref
> while "strict refs" in use at /usr/sbin/event-exporter line 80.
> 
> Any ideas? The accounting.events table is empty.
> 
> Thanks
> 




More information about the Spce-user mailing list