Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Installing COBOL 5.0 development license fails

    • Article Type: General
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Problem Symptoms:

    When installing the COBOL license on a new server (following instructions of Knowledge Base article 'How to reinstall Cobol license' (KB 16384-58849) fails with the following error:

    Error: Failed to install the COBOL (server express 5.0) development license
    When in aleph user, doing dlib abc50 always prints this message:

    No Application Server License available at COBDIR location:

    old files from COBOL 5.0 are present on the server


    Clean up those files before executing the scripts cob_dev_lic and cob_run_lic mentioned in KB Item How to reinstall COBOL license

    Carry out the following steps as UNIX user root:

    1. Check if the License Manager is running:

    # pgrep -lf mflm_manager

    If the License Manager is running the command above will return a process ID.

    2. If the License Manager is running then stop it with the following command:

    # /opt/microfocus/mflmf/lmfgetpv k

    If this command does not stop the License Manager then kill its operating system process with the UNIX command "kill".

    3. Check if a Named Pipe with the name LMF-common exists in the directory /tmp or /var/tmp:

    # ls -l /tmp/LMF-common
    prwxrwxrwx 1 root root 0 Jan 29 08:48 /tmp/LMF-common

    If the Named Pipe exists, remove it:

    # rm /tmp/LMF-common

    4. Delete the following files and directories related to the development license:

    # ls -ld /var/*mf*
    -rw-rw-rw- 1 root root 0 Mar 15 2011 /var/aslmfsem
    drwxr-xr-x 2 root root 4096 Mar 22 2011 /var/mfaslmf

    # rm /var/aslmfsem
    # rm -rf /var/mfaslmf

    5. Remove any existing shared memory segments that were allocated by the License Manager:

    # ipcs -m | grep root | awk '{print $2}' | xargs -t -i{} ipcrm -m {}

    6. Remove the startup script of the License Manager:

    # rm /etc/mflmrcscript

    7. Remove the root directory of the License Manager:

    # rm -rf /opt/microfocus

    8. Continue with instructions of 'How to reinstall Cobol license' (KB 16384-58849) to install the license.



    Additional Information


    See also Article "How to reinstall the licenses of the COBOL environment for Aleph" :

    • Article last edited: 12/01/2017