Symptoms
While sending a capability request from command line to FNO user is getting Error "No such file or directory" by using caprequestutil when request is sent from Linux machine and hostid contains "/". Similarly when the request sent from Windows machine the same error is received when hostid contains "\".
Diagnosis
We have observed that when a capability request is sent with hostid containing "/" or "\" character user is getting error as shown in below screenshot after executing below statement. Please note the "/" in host value.
[root@localhost tools]# ./caprequestutil -idtype STRING -host UDX-qKrCHBG1fU8jSBGAeSwn26J7wESjPSM4Mdq9w/0Pshzk=-cloud IdentityClient.bin -type FLX_CLIENT https://flexXXXX-fno-uat.flexnetoperations.com/flexnet/deviceservices
This issue happens because the caprequest utility saves information in a java property file after a capability response is received (e.g. last processed response time). The problem seen above is that it uses the hostid as part of the name for that file which Linux assumes it as an absolute path to a temporary file being created to process the caprequest. But Since there is no such path, it is gives an error.
Solution
To avoid the error we have two option:
1. Use "-noStorage" flag in the caprequest so that temporary files won't be written (Stops caprequetutil to go in to persistent state). The new statement will look like as follows.
[root@localhost tools]# ./caprequestutil -idtype STRING -host UDX-qKrCHBG1fU8jSBGAeSwn26J7wESjPSM4Mdq9w/0Pshzk=-cloud IdentityClient.bin -type FLX_CLIENT https://flexXXXX-fno-uat.flexnetoperations.com/flexnet/deviceservices -noStorage
2. If user want to keep the existing behavior of caprequestutil then user could use "-storage <filename>" instead and pass a string of their own choice to uniquely identify the properties file. So the new statement should look like below.
[root@localhost tools]# ./caprequestutil -idtype STRING -host UDX-qKrCHBG1fU8jSBGAeSwn26J7wESjPSM4Mdq9w/0Pshzk=-cloud IdentityClient.bin -type FLX_CLIENT https://flexXXXX-fno-uat.flexnetoperations.com/flexnet/deviceservices -storage temp.txtRelated Articles
license daemon: system error code: No such file or directory : InstallAnywhere 8Number of Views No Such File or Directory on Ubuntu Linux 16Number of Views "Error: The file exists." during inventory import if temp directory contains 65,535+ files using temporary file name pattern 4Number of Views Error "bad ELF interpreter: No such file or directory" when trying to run a 32 bit Application on Linux Red Hat 64 bit 4Number of Views Issue with Capability Request Preview using .NET SDK after Upgrading to FNO OnPremise 2023 R1 10Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago