This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Solved
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2012
10:58 AM
lc_flexinit failed: 2
I have installed FlexNet Publisher under openSUSE 11.2 and am running through the demos as per "Getting Started with File-based Licensing". I can start the license server administrator and connect to the web interface just fine. Yet when i try to run lmflex, it fails with:
lc_flexinit failed: 2
I've hunted around the web and around this forum, but I haven't located a similar problem. I did find out that err 2 means "Unable to load activation library". What might be wrong?
lc_flexinit failed: 2
I've hunted around the web and around this forum, but I haven't located a similar problem. I did find out that err 2 means "Unable to load activation library". What might be wrong?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 07, 2012
10:55 AM
I deleted my FlexNet Publisher installation and started from scratch, so all I have now are the files from the distribution.
lmflex produces the error "lc_flexinit failed: 2" even for the unserved case.
My DEMO_LICENSE_FILE variable is set to the platform directory, and lmdiag sees it okay. To be clear, I am *not* running the license server right now.
Below is the output from lmdiag. Has anyone seen this before?
FNP_11.11.0.0/x64_lsb> ./lmflex
lc_flexinit failed: 2
FNP_11.11.0.0/x64_lsb> ./lmdiag
lmdiag - Copyright (c) 1989-2012 Flexera Software LLC. All Rights Reserved.
FLEXnet diagnostics on Fri 12/7/2012 11:32
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic
-----------------------------------------------------
"f4" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-199 0, expires: 01-jan-2001
This license cannot be checked out because:
Feature has expired.
Feature: f4
Expire date: 01-jan-2001
License path: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic:/opt/flexera/FNP_1 1.11.0.0/x64_lsb/expired.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic:
FLEXnet Licensing error:-10,32
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic
-----------------------------------------------------
"f2" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-199 0, no expiration date
This is the correct node for this node-locked license
-----------------------------------------------------
FNP_11.11.0.0/x64_lsb> lmdiag
lmdiag: Command not found.
FNP_11.11.0.0/x64_lsb> ./lmdiag
lmdiag - Copyright (c) 1989-2012 Flexera Software LLC. All Rights Reserved.
FLEXnet diagnostics on Fri 12/7/2012 11:32
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic
-----------------------------------------------------
"f4" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-1990, expires: 01-jan-2001
This license cannot be checked out because:
Feature has expired.
Feature: f4
Expire date: 01-jan-2001
License path: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic:
FLEXnet Licensing error:-10,32
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic
-----------------------------------------------------
"f2" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-1990, no expiration date
This is the correct node for this node-locked license
-----------------------------------------------------
FNP_11.11.0.0/x64_lsb> ls *.lic
counted.lic expired.lic uncounted.lic
lmflex produces the error "lc_flexinit failed: 2" even for the unserved case.
My DEMO_LICENSE_FILE variable is set to the platform directory, and lmdiag sees it okay. To be clear, I am *not* running the license server right now.
Below is the output from lmdiag. Has anyone seen this before?
FNP_11.11.0.0/x64_lsb> ./lmflex
lc_flexinit failed: 2
FNP_11.11.0.0/x64_lsb> ./lmdiag
lmdiag - Copyright (c) 1989-2012 Flexera Software LLC. All Rights Reserved.
FLEXnet diagnostics on Fri 12/7/2012 11:32
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic
-----------------------------------------------------
"f4" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-199 0, expires: 01-jan-2001
This license cannot be checked out because:
Feature has expired.
Feature: f4
Expire date: 01-jan-2001
License path: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic:/opt/flexera/FNP_1 1.11.0.0/x64_lsb/expired.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic:
FLEXnet Licensing error:-10,32
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic
-----------------------------------------------------
"f2" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-199 0, no expiration date
This is the correct node for this node-locked license
-----------------------------------------------------
FNP_11.11.0.0/x64_lsb> lmdiag
lmdiag: Command not found.
FNP_11.11.0.0/x64_lsb> ./lmdiag
lmdiag - Copyright (c) 1989-2012 Flexera Software LLC. All Rights Reserved.
FLEXnet diagnostics on Fri 12/7/2012 11:32
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic
-----------------------------------------------------
"f4" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-1990, expires: 01-jan-2001
This license cannot be checked out because:
Feature has expired.
Feature: f4
Expire date: 01-jan-2001
License path: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic:
FLEXnet Licensing error:-10,32
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic
-----------------------------------------------------
"f2" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-1990, no expiration date
This is the correct node for this node-locked license
-----------------------------------------------------
FNP_11.11.0.0/x64_lsb> ls *.lic
counted.lic expired.lic uncounted.lic
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2012
04:09 PM
The fix is to set the environment variable LD_LIBRARY_PATH to your platform directory.
See KB
Q112640: INFO: Error: lc_flexinit failed: 131072
and
Q200786: Setting up Trusted Storage on Linux and Unix
csh: setenv LD_LIBRARY_PATH /my/platform/dir
sh, bash: export LD_LIBRARY_PATH=/my/platform/dir
See KB
Q112640: INFO: Error: lc_flexinit failed: 131072
and
Q200786: Setting up Trusted Storage on Linux and Unix
csh: setenv LD_LIBRARY_PATH /my/platform/dir
sh, bash: export LD_LIBRARY_PATH=/my/platform/dir