Software Publisher License Management FAQ
To see the answer to any question, click on the question or the '+' sign on the left.
General RLM Questions
What is the order of license files processed by my application? | |
RLM builds a list of license files, in the following order: |
License checkout is very slow on one system, but runs normally everywhere else - what's wrong? | |
When license checkouts are much slower on one (or a few) systems, the problem is usually something in the environment on that particular system. Most likely, there is a license file (or [email protected] in RLM_LICENSE) that specifies a server which is unreachable from that system, so the request to the (unreachable) server times out, then succeeds from the "good" server. |
The hostid disappears on my system. What do I do? | |
When RLM is looking for a match between the hostid in the license file and a hostid on the machine, it looks on the at all instances of the hostid type in the license file. If you have an ethernet hostid in the license file, RLM looks at the addresses of all ethernet devices in the system. If the device whose address is in the license file is no longer in the system configuration, RLM will not find a hostid match. Sometimes these devices come and go on laptops - we call these transient devices. For example, a wireless adapter might not always appear. |
I upgraded RLM - now my old licenses don't work | |
Q: I have recently upgraded RLM versions, but now my software doesn't recognize licenses which I had made for customers with the old version. What's wrong? |
RLM Personal Edition Questions
Does RLMpe ask for a username/password on every license checkout? | |
With RLMpe, you supply the username and password to the rlmpe_checkout() call every time you do a checkout. How you acquire the username/password (and whether you save it) is up to you. For example, you could prompt every time for this information, or you could put it into the user's environment so you never have to prompt after you set it up. |
What happens in case the program does not exit in a clean manner, ie if the process is killed or if it crashes? Does that lock the license, and in that case, who can unlock it? | |
With RLMpe, you supply a "promise", which is the amount of time during which you guarantee to contact the server with rlmpe_heartbeat(). If your application crashes (or fails to call rlmpe_checkin(), the license will remain in use until the end of that promise interval. (Note that in v14.0BL4, the "promise" interval is fixed at 10 minutes). |
RLM Integration and Development Problems
RLM Activation Problems
Do I need to refresh the connection to maintain the license? | |
Q: I read the docs of another license server product which would not hold a license unless the clients refresh the license in a certain time frame, otherwise the server would reclaim the license. Does RLM do this? |
I get a timeout (error: -105) on my activation request. What can I do? | |
RLM Activation Requests can time out for a number of reasons. Please see this blog post for help diagnosing these problems. |
Do I need to periodically check the health of the connection? | |
Q: The documentation says: "...you need to periodically check the health of the connection...". How often? What if my application does not manage to check 'often enough' (whatever this means)? |
I cannot check out licenses on one platform from another - what's wrong? | |
Q: I cannot check out licenses on one platform from a server on another - what's wrong? |
My product is a library. How do I link RLM? | |
Q. My product is a library / DLL / shared object that may be linked into a program that also uses RLM. |
I can't get putenv() to work in my application, what do I do? | |
Q: putenv() does not work in my windows application. What is wrong? |
Memory Leaks in RLM - what to do? | |
Q: I call rlm_init() then rlm_close() but my memory leak detector reports memory leaks. What should I do? |
Java application fails with "UnsatisfiedLinkError" | |
Q: When I run the java sample application, I get the following error: |
How do I create universal binaries for the MAC? | |
How do I create universal binaries for the MAC? |
RLM Activation Questions
rlm_act_request() returns RLM_ACT_SERVER_ERROR (-1019) | |
Q: rlm_act_request() returns RLM_ACT_SERVER_ERROR (-1019). What should I do? |
rlm_act_request() returns status RLM_EH_BADHTTP (-136) | |
Q: When attempting to activate a license (using either rlm_act_request() or the rlm web interface), the license is not generated and an error of "Bad HTTP transaction with activation server" RLM_EH_BADHTTP (-136) is generated. What is the problem? |
rlm_act_request() returns "Bad return data from webserver (no status)" (-134) | |
This error (-134, RLM_EH_ACT_BADSTAT, Bad return data from webserver) most likely means that there is a problem with the license generator, ISV_mklic. |
RLM Server Problems
When I upgrade to RLM v11, my clients can't connect to the server any more. | |
If you get a "Server rejected client (-57)" error from a v11 client, or a "Communications error with license server (-17)" error from a v10 client when using a v11 server, it is likely that you disabled the use of generic servers. |
How do I use RLM across a firewall? | |
If you want to serve licenses across a firewall, both license servers, i.e. RLM and the ISV server, need known port numbers in order for your firewall to pass requests on these ports. |
When starting RLM, I get the message, "(rlm) Cannot bind Web Server port 5054, exiting." (Note: This message may also indicate port 9000, which was used by older versions of RLM.) | |
That error message typically indicates another copy of RLM is running which is using port 5054 or 9000. |
I have software from 2 Software Companies and I get server port conflicts | |
Q: I have software from 2 different Software Companies, and when I attempt to run the license servers, they give "port in use" errors. What should I do? |
How long does it take a failover server to respond? | |
The failover server checks the health of the "failed" server every 2 minutes. It can then take up to one additional minute before the failover server begins serving licenses. |
I get the error "cannot set the server lock - exiting". What should I do? | |
This error nearly always means that another copy of the ISV server is running. |
I get the error "Port 5053 in use, waiting.. ". There are no other applications using the port. What should I do? | |
This message nearly always means that there is another copy of RLM running on this port. Check the system and kill the running rlm process. |
Network Read Errors (-104); checkin errors | |
In certain cases, Symantec anti-virus software blocks some rlm messages. The symptoms vary, but usually the application receives network read errors (-104), or licenses are simply not checked back in. |
How do I get RLM to run on a wide-area network? | |
WAN access to the license server should be no problem. We don't have any feedback from RLM customers who have tried this, but back in the FLEXlm days a number of end users did this with no problem - and RLM and FLEX use the network in similar ways. The checkout message is less than 100 bytes, but before checkout there's an initial connection message that's on the order of 1KB. Still pretty small in the scheme of things, and that only needs to happen once per client connection to the server. |
Platform-specific problems (Windows)
On Windows, what version of the RLM kit do I use ... | |
Q: On Windows, what version of the RLM kit do I use with my compiler? |
Using VS2005 and the v11.0 x86_w2 SDK, I get a fatal error when building the SDK. winhttp.lib is missing. | |
v11.0 uses some functions from winhttp.lib to get information on proxy servers. VS2005 did not have winhttp.lib among its libraries, so it must be downloaded. You can get it in the Windows SDK, downloadable here: |
Windows linker reports: fatal error LNK1181: cannot open ... | |
Q: On Windows, I've followed the installation instructions in the "Quick-Start Guide", but the linker reports: fatal error LNK1181: cannot open input file 'ws2_32.lib'. What's wrong? |
How do I use RLM with Visual Studio? | |
Q: I've just downloaded the kit. Are there instructions for how to use RLM when I use the Visual Studio GUI to compile and link my application, rather than the command line? |
When I install the RLM server as a Windows service, it fails to start. Windows gives me an error saying that the service failed to start in a timely fashion. | |
The RLM server log file frequently contains information that identifies the startup problem. |
RLM gives the following error message when attempting to install itself as a service on Windows from an account with administrator privileges: "Error: Access to Service Control Manager denied." | |
Launch a command window using "Run as administrator", and install RLM from the new command window. "Run as administrator" is an option when you right-click on the command window icon on the desktop or in the start menu. |
On Windows, RLM fails to start the ISV server with a select(), getsockname() or "communications (socket) problems" error. | |
Reprise has had reports on a very limited number of systems that RLM fails to start the ISV server, with errors similar to the following written to the debug log (note: the ISV name will be your ISV name, not necessarily "demo"): |
Cannot install RLM as a service on Windows 7 | |
Q: When I try to use rlm to install rlm.exe as a service on Windows 7 I get a message that says "Access to Service Control Manager denied" even though I'm running in an account with Administrator rights. What should I do? |
Sometimes my Windows hostid disappears? What should I do? | |
Sometimes RLM on Windows uses a MAC address as hostid which is later not present in the system, leading to a wrong hostid error when the application tries to check out a license, or when starting up a license server. What should we do about this? |
Certain RLM operations fail for restricted users on Win2000 | |
Q: Certain RLM operations fail on Windows 2000 when attempted by a restricted user account. These operations include checking out a "single" license and starting up the rlm server. How do I fix this? |
Platform-specific problems (Unix and Mac)
32-bit RLM servers don't run on 64-bit systems (Ubuntu) | |
We have had reports of 32-bit RLM servers failing to execute on a 64-bit Ubuntu system. |
Software Publisher Resources
Publisher Support |
Publisher Downloads |
Publisher FAQs |
Publisher Issues |
Cloud Server Status | Supported Platforms |
Support home
Resources for software publishers and license administrators
Email tech support
Send us your questions or requests for technical assistance.
Reprise Blog
Stay current on all topics related to license management
Supported platforms
- Linux x86 (64-bit, 32-bit)
- Windows XP, Vista, 7, 8, 10 (64-bit, 32-bit)
- Windows Server 2003 and later (64-bit, 32-bit)
- Windows 2000 (32-bit)
- Mac OS X x86 (64-bit, 32-bit)
- Solaris x86 (64-bit, 32-bit)
- Solaris Sparc (64-bit, 32-bit)
- Linux on IBM power (64-bit)
- NetBSD x86 (32-bit)
- Java (Mac, Unix, Windows)
- ARM9