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

Andrew Pogrebennyk apogrebennyk at sipwise.com
Mon Dec 15 03:54:07 EST 2014


Hi,
just to follow-up, this has been resolved (added missing comma) in new
templates versions mr3.6.2.2 and mr3.5.1.19 last week.

Regards,
Andrew

On 12/04/2014 12:30 PM, Andrew Pogrebennyk wrote:
> 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
>>
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
> 




More information about the Spce-user mailing list