Search Engine: Elastic

Article ID: 124267, created on Jan 23, 2015, last review on Jan 23, 2015

  • Applies to:
  • Business Automation 5.5

Symptoms

During PBA update installation on the step of post-configuration (configure.pl run) configureLocale.pl script fails with the following error:

[Tue Aug 12 15:49:51 2014] Execute: '/usr/bin/perl "/usr/local/bm/tools/configureLocale.pl" syncLocalesFromDB -w -t en,'
Bad formed string '
' in PBA locale file /usr/local/bm/conf/locale/locale.en.custom line 36 at /usr/local/bm/tools/locale_tools.pm line 265.
[Tue Aug 12 15:49:51 2014] Connect 'dbi:Pg:database=pba;host=192.168.42.16;', pba
[Tue Aug 12 15:49:51 2014] Syncronize multilang fields for locale(s): en
[Tue Aug 12 15:49:51 2014] [Call stack]:
[Tue Aug 12 15:49:52 2014]     'helper::msystemex' at helper.pm line 574
[Tue Aug 12 15:49:52 2014]     'helper::msystem' at /usr/local/bm/tools/configure.pl line 585
[Tue Aug 12 15:49:52 2014]     'main::configure_locales' at /usr/local/bm/tools/configure.pl line 650
[Tue Aug 12 15:49:52 2014]     'main::configure' at /usr/local/bm/tools/configure.pl line 161
[Tue Aug 12 15:49:52 2014] PWD: /usr/local/bm/tools
Command '/usr/bin/perl "/usr/local/bm/tools/configureLocale.pl" syncLocalesFromDB -w -t en,' exited with error code 65280 at helper.pm line 576.
Configuration of pba failed.

Cause

There is a blank line in PBA locale file.

Resolution

If exact file name is not clear from the error, it can be found using the following command:

grep -cvP '\S' /usr/local/bm/conf/locale/locale.*

F.e.:

[root@pba ~]# grep -cvP '\S' /usr/local/bm/conf/locale/locale.*
/usr/local/bm/conf/locale/locale.en:0
/usr/local/bm/conf/locale/locale.en.custom:1

To resolve the issue it is needed to edit affected file (/usr/local/bm/conf/locale/locale.en.custom in above example) and remove the blank line

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496

Email subscription for changes to this article
Save as PDF