Applying license keys

This tech note describes how to apply updated license keys for your installation of EMG and EMG Portal.

EMG server

The license data goes into file “license”. The full path of the license file depends on your installation, but two common locations are:

  • /home/emg/etc/license
  • /etc/emg/license

Edit the file to reflect the new license information. No restart is required.

The information must be entered exactly as received. Make sure there are no extra spaces or strange line endings in the file. Each keyword must be on its own line.

Run “emgd -v” after editing the file to make sure EMG can read the license information correctly.

Sample license data

The license data string “17/Jun/2016-17/Jun/2016-10-115-1” means that

  • License expires on 17/Jun/2016 (“0” would mean perpetual, no license expiry)
  • Support expires on 17/Jun/2016
  • License is for 10 mps
# Enterprise Messaging Gateway 7 - License file
HOSTID=
COMPANY=DEMO
TELNO=123456
SERIAL=emgDEMO
LICENSEDATA=17/Jun/2016-17/Jun/2016-10-115-1
ACTIVATION=7DC688152E8735617C813F2AA3A31C0E635D3D3C

EMG Portal

The license data goes into this file:

/var/www/html/emgportal/protected/emgportal_eval.txt

Edit the file to reflect the new license information. No restart is required.

Sample license data

Expires on: 2019-09-01

------ LICENSE FILE DATA -------
771VXY1VJfzhgOSU6bDiHMCcEapEeJub
If6IIdT1Qzrs5IPsqIXtO20LrjZ9aqP8
rITI6dgyTSdsRQn+aTkhk9MuPRKAWAGp
KqlAAsTMg4frdzBbUZbTa+Gy9H1b2K69
wKIoW+kWG5KcKHMPAMvNnpon4iNGLajI
A65It/xygFN1XiBKfjlpE2HHGqAqOk3L
oR+/9GMBgRTRYOZ5awuThTAcPId/2i/T
jeyGM2O9eBnQWk8zG++S67lluyaG+umV
LuRHDRF8Kl8I604ChzgW3CAU
--------------------------------