Article ID: 123474, created on Nov 11, 2014, last review on Apr 22, 2015

  • Applies to:
  • Business Automation

Symptoms

Provider synchronizes all licenses using Sync all licenses in Home > Services > Licenses (Business Automation 5.5 and later) or Home > External Systems Director > License Manager > Licenses (Business Automation 5.4 and earlier).

Control panel keeps loading for few minutes and then shows error:

Service Unavailable

Cause

Operation is done synchronously - Business Automation contacts Key Administrator, fetches information of a license and compares it with information it has about it in database. If provider has many licenses, this operation can take 10-15 minutes or more.

Control panel shows Service Unavailable error after timeout specified in Apache configuration on branding server expires - synchronization process keeps running in background though.

Resolution

There are existing requests to optimize or change this behavior:

#PBA-58291 - to avoid synchronization of licenses that have status Terminated in Business Automation;
#PBA-58303 - to move "Sync all licenses" to asynchronous operation.

To resolve the issue it is necessary to increase Apache timeout on branding server.

For Branding server running on legacy Apache hosting.
Add line like

Timeout 600

to file /usr/local/pem/etc/apache/httpd.conf_pem.override and restart Apache:

service pemhttpd restart    

For Apache running on NG web server.
Edit timeout setting in file /etc/httpd/conf/httpd.conf (or if it is redefined in another file in /etc/httpd/conf.d/ - it should be changed there) and restart Apache:

service httpd restart

If branding server is running on NG cluster - above operation should be done on every member of the cluster.

Another way to handle this is to ignore this error as process still keeps running in background and one can trace its execution by checking log file /usr/local/bm/log/KAGATE.log on Business Automation server.

Note: Generally there is no need to start synchronization of all licenses, because Business Automation automatically performs full synchronization of KA plugins (including synchronization of all licenses) once a day by means of a periodic task.

Search Words

Sync All Licenses

KA plug-in

down

service unavailable

KA synchronization

sync license

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF