Problem:
Trying to compile a program, get the following compilation error:
$ cob -i tictac.cbl
Execution error : file ''
error code: 247, pc=0, call=1, seg=0
247 Licensing error (Error[5]: Cannot talk to the license server on host "127.0.0.1". Server may not be running.)
cob64: error(s) in compilation: tictac.cbl
Resolution:
Check to see if the license server process (lserv) is running or not:
$ ps -eaf | grep lserv
root 13952 13848 0 07:36 pts/1 00:00:00 grep lserv
If "lserv" is not running, then start the license server:
[root@/var/microfocuslicensing/bin]# ./startlserv.sh
Sentinel RMS Development Kit 8.2.3.400 License Management Server
Copyright (C) 2009 SafeNet, Inc.
Initializing. Please wait ...
#EnterpriseDeveloper
#MFDS