Hi everyone,
we recently tried upgrading one of our dev environments from VC 7 pu 04 to VC 7 pu 05.
("setup_visualcobol_devhub_7.0_patchupdate04_290113_suse_x64" -> "setup_visualcobol_devhub_7.0_patchupdate05_290480_suse_x64")
We use the option "4. Manual License Installation." as license activation mechanism from /var/microfocuslicensing/bin/cesadmintool.sh
Unfortunately we ran into some licensing issues regarding the MFSafeNet.service, after installing the newest VC 7 pu 05 Version. We get a licensing error, when running cobol programs, eventhough the license still is registered. We had no similiar problems with VC 7 pu 04.
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.)
Apparently the systemd service "MFSafeNet.service" only starts the "lserv" now, but not the "mfcesd" process anymore:
VC 7 pu 04: systemctl status MFSafeNet.service (when active)
CGroup: /system.slice/MFSafeNet.service
|-2200 /var/microfocuslicensing/bin/lserv
`-4180 /var/microfocuslicensing/bin/mfcesd
VC 7 pu 05: systemctl status MFSafenet.service (when active)
CGroup: /system.slice/MFSafeNet.service
`-11869 /var/microfocuslicensing/bin/lserv
When comparing the systemd-files (/usr/lib/systemd/system/MFSafeNet.service), we can see the following difference:
VC 7 pu 04:
[Service]
Type=forking
ExecStart=/var/microfocuslicensing/bin/startboth.sh
ExecStop=/var/microfocuslicensing/bin/stopboth.sh
Restart=no
VC 7 pu 05:
[Service]
Type=forking
ExecStart=/var/microfocuslicensing/bin/startlserv.sh
ExecStop=/var/microfocuslicensing/bin/stoplserv.sh
Restart=no
Why is only "lserv" started anymore in the newest VC 7 patch update 05 and not both "lserv" and "mfcesd". The problem is resolved when calling startboth.sh manually, but this can not be the right solution, because you'd have to call the startboth.sh script after each reboot ?
Yours sincerely
Martin
#license
#VisualCobol7
#MicroFocus
#COBOL
#PatchUpdate05
#LicenseServer
#VisualCOBOL
#VisualCobol7PatchUpdate05