Service 'Micro Focus Directory Server' (mf_CCCITCP2) failed to start

Service 'Micro Focus Directory Server' (mf_CCCITCP2) failed to start

Problem

The Visual COBOL or COBOL Server setup fails with the following error:

Fano_MF_0-1590091230862.png
"Service 'Micro Focus Directory Server' (mf_CCITCP2) failed to start. Verify that you have sufficient privileges to start system services."

The installation logs also report the following error:

Micro Focus COBOL Server -- Error 1920. Service 'Micro Focus Directory Server' (mf_CCITCP2) failed to start. Verify that you have sufficient privileges to start system services.
Applying execute package: cobolserver_50x86, action: Install, path: C:\ProgramData\Package Cache\{A1DD402A-9C93-4A25-8505-70C3603C4966}v5.0.00256\cs\cobolserver_50x86.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALLDIR="C:\Program Files (x86)\Micro Focus\COBOL Server" ECLIPSEINSTALLDIR="" BUILDSERVER=""'
Error 0x80070643: Failed to install MSI package.
Error 0x80070643: Failed to execute MSI package.
Error 0x80070643: Failed to configure per-machine MSI package.
Applied execute package: cobolserver_50x86, result: 0x80070643, restart: None
Error 0x80070643: Failed to execute MSI package.

Solution

Here are few root causes of this issue:

  • The user does not have the proper permission to install. It requires administrator privileges with write permission on HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT, and HKEY_CURRENT_USER in the registry.
  • The user attempts to install the product on a non-local drive (e.g. a network drive). The product can only be installed on a local drive (e.g. C drive) as Windows is not permitting a service to be started from a non-local resource.
  • There are some Microsoft updates in pending. The machine must be restarted to complete these updates first.
  • Microsoft Visual C++ 2017 Redistributable (x64) is installed on the machine without the x86 version. The Micro Focus Directory Server service requires Microsoft Visual C++ 2017 Redistributable (x86). The setup is supposed to install both x64 and x86 versions of this vcredist when they are not found on the machine:
    • Microsoft Visual C++ 2017 Redistributable (x64) - 14.11.25325
    • Microsoft Visual C++ 2017 Redistributable (x86) - 14.11.25325

However, there is an issue with the setup (RPI 1117391). If vcredist x64 is already installed on the machine, the setup skips the installation of vcredist x86.
Here are the links to download vcredist from Microsoft:
•   x64 — https://go.microsoft.com/fwlink/?LinkId=746572
•   x86 — https://go.microsoft.com/fwlink/?LinkId=746571

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
2 of 2
Last update:
‎2020-05-21 21:42
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.