Article ID: 125239, created on Apr 17, 2015, last review on Apr 17, 2015

  • Applies to:
  • Business Automation 5.5

Symptoms

On BA Home> System> Information> Hotfixes screen an error is shown:

"The operation has failed with the error code:256."

or

The problem occurred during the operation. Please contact Support or System Administrator.

Cause

To retrieve the list of hotfixes BA uses the following command:

sudo -n /usr/local/bm/tools/pba-hotfixes.pl -q -l list --quiet

In BA 5.5 processes run under user "pba" and BA does create appropriate configuration file to allow user pba to run this command via sudo:

[root@pba ~]# cat /etc/sudoers.d/pba-hotfixes 
Defaults !requiretty 
Cmnd_Alias PBAHOTFIXES = /usr/local/bm/tools/pba-hotfixes.pl 
pba ALL=(ALL) NOPASSWD: PBAHOTFIXES`

However /etc/sudoers file can be customized, so that it does not check /etc/sudoers.d directory

Resolution

Make sure there is the following directive in /etc/sudoers file

## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496

Email subscription for changes to this article
Save as PDF