Quantcast
Channel: RM/COBOL Knowledge Base
Viewing all 82 articles
Browse latest View live

How can I recover from Lock file lock error 13: Permission denied?

$
0
0
Revision 2 posted to RM/COBOL Knowledge Base by Steve Jolivet on 11/1/2018 2:46:59 PM

Problem:

How can I recover from "Lock file lock error 13: Permission denied"?

Resolution:

If you get an "unauthorized use of runtime error", or an Loc 801, 802, 804, 806, or 807 error on a UNIX/Linux system, run the command:

rmucutil <serial number with use count > runtime details

where <serial number with use count > is the registration number with the use count as displayed by the runtime banner.

If this returns: "Lock file lock error 13: Permission denied", try removing the lock file:


32-bit: rm -rf /tmp/.RmCobolUC32

64-bit: rm -rf /tmp/.RmCobolUC64


 

 

If you still get the error, try clearing shared memory and semaphores. If that does not work, check the license.vlt file permissions. These should be 666.

If all else fails, reboot the system.

    

Old KB# 4674

Applying licenses for installed Liant products

$
0
0
Revision 4 posted to RM/COBOL Knowledge Base by Steve Jolivet on 11/28/2017 2:57:05 PM

This article describes the method for applying a license to an installed Liant product, without, requiring a reinstall of the product.

Problem:

To apply a new license on your system, you will need to use the License Utility, which installs the new license into the existing license vault. This utility program, licverifyall, is located in the SupportTools subdirectory of the installation directory.

Resolution:

You may install a new license while users continue to use the application. Note, however, that for all the changes to take effect, you will either need to restart the application or, for some server-based applications, restart the service or reboot the machine.

To install a new license, follow these steps:


  1. Locate the product installation directory.
  2. Place the new license, *.lic, into the SupportTools subdirectory and rename it to liant.lic.
  3. Execute the licverifyallprogram located in SupportTools, with no parameters.

    The program will find the new license and the existing vault and insert the new license into the vault. Status messages will indicate where the license file and vault are located, and which new licenses have been installed.

Note: On Windows Vista systems, a new use count will not take effect until the “Liant RMUC“ Service is restarted. This can be accomplished by restarting the system, or an administrator can restart the service without needing to restart the system.
Note: On UNIX and Linux systems, if the rmdaemon is running, it will not accept a new license.vlt with a different Use Count. The error message on versions prior to version 9 will report "Error invoking unauthorized copy of runtime." Version 9 and above will report "Use Count Mismatch."

If a new license adds Use Count, wait until the rmdaemon is no longer running, reboot the system, or use kill -15 to kill the rmdaemon. Do this only when no COBOL programs are running. DO NOT use kill -9; that will likely leave shared memory or semaphores locked.

Old KB# 14357
Tags: COBOL, licensing, RM/COBOL
Viewing all 82 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>