Search Engine: Elastic

Article ID: 120052, created on Feb 10, 2014, last review on Apr 2, 2018

  • Applies to:
  • Business Automation 7.0
  • Business Automation 7.1
  • Business Automation 7.2
  • Business Automation 7.3
  • Business Automation 5.5
  • Business Automation 5.4


After BA update/upgrade the locale.en (or any other locale) file /usr/local/bm/conf/locale/locale.en is empty, 0 bytes. There can be different symptoms - missing thousand separator, the negative balance of accounts is displayed in turquoise instead of red, "Customer_Abonents" is displayed instead of "Accounts", etc.


The reason of the issue is that the locale.en_US is configured as a link to locale.en:

[root@pba-app ~]# ls -la /usr/local/bm/conf/locale/ |grep en
-rw-r--r-- 1 root root 1389661 Dec 31 14:45 locale.en
lrwxrwxrwx 1 root root       9 Jul 16  2013 locale.en_US -> locale.en

The configuration script copies empty /usr/local/bm/share/language-packs/en/locale.en_US to /usr/local/bm/conf/locale/locale.en_US. And because of a symlink it replaces /usr/local/bm/conf/locale/locale.en as well.

Such behavior is considered as software-related issues:

  • #PBA-54107 - ("The locale.en file may become empty after running the script."), fixed in PBA 5.5.4

  • #PBA-84227 - ("File bm/conf/locale/locale.en becomes empty after running script"), for OSA 7.x, not fixed yet.


Please contact your Technical Account Manager or Pooled Technical Associate to clarify status of the software-related issue.

The issue can be fixed by:

  1. Copy the correct locale file:

    cp /usr/local/bm/share/language-packs/en/locale.en /usr/local/bm/conf/locale/
  2. Restart pba

As a workaround you may remove the symlink before update/upgarde or before running

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 210d017ddc3a076d22f0f865b1cf0730 e12cea1d47a3125d335d68e6d4e15e07 c0f836394088a28cc30dd0e5fe8b600e b2c3b33425dfc50c7d41a2efaa7f84f3 1def515ca613a5505aa21a4affa96e6b ef171e3fccb12bd8e09076a7b49212c0 7c0b495571a6c1bec50e4f324a20ec14

Email subscription for changes to this article
Save as PDF