GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 67
Registered: ‎11-12-2015

GMSC ERROR - Invalid LICENSE detected.

Hi all,

 

we have GMSC 2018 Update 3 installed. Everything works OK most of the time. But sometimes it fails to start with error "No valid license" or it does start, but when trying to open some workflow it returns "Invalid license". It is completely random, I was not able to detect the cause of this error. Sometimes it works fine whole day, sometimes it fails several times a day.

 

Any idea?

 

Thanks,

Tereza

Technical Evangelist
Posts: 846
Registered: ‎11-12-2015

Re: GMSC ERROR - Invalid LICENSE detected.

Hi Tereza,

 

Intermittent issues can be hard to diagnose.

In this case I would suggest completing again the GMSC Configuration Wizard steps.

If the issue persists after that it would be best to open a support ticket for a more in depth investigation.

Technical Evangelist
Posts: 421
Registered: ‎02-04-2016

Re: GMSC ERROR - Invalid LICENSE detected.

Hi Tereza,

 

Beware of multiple licenses available to this server...make sure all outdated offline lic are removed...

 

What does the licerr.txt say ?

 

Thanks

 

Frank

Contributor
Posts: 67
Registered: ‎11-12-2015

Re: GMSC ERROR - Invalid LICENSE detected.

[ Edited ]

Hi Frank,

 

I deleted old license files on server, but I guess that it should have no effect since there is an activation ID. 

I could not find any licerr.txt file.

There is also not much in client log:

Jan 28, 2019 9:21:42 AM INFO: Start Smart Client 16.5.316.4 ... --> [main] com.intergraph.web.core.kernel.SmartClientKernel.preboot
Jan 28, 2019 9:21:42 AM FINEST: Load language file: jar:file:/C:/Users/eltm-fiedlerova/AppData/Local/Hexagon/App%20Launcher/cache/7e1b3f9a-3a3c-4a8c-a212-e3f39776bdbc.jar!/workspace/Common/language.properties --> [main] com.intergraph.tools.utils.Languages.loadText
Jan 28, 2019 9:21:42 AM FINEST: Load language file: jar:file:/C:/Users/eltm-fiedlerova/AppData/Local/Hexagon/App%20Launcher/cache/114c1c6b-7245-4fc6-bd0a-79f179460f52.jar!/workspace/smartclient/language.properties --> [main] com.intergraph.tools.utils.Languages.loadText
Jan 28, 2019 9:21:42 AM FINEST: Load language file: jar:file:/C:/Users/eltm-fiedlerova/AppData/Local/Hexagon/App%20Launcher/cache/74e107d2-c7af-40d6-be1b-3304bb04fbf5.jar!/workspace/Viewer/language.properties --> [main] com.intergraph.tools.utils.Languages.loadText
Jan 28, 2019 9:21:42 AM FINEST: Load language file: jar:file:/C:/Users/eltm-fiedlerova/AppData/Local/Hexagon/App%20Launcher/cache/cb0586f5-3e0f-4009-af70-14a0788717b3.jar!/workspace/GPSDevices/language.properties --> [main] com.intergraph.tools.utils.Languages.loadText
Jan 28, 2019 9:21:42 AM FINEST: Add 335 values to the Language Bundle --> [main] com.intergraph.tools.utils.Languages.loadText
Jan 28, 2019 9:21:43 AM INFO: NOTINIT --> BOOTING --> [main] com.intergraph.web.core.kernel.SmartClientKernel.setStatus
Jan 28, 2019 9:21:43 AM FINEST: System Properties:
sun.desktop = windows
awt.toolkit = sun.awt.windows.WToolkit
Jan 28, 2019 9:22:56 AM INFO: Application exited: Not logged in: handler has aborted login --> [main] com.intergraph.web.DefaultKernelHandler.exit

 

Tereza

 

Technical Evangelist
Posts: 1,405
Registered: ‎09-11-2015

Re: GMSC ERROR - Invalid LICENSE detected.

Hi Tereza,

 

You should create the licerr.txt file in C:\Temp\

https://community.hexagongeospatial.com/t5/Licensing-Knowledge-Base/Error-logging-capability-for-the...

 

Restart WWW service and it should start filling afterwards.

 

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Contributor
Posts: 67
Registered: ‎11-12-2015

Re: GMSC ERROR - Invalid LICENSE detected.

Hi Jan,

 

thanks for the hint.

 

I found this error in Licerr.txt:

CLCCheckout: lc_checkout failure.: -157: A Trusted Storage record is invalid. A repair of Trusted Storage is needed.
---------
Exit GetNumDays <=
---------
Checkout: GetNumDays failure
---------
Exit Checkout with a failure. <=

 

I attached complete Licerr.txt. Usually I can fix the error for a while by restarting IIS.

 

Tereza

Technical Evangelist
Posts: 1,405
Registered: ‎09-11-2015

Re: GMSC ERROR - Invalid LICENSE detected.

Hi Tereza,

 

You can try to repair the license via License Admin: License> Pepair License(s)

 

However there's a bunch of other errors in the licerr.txt, such as:
​CLCGetAttribute: lc_get_attr failure.: -95: Network connect to THIS_HOST failed.  
​...
CLCCheckout: lc_checkout failure.: -5: Specified feature does not exist.  
​...
and at the end the GMSC licenses are checked out successfully.

If this is a VM installation, it may be that its configuration changes now and then. Please make sure to follow "best practices" listed here:

https://www.hex-rays.com/products/ida/support/flexlm/fnp_LicAdmin.pdf

page 25 - To Avoid Trusted-Storage Breakage

 

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial