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

    AIK: Step 6.2 (Run test compilation) fails

    • Article Type: General
    • Product: Aleph
    • Product Version: 18; 23

    [See "Additional Information" at the bottom of the article for another case of the "test_cobol.gnt compilation is not successful"
    error with a different solution.]

    v18 case:

    ------------

    Description:
    the AIK step 6.2 - Run test compilation fails with the message:

    Run test compilation

    Error: the test compile procedure has failed

    Press any key to continue

    The aleph_installation_kit.log reports errors with the COBOL compilation:

    Checking Cobol compilation...
    cob: can not create temporary directory /tmp?/cob15914
    iprou: test_compile test_cobol
    mv: cannot access test_cobol.gnt
    Error: test_cobol.gnt compilation is not successful

    Checking create_rts...
    create rts
    cob: can not create temporary directory /tmp</cob15964
    mv: cannot access /exlibris/aleph/a20_1/aleph/exe/rts32x
    ==============================================
    End of the compilation check
    ==============================================

    Error: the test compile procedure has failed
    Wed Dec 9 14:28:06 MET 2009 Step ikit_6_2 [ Failed ]


    The /tmp-directory exists nevertheless with following properties:

    (alephneub):/exlibris/ftp_from_exlibris/aik/log # ls -l /tmp/
    total 16
    drwxrwxr-x 2 aleph exlibris 189 Dec 9 14:27 201_sun_studio_11
    drwxr-xr-x 2 aleph exlibris 117 Dec 9 14:23 hsperfdata_aleph



    But not a /tmp? or a /tmp<

    Resolution:

    Cause of error:
    ---------------
    The contents of the options file /exlibris/product/cobol_4.0/cobopt in the COBOL environment Micro Focus COBOL 4.0 were incorrect.

    Incorrect:

    -C nolist
    -C linkcount=900
    set TMPDIR=/tmp

    Correct:

    -C nolist


    I cannot explain how this incorrect file was included in the 3rd-party products installation package of Aleph 20.
    I will request a correction of the package.

    Implemented solution:
    ---------------------
    Corrected the file /exlibris/product/cobol_4.0/cobopt as described above.

    Then I executed Step 6.2 of the Aleph 20 Installation Kit.

    Result: the compilation test ran successfully, as can be seen in the log file aleph_installation_kit.log . 

     

     

    v23 Case (00201252):

    -----------------------------

     

    The actual problem with the compile is: 


    Checking Cobol compilation... 
    Micro Focus LMF - 010: Unable to contact license manager. This product has been unable to contact the License Manager. Execution of this product has been terminated. This product cannot execute without the License Manager. Contact your license administrator or refer to the 'Information Messages' chapter of the License Management Facility Administrator's Guide. 
    cob32: error(s) in compilation: /exlibris/aleph/a23_1/alephm/scratch/compile_cbl_files/test_cobol.cbl 
    iprou: test_compile test_cobol 
    mv: cannot stat 'test_cobol.gnt': No such file or directory

     

    Later:

    manually running /exlibris/ftp_from_exlibris/aik23/; bash cob_dev_lic 
     
    MF-LMF:Wed Feb 17 11:08:46 2016: LMF Starting 
    MF-LMF:Wed Feb 17 11:08:46 2016: There is already a copy of control running! 
    MF-LMF:Wed Feb 17 11:08:46 2016: EEXIST(17): File exists 
    MF-LMF:Wed Feb 17 11:08:46 2016: LMF Closing Down 
    [root@libprddb04 aik23]# lsof |grep microfocus 
    mflm_mana 17929 root cwd DIR 253,1 6 51276841 /opt/microfocus/mflmf (deleted) 
    mflm_mana 17929 root txt REG 253,1 62599 51276850 /opt/microfocus/mflmf/mflm_manager (deleted) 
    mflm_mana 17929 root DEL REG 253,1 67160064 /opt/microfocus/mflmf/lib/cobmfini.so.2 
    mflm_mana 17929 root DEL REG 253,1 67150966 /opt/microfocus/mflmf/lib/cobmffh.so.2 
    mflm_mana 17929 root DEL REG 253,1 67160065 /opt/microfocus/mflmf/lib/libcobscreen.so.2 
    mflm_mana 17929 root DEL REG 253,1 67150972 /opt/microfocus/mflmf/lib/libcobmisc.so.2 
    mflm_mana 17929 root DEL REG 253,1 67150959 /opt/microfocus/mflmf/lib/libcobcrtn.so.2 
    mflm_mana 17929 root DEL REG 253,1 67261478 /opt/microfocus/mflmf/lib/libcobrts.so.2 
    [root@libprddb04 aik23]# kill 17929

     

    (on libprddb04) Part of the cobol licensing system had survived a previous cleanup attempt, and was preventing the license from being installed after the cleanup. 

    For your re-install on libprddb03, in addition to deleting everything in /exlibris (except ftp_from_exlibris), take care to delete /opt/microfocus, then reboot the server before attempting to re-install. 

    The following error is NOT important and can be ignored: 
    cp: cannot stat '/exlibris/product/cob51u11/etc/cobopt.x86_64': No such file or directory

     

    It was necessary to reboot the libprddb03 before continuing with the install.   AIK 6.2 now succeeds.

     

    --NOTE--  For v23 TWO_TASK installation see the article  v23 AIK step 6.2: "compile_ora compilation is not successful"  .

    Additional Information

    Another v23 case of the "test_cobol.gnt compilation is not successful" error in AIK step 6.2 was this....

    The /exlibris/ftp_from_exlibris/AIK23/log/aleph_installation_kit.log had this:

    ==============================================
                Start the compilation check
    ==============================================

    Checking compile_ora...
    OK

    Checking compile_pc...
    OK

    Checking compile_cc...
    OK

    Checking Cobol compilation...
    Error: test_cobol.gnt compilation is not successful  <--

    Checking create_rts...
    OK
    ==============================================
                End of the compilation check
    ==============================================

    Though I didn't see any "Unable to contact License Manager" errors in the /exlibris/ftp_from_exlibris/AIK23/log/aleph_installation_kit.log, I've found the following to be something very easy which sometimes works....

    As suggested in the article "Unable to contact license manager; error installing service pack .", I did the following: 

    root@aleph-test-01  /exlibris/ftp_from_exlibris/AIK23/log $ cd /etc  
    root@aleph-test-01  /etc $ ./mflmrcscript
    Starting MFLM License Manager
    MF-LMF:Thu Dec  7 16:20:56 2017: LMF Starting

    Then I tried AIK step 6.2 ("Run test compilation") again, and got this:

    ...
    Checking Cobol compilation...
    OK
    ...

    and was able to proceed with the other steps.

     


    • Article last edited: 7-Dec-2017