Oct 09, 2019
04:46 AM
1 Kudo
Hi @jlague
I have sent you a message in the support case. Is it possible with can have a meeting to go through this?
... View more
Oct 09, 2019
01:29 AM
1 Kudo
Hi @avdhesh,
You're best creating a support case so we can check what vendor keys you're using. This error normally indicates you're using the wrong vendor keys.
Kind regards, Joe
... View more
Sep 30, 2019
12:42 PM
Hi @jlague,
My colleague is referring to the 'makefile' within the toolkit, e.g.
- Open the makefile in a text editor - Search for instances of 'lmgr_trl' and change them to 'lmgr'
Hope this helps.
Kind regards, Joe
... View more
Sep 26, 2019
07:19 AM
Symptoms:
When upgrading from an earlier FNO On-Premise version to the latest FNO version (e.g. 12.10 to 2018 R1) the following error may be thrown:
Error: [ADMN] Cannot find entitlement id generator class com.flexnet.operations.generator.OpsEsnGenerator
Diagnosis:
The path for license generator is incorrect in the configuration setting for FNO.
Solution:
1. Navigate to 'System > Configure > Flexnet Operations' in your FNO admin portal. 2. In the 'ID Generator Classname' and 'Fulfillment ID Generator Classname' remove 'macrovision' from the path, and replace it with 'flexnet', (if it's not already present), 3. Now log out and back into FNO.
... View more
Labels:
Sep 25, 2019
04:00 AM
Hi @jlague,
I see your case is with my colleague Abhay who's out of the office until October. I've taken ownership of this, and I'll reach out to you through the support case.
Kind regards, Joe
... View more
Aug 28, 2019
05:05 AM
Building the 32bit FNP toolkit for certificate use:
First, you’ll need to build the FNP toolkit (11.16.4.0_v6) via the command line using a Visual Studio Command Prompt.
1: Add your vendor keys and vendor name to the lm_code.h, then set your seed values and signature strength – this file can be found in the ‘..\i86_n3-11.16.4.0_v6\machind’ directory:
e.g.
#define VENDOR_KEY1 <XXXX>
#define VENDOR_KEY2 <XXXX>
#define VENDOR_KEY3 <XXXX>
#define VENDOR_KEY4 <XXXX>
#define VENDOR_KEY5 <XXXX>
#define VENDOR_NAME "demo"
#define LM_SEED1 <YYYY>
#define LM_SEED2 <YYYY>
#define LM_SEED3 <YYYY>
#define LM_STRENGTH LM_STRENGTH_239BIT
2: Edit the makefile and add your vendor name to the ‘VENDORNAME’ field - this file can be found in the ‘…\i86_n3-11.16.4.0_v6\i86_n3’ directory:
e.g.
VENDORNAME = demo
DAEMON = $(VENDORNAME).exe
3: in the ‘…\i86_n3-11.16.4.0_v6\i86_n3’ directory change ‘demo.rc’ to the name of your vendor daemon:
e.g.
demo.rc > Flexera.rc
4: In the VS command prompt run the following: …\i86_n3-11.16.4.0_v6\i86_n3> nmake -f makefile
Now your FNP toolkit is built to use certificate-based licensing. Follow the steps below to build lmflex using Visual Studio.
Steps to build lmflex using Visual Studio 2015:
1: Create a Win32 Console Project called 'lmflex'.
2: Copy the lmflex.c code from the toolkit, found in the following location “..\i86_n3-11.16.4.0_v6\machind” and comment out the Trusted Storage code as shown below. Or you can copy the code below for just certificate only licensing:
/**************************************************************************************************
* Copyright (c) 1997-2018 Flexera. All Rights Reserved.
**************************************************************************************************/
/*
*
* Description: This is a sample application program, to illustrate
* the use of the Flexible License Manager.
*
*/
#include "lmclient.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "lm_attr.h"
#include "lm_redir_std.h"
#ifdef PC
#define LICPATH "@localhost"
#else
#define LICPATH "@localhost:license.dat:."
#endif /* PC */
#define FEATURE "f1"
VENDORCODE code;
LM_HANDLE *lm_job;
//JoeMC: Uncomment to use TS
//static void init(struct flexinit_property_handle **);
//static void cleanup(struct flexinit_property_handle *);
int
main(int argc, char * argv[])
{
char feature[MAX_FEATURE_LEN * 2] = {'\0'};
struct flexinit_property_handle *initHandle = NULL;
int nlic = 1;
//JoeMC: Uncomment to use TS
//init(&initHandle);
if (argc > 1)
{
nlic = atoi(argv[1]);
}
if (lc_new_job(0, lc_new_job_arg2, &code, &lm_job))
{
lc_perror(lm_job, "lc_new_job failed");
//JoeMC: Uncomment to use TS
//cleanup(initHandle);
exit(lc_get_errno(lm_job));
}
printf("Enter \"f1\" to demo floating functionality\n");
printf("Enter \"f2\" to demo node-locked functionality\n");
printf("Enter feature to checkout [default: \"%s\"]: ", FEATURE);
fgets(feature, MAX_FEATURE_LEN + 2, lm_flex_stdin()); /* add 2 for \n and \0 */
feature[strlen(feature) - 1] = '\0';
if(!*feature)
strcpy(feature, FEATURE);
(void)lc_set_attr(lm_job, LM_A_LICENSE_DEFAULT, (LM_A_VAL_TYPE)LICPATH);
if(lc_checkout(lm_job, feature, "1.0", nlic, LM_CO_NOWAIT, &code, LM_DUP_NONE))
{
lc_perror(lm_job, "checkout failed");
//JoeMC: Uncomment to use TS
//cleanup(initHandle);
exit (lc_get_errno(lm_job));
}
printf("%s checked out...", feature);
printf("press return to exit...");
/*
* Wait till user hits return
*/
getchar();
lc_checkin(lm_job, feature, 0);
lc_free_job(lm_job);
//JoeMC: Uncomment to use TS
//cleanup(initHandle);
return 0;
}
//JoeMC: Uncomment to use TS
/*
static void init(struct flexinit_property_handle **handle)
{
#ifndef NO_ACTIVATION_SUPPORT
struct flexinit_property_handle *ourHandle = NULL;
int stat;
if ((stat = lc_flexinit_property_handle_create(&ourHandle)))
{
fprintf(lm_flex_stderr(), "lc_flexinit_property_handle_create() failed: %d\n", stat);
exit(1);
}
if ((stat = lc_flexinit_property_handle_set(ourHandle,
(FLEXINIT_PROPERTY_TYPE)FLEXINIT_PROPERTY_USE_TRUSTED_STORAGE,
(FLEXINIT_VALUE_TYPE)1)))
{
fprintf(lm_flex_stderr(), "lc_flexinit_property_handle_set failed: %d\n", stat);
exit(1);
}
if ((stat = lc_flexinit(ourHandle)))
{
fprintf(lm_flex_stderr(), "lc_flexinit failed: %d\n", stat);
exit(1);
}
*handle = ourHandle;
#endif // NO_ACTIVATION_SUPPORT
}
static void cleanup(struct flexinit_property_handle *initHandle)
{
#ifndef NO_ACTIVATION_SUPPORT
int stat;
if ((stat = lc_flexinit_cleanup(initHandle)))
{
fprintf(lm_flex_stderr(), "lc_flexinit_cleanup failed: %d\n", stat);
}
if ((stat = lc_flexinit_property_handle_free(initHandle)))
{
fprintf(lm_flex_stderr(), "lc_flexinit_property_handle_free failed: %d\n", stat);
}
#endif // NO_ACTIVATION_SUPPORT
}
*/
3: Right click on the lmflex project and open “Properties”.
4: In the “General” settings change the ‘Character Set’ to ‘Use Multi-Byte Character Set’.
5: In the “C/C++” settings under the ‘General’ section add the following to the ‘Additional Include Directories: …\i86_n3-11.16.4.0_v6\machind and …\i86_n3-11.16.4.0_v6\machind\activation\include
6: In the “C/C++” settings under the ‘Preprocessors’ section add the following to the ‘Preprocessors Definitions’: _CRT_SECURE_NO_WARNINGS
7: In the “Linker” settings under the ‘General’ section add the following to the ‘Additional Library Directories: …\i86_n3-11.16.4.0_v6\i86_n3 and …\i86_n3-11.16.4.0_v6\i86_n3\activation\lib
8: In the “Linker” settings under the ‘Input’ section add the following libraries to the ‘Additional Dependencies’:
lm_new.obj
lmgr_trl.lib
libsb.lib
libcrvs.lib
.\activation\lib\libnoact.lib
libredir_std.lib
oldnames.lib
kernel32.lib
user32.lib
netapi32.lib
gdi32.lib
comdlg32.lib
comctl32.lib
wsock32.lib
shell32.lib
Rpcrt4.lib
oleaut32.lib
Ole32.lib
Wbemuuid.lib
wintrust.lib
crypt32.lib
Ws2_32.lib
iphlpapi.lib
Psapi.lib
advapi32.lib
Shlwapi.lib
userenv.lib
lmgr_dongle_stub.lib
msvcrt.lib
vcruntime.lib
legacy_stdio_definitions.lib
legacy_stdio_wide_specifiers.lib
ucrt.lib
Dhcpcsvc.lib
libvcruntime.lib
9: In the “Linker” settings under the ‘Ignore All Default Libraries’ set this to ‘Yes (/NODEFAULTLIB)’.
10: In your project change the lmflex.cpp filename to lmflex.c and the stdafx.cpp to stdafx.c then build lmflex.
Now, you should be able to run lmflex and perform a checkout from a license server.
Steps to set up a license server to serve a certificate license:
1: Edit ‘counted.lic’ from the ‘…\i86_n3-11.16.4.0_v6\i86_n3’ directory and change the vendor name ‘demo’ to your vendor name.
e.g.
SERVER this_host ANY
VENDOR demo
USE_SERVER
#a counted license
FEATURE f1 demo 1.0 permanent 4 SIGN="003D B062 54D1 47E3 1FF6 145F \
59CE 0200 8002 FE69 0FBC F4FF AA10 FFB3 6EB3"
To
SERVER this_host ANY
VENDOR flexera
USE_SERVER
#a counted license
FEATURE f1 flexera 1.0 permanent 4 SIGN="003D B062 54D1 47E3 1FF6 145F \
59CE 0200 8002 FE69 0FBC F4FF AA10 FFB3 6EB3"
2: encrypt ‘counted.lic’ license file using the VS command prompt:
e.g. …\i86_n3-11.16.4.0_v6\i86_n3> lmcrypt.exe counted.lic
3: Start the license server by running the following in the command prompt:
e.g. …\i86_n3-11.16.4.0_v6\i86_n3> lmgrd.exe -z -c counted.lic
4: Perform a checkout using the lmflex you built previously:
e.g. …\i86_n3-11.16.4.0_v6\i86_n3> lmflex.exe
Enter "f1" to demo floating functionality
Enter "f2" to demo node-locked functionality
Enter feature to checkout [default: "f1"]: f1
... View more
Labels:
Aug 28, 2019
01:53 AM
@SrinivasJL
As my colleague mentioned, adding the error that's thrown from your client application will help us to pinpoint the cause of your problem. The log file from the license server (lmgrd) would also be useful.
One other thing to try is to set the license path on your client machine to use the '<VENDOR_LICENSE_FILE>=27000@hostname' instead of 'LM_LICENSE_FILE = 27000@hostname'. You can add this by running the lmutil.exe tool using the following command:
lmutil.exe lmpath -add = <VENDOR_LICENSE_FILE>=27000@hostname
e.g. (FLEXERA_LICENSE_FILE=27000@hostname)
Hope this helps, Joe
... View more
Aug 27, 2019
09:19 AM
@balazscsak
The issue might be a read/write issue with the lmadmin additional directory, where the config, logs files, etc are stored. One test to rule this out would be grant the user read/write access for the following directory:
C:\ProgramData\FLEXlm\<lmadminInstallationDirName>
Note: <lmadminInstallationDirName> is the name you specified of the directory where you installed the additional lmadmin files during installation. The default is 'lmadmin'.
Hope this helps. Joe
... View more
Jul 10, 2019
10:27 AM
1 Kudo
Building a Vendor Defined HostID:
1. Copy the file examples/vendor_hostid/vendor_hostid.c to your machind directory.
2. In machind directory, update lsvendor.c as follows:
2.1. After the comment /* Vendor initialization routines */ Add the following line:
void x_flexlm_newid();
2.2. update the line void (*ls_user_init1)() = 0 to void (*ls_user_init1)() = x_flexlm_newid;
3. In machind directory, update lmcrypt.c as follows:
After the call to lc_init, add the following line:
x_flexlm_newid();
That section of the code should resemble:
if (lc_init((LM_HANDLE *)0, VENDOR_NAME, &site_code, &lm_job)) { lc_perror(lm_job, "lc_init failed"); exit(-1); } x_flexlm_newid();
4. In machind directory, update lmflex.c as follows:
After the call to lc_new_job, add the following line:
x_flexlm_newid();
That section should resemble: if (lc_new_job(0, lc_new_job_arg2, &code, &lm_job)) { lc_perror(lm_job, "lc_new_job failed"); exit(lc_get_errno(lm_job)); } x_flexlm_newid();
5. In the platform directory, update makefile as follows:
5.1. In EXECS list add vendor_hostid.obj i.e. the list should look like
EXECS = vendor_hostid.obj lmflex.exe lmcrypt.exe lmsign.lib installs.exe
5.2. Add vendor_hostid.obj to the following sections as shown below: $(DAEMON): $(XTRAOBJS) $(DAEMONLIBS) lsvendor.obj $(SRCDIR)\lsserver.h $(LMNEW_OBJ) $(RC) -r -fo $(VENDORNAME).res $(VENDORNAME).rc $(LD) /subsystem:console /out:$(DAEMON) lsvendor.obj $(LMNEW_OBJ) vendor_hostid.obj \ $(XTRAOBJS) $(DAEMONLIBS) $(CRT_LIB) $(XTRALIB1) $(VENDORNAME).res $(PREPTOOL) -v $(APREPXMLDIR)\vendor_daemon.xml
lmcrypt.exe: $(SRCDIR)\lmcrypt.c \ $(SRCDIR)\lmclient.h $(SRCDIR)\lm_code.h $(STATIC_CLIENTLIB) $(CC) $(CFLAGS) $(SRCDIR)\lmcrypt.c $(LD) /out:lmcrypt.exe lmcrypt.obj vendor_hostid.obj $(STATIC_CLIENTLIB) $(XTRALIB) $(ACTSTUB) $(EMBED_MANIFEST)
lmflex.exe: $(SRCDIR)\lmflex.c $(LMNEW_OBJ_CLIENT) \ $(CLIENTLIB) $(CC) $(CFLAGS) $(SRCDIR)\lmflex.c $(LD) /out:lmflex.exe lmflex.obj vendor_hostid.obj $(LMNEW_OBJ_CLIENT) $(CLIENTLIB) $(XTRALIB) $(ACTSTUB) $(EMBED_MANIFEST) if exist lmflex.obj del lmflex.obj
5.3. Add the following after '$(DAEMON); section:
vendor_hostid.obj: $(SRCDIR)/vendor_hostid.c $(CC) $(CFLAGS) -I../h $(SRCDIR)\vendor_hostid.c
6. Build the toolkit: nmake -f makefile
Adding a Composite HostID to the build:
1. Copy the files lmcomposite.c and init_composite.c from examples\composite directory to your machind directory.
2. In machind directory, update lsvendor.c as follows:
2.1. After the comment /* Vendor initialization routines */ Add the following line: void init_composite_hostid();
2.2. Update the line void (*ls_user_init1)() = 0 to void (*ls_user_init2)() = init_composite_hostid;
3. In machind directory, update lmflex.c as follows:
3.1. In main function after the declaration int nlic=1; add the following declarartions:
int ret; int hostid_list[] = {HOSTID_ETHER, HOSTID_DISK_SERIAL_NUM}; int hostid_list_count = 2; int errno;
3.2. In main function, after the following piece of code
if (lc_new_job(0, lc_new_job_arg2, &code, &lm_job)) { lc_perror(lm_job, "lc_new_job failed"); cleanup(initHandle); exit(lc_get_errno(lm_job)); }
Add the following code: ret = lc_init_simple_composite(lm_job, hostid_list, hostid_list_count); if (ret != 0) { printf("Failed to init composite hostid. Errno: %d\n", errno); lc_free_job(lm_job); exit(0); }
4. In the platform directory, update makefile as follows:
4.1. In EXECS list add lmcomposite.exe init_composite.obj i.e. the list should look like:
EXECS = vendor_hostid.obj lmcomposite.exe init_composite.obj lmflex.exe lmcrypt.exe lmsign.lib installs.exe
4.2. Add init_composite.obj to the following sections as shown below: $(DAEMON): $(XTRAOBJS) $(DAEMONLIBS) lsvendor.obj $(SRCDIR)\lsserver.h $(LMNEW_OBJ) $(RC) -r -fo $(VENDORNAME).res $(VENDORNAME).rc $(LD) /subsystem:console /out:$(DAEMON) lsvendor.obj $(LMNEW_OBJ) vendor_hostid.obj init_composite.obj \ $(XTRAOBJS) $(DAEMONLIBS) $(CRT_LIB) $(XTRALIB1) $(VENDORNAME).res $(PREPTOOL) -v $(APREPXMLDIR)\vendor_daemon.xml
5. Add the following after '$(DAEMON); section:
init_composite.obj : $(SRCDIR)\init_composite.c $(CC) $(CFLAGS) -I..\h $(SRCDIR)\init_composite.c
6. Before the definition of lmflex, add the following lines of code:
lmcomposite.exe: $(SRCDIR)\lmcomposite.c $(LMNEW_OBJ) \ $(CLIENTLIB) $(CC) $(CFLAGS) $(SRCDIR)\lmcomposite.c $(LD) /out:lmcomposite.exe lmcomposite.obj $(LMNEW_OBJ_CLIENT) $(CLIENTLIB) $(ACTSTUB) $(XTRALIB) $(EMBED_MANIFEST) if exist lmcomposite.obj del lmcomposite.obj
7. Build the toolkit: nmake -f makefile
... View more
Jul 10, 2019
10:27 AM
1 Kudo
Building a Vendor Defined Hostid:
1. Copy the file examples/vendor_hostid/vendor_hostid.c to your machind directory.
2. In machind directory, update lsvendor.c as follows:
2.1. After the comment /* Vendor initialization routines */ Add the following line:
void x_flexlm_newid();
2.2. update the line void (*ls_user_init1)() = 0 to void (*ls_user_init1)() = x_flexlm_newid;
3. In machind directory, update lmcrypt.c as follows:
After the call to lc_init, add the following line:
x_flexlm_newid();
That section of the code should resemble:
if (lc_init((LM_HANDLE *)0, VENDOR_NAME, &site_code, &lm_job)) { lc_perror(lm_job, "lc_init failed"); exit(-1); } x_flexlm_newid();
4. In machind directory, update lmflex.c as follows:
After the call to lc_new_job, add the following line:
x_flexlm_newid();
That section should resemble: if (lc_new_job(0, lc_new_job_arg2, &code, &lm_job)) { lc_perror(lm_job, "lc_new_job failed"); exit(lc_get_errno(lm_job)); } x_flexlm_newid();
5. In the platform directory, update makefile as follows:
5.1. In EXECS list add vendor_hostid.o i.e. the list should look like
EXECS = vendor_hostid.o lmcrypt lmflex
5.2. Add vendor_hostid.obj to the following sections as shown below: $(DAEMON): $(XTRAOBJS) $(LIBS) $(SRCDIR)/lsserver.h $(SRCDIR)/lm_code.h lm_new.o $(MAKE) lm_new.o $(CC) -c $(CFLAGS_NO_PIE) $(CFLAGS) lsrvend.c mv lsrvend.o lsvendor.o rm -f lsrvend.c $(CC) $(CFLAGS) $(LDFLAGS_NO_PIE) $(LDFLAGS) -o $(DAEMON) lsvendor.o lm_new.o vendor_hostid.o $(XTRAOBJS) \ $(LIBS) $(NO_PIE_ACTSTUB) $(XTRALIB) $(THREADLIB) $(STRIP) $(DAEMON) rm -f lm_new.o
lmcrypt: $(SRCDIR)/lmcrypt.c \ $(SRCDIR)/lmclient.h $(SRCDIR)/lm_code.h lmprikey.h $(CLIENTLIB) $(CC) -c $(CFLAGS_PIE) $(CFLAGS) $(SRCDIR)/lmcrypt.c $(CC) $(LDFLAGS_PIE) $(CFLAGS) $(LDFLAGS) -o lmcrypt lmcrypt.o vendor_hostid.o \ $(CLIENTLIB) $(ACTSTUB) $(XTRALIB) $(THREADLIB) rm -f $(LM_NEW_OBJ)
lmflex: $(SRCDIR)/lmflex.c $(SRCDIR)/lm_code.h $(CLIENTLIB) $(LM_NEW_OBJ) $(MAKE) $(LM_NEW_OBJ) $(CC) -c $(CFLAGS_PIE) $(CFLAGS) $(SRCDIR)/lmflex.c $(CC) $(CFLAGS) $(LDFLAGS_PIE) $(LDFLAGS) -o lmflex lmflex.o vendor_hostid.o $(LM_NEW_OBJ) $(CLIENTLIB) $(ACTSTUB) $(XTRALIB) \ $(THREADLIB) rm lmflex.o $(STRIP) lmflex rm -f $(LM_NEW_OBJ)
5.3. Add the following after '$(DAEMON); section:
vendor_hostid.o: $(SRCDIR)/vendor_hostid.c $(CC) -c $(CFLAGS) $(SRCDIR)/vendor_hostid.c
6. Build the toolkit: nmake -f makefile
Adding a Composite HostID to the build:
1. Copy the files lmcomposite.c and init_composite.c from examples\composite directory to your machind directory.
2. In machind directory, update lsvendor.c as follows:
2.1. After the comment /* Vendor initialization routines */ Add the following line: void init_composite_hostid();
2.2. Update the line void (*ls_user_init1)() = 0 to void (*ls_user_init2)() = init_composite_hostid;
3. In machind directory, update lmflex.c as follows:
3.1. In main function after the declaration int nlic=1; add the following declarartions:
int ret; int hostid_list[] = {HOSTID_ETHER, HOSTID_DISK_SERIAL_NUM}; int hostid_list_count = 2; int errno;
3.2. In main function, after the following piece of code
if (lc_new_job(0, lc_new_job_arg2, &code, &lm_job)) { lc_perror(lm_job, "lc_new_job failed"); cleanup(initHandle); exit(lc_get_errno(lm_job)); }
Add the following code: ret = lc_init_simple_composite(lm_job, hostid_list, hostid_list_count); if (ret != 0) { printf("Failed to init composite hostid. Errno: %d\n", errno); lc_free_job(lm_job); exit(0); }
4. In the platform directory, update makefile as follows:
4.1. In EXECS list add lmcomposite and init_composite.o, i.e. the list should look like:
EXECS = lmcomposite init_composite.o vendor_hostid.o lmcrypt lmflex
4.2. Add init_composite.o to the following sections as shown below: $(DAEMON): $(XTRAOBJS) $(LIBS) $(SRCDIR)/lsserver.h $(SRCDIR)/lm_code.h lm_new.o $(MAKE) lm_new.o $(CC) -c $(CFLAGS_NO_PIE) $(CFLAGS) lsrvend.c mv lsrvend.o lsvendor.o rm -f lsrvend.c $(CC) $(CFLAGS) $(LDFLAGS_NO_PIE) $(LDFLAGS) -o $(DAEMON) lsvendor.o lm_new.o init_composite.o vendor_hostid.o $(XTRAOBJS) \ $(LIBS) $(NO_PIE_ACTSTUB) $(XTRALIB) $(THREADLIB) $(STRIP) $(DAEMON
5. Add the following after '$(DAEMON); section:
init_composite.o: $(SRCDIR)/init_composite.c $(CC) -c $(CFLAGS) $(SRCDIR)/init_composite.c
6. Before the definition of lmflex, add the following lines of code:
lmcomposite: $(SRCDIR)/lmcomposite.c $(SRCDIR)/lm_code.h $(CLIENTLIB) lm_new.o $(MAKE) $(LM_NEW_OBJ) $(CC) -c $(CFLAGS_PIE) $(CFLAGS) $(SRCDIR)/lmcomposite.c $(CC) $(CFLAGS) $(LDFLAGS_PIE) $(LDFLAGS) -o lmcomposite lmcomposite.o $(LM_NEW_OBJ) $(CLIENTLIB) $(ACTSTUB) $(XTRALIB) $(THREADLIB) rm -f lmcomposite.o $(STRIP) lmcomposite
7. Build the toolkit: make -f makefile
... View more
May 30, 2019
10:51 AM
Dear @jhurder,
You are correct, this should state "C:\cacert\FlexeraKeystore.jks".
Thanks for pointing this out.
Kind regards, Joe
... View more
May 10, 2019
08:47 AM
Symptoms:
When trying to create a cloud license server the following error is thrown: flxBotErr.rest.operation. See screenshot below.
Diagnosis:
In the lfs.log file you may see the following error:
2019-05-10 00:58:16,801 ERROR [com.flexnet.lfs.aop.LfsWebserviceAspect: default task-3] REST operation failed performing POST on /instances API: Server returned HTTP response code: 401 for URL: http://localhost:8888/gls/api/1.0/instances.
The reason this occurs is if you've enabled security for the Cloud Licensing Service in the FlexNet Setup page - see below:
Solution:
You need to add the loopback IP address (127.0.0.1) and/or the host machines IP address to the Whitelist hosts, as described below:
To add a host to the whitelist 1. On the System Status page, click Whitelist Hosts. See screenshot 1. 2. In the Add Hosts to Whitelist dialog box, enter the Cloud Licensing Service password, 3. Enter a comma separated list of IP addresses to be whitelisted. See screenshot 2. Note • DNS hostnames are not supported. 4. Click Change Whitelist. 5. In the confirmation window, click Close.
screenshot 1:
screenshot 2:
... View more
Jan 23, 2019
04:24 PM
Summary This article will explain how to reset a user's password in the database for FlexNet Operations On Premise. Synopsis If a user is unable to reset their password for any reason and is logged out of FlexNet Operations, then the following steps will allow you to reset the password. Below are the steps to reset a user's password in the database. This will reset the password to 'admin'. 1. Get the Extendedpropertyset_id for the user running the select statement below, changing <username> to the name of the user you're using: SELECT Extendedpropertyset_id from PLT_USER WHERE USERID = '<username>'; 2. Take the 'Extendedpropertyset_id' from previous select statement and add it to the 'BELONGSTOSET_ID' in the select statement below: SELECT ID from PLT_EXTPROP WHERE BELONGSTOSET_ID = 'addExtendedpropertyset_id' and METADATA_ID = '1'; 3. Take the 'ID' from previous select statement and add it to the 'ID =' in the select statement below: UPDATE PLT_EXTPROP SET TEXTVALUE = 'MD5,Base64:ISMvKXpXpadDiUoOSoAfww==' WHERE ID = <ID number>; 4. Now, you can log into FNO with the your username and the password 'admin'.
... View more
Labels:
Nov 27, 2018
11:07 AM
Summary This article will explain how to overcome the error: "REST operation failed performing PUT on /instances/DJKVETEBH3BG/users?name=admin API: Server returned HTTP response code: 400 for URL: http://scuat-gls2.isys.intraware.com:8080/GlobalLicensingService/api/1.0/instances/DJKVETEBH3BG/users?name=admin." Symptoms When trying to set the password on the CLS in the Devices section for FNO the following error is produced... "REST operation failed performing PUT on /instances/DJKVETEBH3BG/users?name=admin API: Server returned HTTP response code: 400 for URL: http://scuat-gls2.isys.intraware.com:8080/GlobalLicensingService/api/1.0/instances/DJKVETEBH3BG/users?name=admin." Cause This is caused by not meeting the right criteria for setting the password. Resolution The password must meet these criteria: a length between 8 and 30 characters at least one upper case alpha character and one lower case alpha character at least one digit at least one of these special characters: ( ^*$-+?_&=!%{}/# ) no space
... View more
Labels:
Nov 14, 2018
11:12 PM
Summary This article will explain how to overcome the 'License server system does not support this feature. (-18,327)' error. Symptoms When a client tries to checkout a license the following error is thrown in the log file: License server system does not support this feature. (-18,327). Cause This can be caused when client connects to the wrong license server and tries to check out a license. In the vendor daemon log file check the name of the server that is being used. For example in the log file they'll be something similar to the snippet below. 11:08:47 (flexera) Server started on Laurel: TestFeat1
Then check the error message in the log file and see if it's pointing to the same server. 11:15:03 (flexera) UNSUPPORTED: "TestFeat1" (PORT_AT_HOST_PLUS ) jmcmillan@Hardy (License server system does not support this feature. (-18,327)) Comparing the two snippets the server was stated on 'Laurel', however the client is trying to checkout from 'Hardy'. Resolution Check the license path on the client machine and make sure it's pointing to the correct license server, (e.g. 'Laurel' and not 'Hardy'). In order to check the license path run the following utility in a command prompt: lmutil lmpath -status
In order to override the existing path run the following command:
lmutil lmpath -override flexera 27000@Laurel
Or alternatively to append to an existing path run the following:
lmutil lmpath -add flexera 27000@Laurel
... View more
Labels:
Latest posts by jmcmillan
Subject | Views | Posted |
---|---|---|
584 | Oct 14, 2021 05:26 AM | |
1221 | Feb 16, 2021 04:07 AM | |
579 | Feb 10, 2021 04:01 AM | |
2179 | Jan 19, 2021 08:37 AM | |
2190 | Jan 19, 2021 04:36 AM | |
604 | Jan 19, 2021 04:25 AM | |
1149 | Jan 09, 2021 02:58 PM | |
1569 | Nov 26, 2020 01:44 PM | |
1321 | Sep 08, 2020 04:27 PM | |
3673 | Sep 08, 2020 08:30 AM |
Activity Feed
- Got a Kudo for Re: Flex license server 11.16 not starting on VMWare 6.7. Oct 14, 2021 02:11 PM
- Posted Re: Flex license server 11.16 not starting on VMWare 6.7 on FlexNet Publisher Forum. Oct 14, 2021 05:26 AM
- Got a Kudo for Re: Can't create FNC report anymore due to Flash player. Apr 16, 2021 02:23 AM
- Posted Re: How to get locale catalog for other languages than English for Flexnet Connect 2017 R3 on FlexNet Connect Forum. Feb 16, 2021 04:07 AM
- Posted Migrating the ISUS database to another server on FlexNet Connect Knowledge Base. Feb 10, 2021 04:01 AM
- Posted Re: Can't create FNC report anymore due to Flash player on FlexNet Connect Forum. Jan 19, 2021 08:37 AM
- Posted Re: Can't create FNC report anymore due to Flash player on FlexNet Connect Forum. Jan 19, 2021 04:36 AM
- Posted Flexnet Connect Cloud reports not working. on FlexNet Connect Knowledge Base. Jan 19, 2021 04:25 AM
- Posted Re: FlexNet Connect - delete inactive clients on FlexNet Connect Forum. Jan 09, 2021 02:58 PM
- Posted General data transfer failure. Couldn't resolve host name on FlexNet Connect Knowledge Base. Nov 26, 2020 01:44 PM
- Posted Re: Lmstat blocked on FlexNet Publisher Forum. Sep 08, 2020 04:27 PM
- Got a Kudo for Re: Virtual Machines. Sep 08, 2020 10:05 AM
- Posted Re: Virtual Machines on FlexNet Publisher Forum. Sep 08, 2020 08:30 AM
- Posted Re: Virtual Machines on FlexNet Publisher Forum. Sep 08, 2020 07:57 AM
- Posted This article will explain how to overcome the error: "LFSError:UNKNOWN_ERROR" in FlexNet Operations on Premise. on FlexNet Operations Knowledge Base. Apr 08, 2020 08:00 AM
- Got a Kudo for Re: Host multiple licenses for same vendor. Jan 30, 2020 09:31 AM
- Posted Re: Host multiple licenses for same vendor on FlexNet Publisher Forum. Jan 30, 2020 05:33 AM
- Posted Re: Does 3 server reduncdancy license be supported in Linux 7.3 on FlexNet Publisher Forum. Nov 04, 2019 04:56 AM
- Posted Flexnet Connect On-Premise Instance is throwing "IO Exception. key=IO Exception.. Try again." error on FlexNet Connect Knowledge Base. Oct 21, 2019 08:32 AM
- Got a Kudo for Re: Fail to setup a license server using lmgrd on Linux with LM_STRENGTH set to LM_STRENGTH_DEFAULT. Oct 15, 2019 01:57 PM