Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FLEXnet Licensing errors

35 REPLIES 35
SOLVED
Reply
Message 1 of 36
jneal
31889 Views, 35 Replies

FLEXnet Licensing errors

Greetings all-

I have searched and read multiple threads and can't seem to find an answer for my problems. Here goes:

 

NLM has been running fine for months since the update for 2014 software.

3 days ago NLM is down so I go check it.

"Winsock" errors, multiple -16,287  -15,10 -97,121 etc. errors... 

I reboot the server and it works fine for a day or so

When it goes down I cannot click on the "System Settings" tab. It is blank and locks up LMGRD.exe and I have to end the process.

 

Any ideas?

 

Here's the latest from my log file. I see that it says multiple lmgrd.exe's running but I'm not sure i understand why that is happening-

-------------------------------------------------------------------------------------------------



3:04:07 (lmgrd) TIMESTAMP 6/7/2013
9:04:07 (lmgrd) TIMESTAMP 6/7/2013
9:57:55 (lmgrd) adskflex exited with status 1 signal = 332
9:57:55 (lmgrd) Since this is an unknown status, license server
9:57:55 (lmgrd) manager (lmgrd) will attempt to re-start the vendor daemon.
9:57:55 (lmgrd) Starting vendor daemon at port 2080
9:57:55 (lmgrd) Using vendor daemon port 2080 specified in license file
9:57:55 (lmgrd) REStarted adskflex (pid 5200)

9:58:11 (lmgrd)
9:58:11 (lmgrd) pid 5856
9:58:11 (lmgrd) Done rereading
9:58:11 (lmgrd) FLEXnet Licensing (v11.7.0.0 build 73797 x64_n6) started on master (IBM PC) (6/7/2013)
9:58:11 (lmgrd) Copyright (c) 1988-2009 Acresso Software Inc. All Rights Reserved.
9:58:11 (lmgrd) US Patents 5,390,297 and 5,671,412.
9:58:11 (lmgrd) World Wide Web: http://www.acresso.com
9:58:11 (lmgrd) License file(s): C:\allcadnw\IT\License Manager\master.lic
9:58:11 (lmgrd) lmgrd tcp-port 27000
9:58:11 (lmgrd) Starting vendor daemons ...
9:58:11 (lmgrd) Starting vendor daemon at port 2080
9:58:11 (lmgrd) Using vendor daemon port 2080 specified in license file
9:58:11 (lmgrd) Started adskflex (pid 5072)
9:58:11 (adskflex) Unable to initialize access to trusted storage: 1
9:58:11 (adskflex) FLEXnet Licensing version v11.7.0.1 build 79971 x64_n6
9:58:11 (adskflex) EXITING DUE TO SIGNAL 32 Exit reason 9
9:58:13 (lmgrd) adskflex exited with status 32 (Exited because another server was running)
9:58:13 (lmgrd) MULTIPLE "adskflex" license server systems running.
9:58:13 (lmgrd) Using Task Manager, stop adskflex and run lmreread
9:58:13 (lmgrd)
9:58:13 (lmgrd) This error probably results from:
9:58:13 (lmgrd) 1. Another copy of the license server manager (lmgrd) is running.
9:58:13 (lmgrd) 2. Another copy of the vendor daemon is running.
9:58:13 (lmgrd) 3. The locking mechanism(s) were removed by an
9:58:13 (lmgrd) outside program.
9:58:13 (lmgrd)
9:58:13 (lmgrd) Rereading license file... Requested from Administrator@master
9:58:13 (lmgrd) Starting vendor daemon at port 2080
9:58:13 (lmgrd) Using vendor daemon port 2080 specified in license file
9:58:13 (lmgrd) Reread: Started adskflex (pid 1192) 9:58:13 (lmgrd) Done rereading
9:58:13 (lmgrd) ...Finished rereading
9:58:13 (adskflex) Unable to initialize access to trusted storage: 1
9:58:13 (adskflex) FLEXnet Licensing version v11.7.0.1 build 79971 x64_n6
9:58:13 (adskflex) EXITING DUE TO SIGNAL 32 Exit reason 9
9:58:15 (lmgrd) adskflex exited with status 32 (Exited because another server was running)
9:58:15 (lmgrd) MULTIPLE "adskflex" license server systems running.
9:58:15 (lmgrd) Using Task Manager, stop adskflex and run lmreread
9:58:15 (lmgrd)
9:58:15 (lmgrd) This error probably results from:
9:58:15 (lmgrd) 1. Another copy of the license server manager (lmgrd) is running.
9:58:15 (lmgrd) 2. Another copy of the vendor daemon is running.
9:58:15 (lmgrd) 3. The locking mechanism(s) were removed by an
9:58:15 (lmgrd) outside program.
9:58:15 (lmgrd)

10:00:42 (lmgrd) Forced shutdown requested
10:00:43 (lmgrd) SHUTDOWN request from Administrator at node master
10:00:43 (lmgrd) lmgrd will now shut down all the vendor daemons

10:00:43 (lmgrd) EXITING DUE TO SIGNAL 15
10:00:46 (lmgrd) -----------------------------------------------

10:00:46 (lmgrd) pid 1168
10:00:46 (lmgrd) Done rereading
10:00:46 (lmgrd) FLEXnet Licensing (v11.7.0.0 build 73797 x64_n6) started on master (IBM PC) (6/7/2013)
10:00:46 (lmgrd) Copyright (c) 1988-2009 Acresso Software Inc. All Rights Reserved.
10:00:46 (lmgrd) US Patents 5,390,297 and 5,671,412.
10:00:46 (lmgrd) World Wide Web: http://www.acresso.com
10:00:46 (lmgrd) License file(s): C:\allcadnw\IT\License Manager\master.lic
10:00:46 (lmgrd) lmgrd tcp-port 27000
10:00:46 (lmgrd) Starting vendor daemons ...
10:00:46 (lmgrd) Starting vendor daemon at port 2080
10:00:46 (lmgrd) Using vendor daemon port 2080 specified in license file
10:00:46 (lmgrd) Started adskflex (pid 2312)
10:00:46 (adskflex) Unable to initialize access to trusted storage: 1
10:00:46 (adskflex) FLEXnet Licensing version v11.7.0.1 build 79971 x64_n6
10:00:46 (adskflex) EXITING DUE TO SIGNAL 32 Exit reason 9
10:00:49 (lmgrd) adskflex exited with status 32 (Exited because another server was running)
10:00:49 (lmgrd) MULTIPLE "adskflex" license server systems running.
10:00:49 (lmgrd) Using Task Manager, stop adskflex and run lmreread
10:00:49 (lmgrd)
10:00:49 (lmgrd) This error probably results from:
10:00:49 (lmgrd) 1. Another copy of the license server manager (lmgrd) is running.
10:00:49 (lmgrd) 2. Another copy of the vendor daemon is running.
10:00:49 (lmgrd) 3. The locking mechanism(s) were removed by an
10:00:49 (lmgrd) outside program.
10:00:49 (lmgrd)
10:00:49 (lmgrd) Rereading license file... Requested from Administrator@master
10:00:49 (lmgrd) Starting vendor daemon at port 2080
10:00:49 (lmgrd) Using vendor daemon port 2080 specified in license file
10:00:49 (lmgrd) Reread: Started adskflex (pid 6040)10:00:49 (lmgrd) Done rereading
10:00:49 (lmgrd) ...Finished rereading
10:00:49 (adskflex) Unable to initialize access to trusted storage: 1
10:00:49 (adskflex) FLEXnet Licensing version v11.7.0.1 build 79971 x64_n6
10:00:49 (adskflex) EXITING DUE TO SIGNAL 32 Exit reason 9
10:00:54 (lmgrd) adskflex exited with status 32 (Exited because another server was running)
10:00:54 (lmgrd) MULTIPLE "adskflex" license server systems running.
10:00:54 (lmgrd) Using Task Manager, stop adskflex and run lmreread
10:00:54 (lmgrd)
10:00:54 (lmgrd) This error probably results from:
10:00:54 (lmgrd) 1. Another copy of the license server manager (lmgrd) is running.
10:00:54 (lmgrd) 2. Another copy of the vendor daemon is running.
10:00:54 (lmgrd) 3. The locking mechanism(s) were removed by an
10:00:54 (lmgrd) outside program.
10:00:54 (lmgrd)

---------------------------------------------------------------------------------------------------------

 

Any ideas?

 

Thanks

Jess

 

 

Application Engineer
All CAD Northwest
Meridian ID
Tags (3)
35 REPLIES 35
Message 21 of 36
Darin.Green
in reply to: jneal

Jess,

 

You need to stop all of the services, then update the license manager with 11.11 version... then restart the service through LMTOOLS...

 

Here's the link again:

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=10976858&linkID=9240618



If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution


Message 22 of 36
jneal
in reply to: Darin.Green

Ok...  I'm starting from scratch... I deleted all traces of NLM files and exe's from my server. Uninstalled network license manager via add remove programs. Rebooted. 

 

When i go look into services i still have a "Flexlm Service 1". It is not started.

 

Should I still have that if everything has been uninstalled?

 

Win Server 2008 R2 FYI

 

Jess

 

Application Engineer
All CAD Northwest
Meridian ID
Message 23 of 36
TravisNave
in reply to: jneal

Yes. Delete the service from LMTOOLS if you wanna remove that.


Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 24 of 36
Darin.Green
in reply to: jneal

Yes, because the license manager was probably installed on that machine and all you did was delete the files from the directory without uninstalling from Add/Remove Programs.

 

Regardless of that service still being there, once you install the updated license manager, enter a new name for the service on the Config Services tab then fill in the other information and click save service. This will avoid using the default (old) FlexLM Service 1 service.



If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution


Message 25 of 36
jneal
in reply to: Darin.Green

Now I cant get it to work at all even after a reboot.... 

 

Here's what I did:

 

  1. uninstalled everything via add/remove programs
  2. deleted extraneous files/folders via explorer
  3. reboot
  4. installed nlm11.11_ipv4_win64.exe
  5. configured a new service called "All CAD Flex1"
  6. started the server

 

 

Info:


---------
Version
---------
FLEXnet Licensing v11.11.0.0 build 106800 x64_n6 (lmgr.lib), Copyright (c) 1988-2012 Flexera Software LLC. All Rights Reserved.



 

Here's the same winsock error I keep getting. 


--------
Status
--------
Flexible License Manager status on Wed 6/12/2013 14:10

[Detecting lmgrd processes...]
License server status: 27000@master
License file(s) on master: C:\allcadnw\IT\License Manager\master.lic:

master: license server UP (MASTER) v11.11

Vendor daemon status (on master):

adskflex: Cannot connect to license server system.
The license server manager (lmgrd) has not been started yet,
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Server name: 192.168.10.5
License path: 27000@master;
FLEXnet Licensing error:-15,10. System Error: 10061 "WinSock: Connection refused"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".

 




It says lmgrd has not been started but there are (2) instances of it in task manager showing. 

 

I'm at a loss here guys. Not sure if there is some sort of registry magic i need to do to do a clean uninstall..

 

Again thanks for the help eveyrone-

 

Jess

 

Application Engineer
All CAD Northwest
Meridian ID
Message 26 of 36
DarrenP
in reply to: jneal

does the license file info match to what the license manager see as far as mac address and server name?

can you try disabling the firewall or allow these ports through?

TCP ports 2080 (for the adskflex vendor daemon)
TCP ports 27000 to 27009 (for the lmgrd master daemon)

DarrenP
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 27 of 36
TravisNave
in reply to: jneal

Definitely do what Darren recommends.  What is your server OS?



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 28 of 36
jneal
in reply to: TravisNave

Win Server 2008 R2 x64

 

Application Engineer
All CAD Northwest
Meridian ID
Message 29 of 36
jneal
in reply to: DarrenP

Here's a screen shot while i am attempting to open ports up. Everything matches as far as i can tell...

 

Application Engineer
All CAD Northwest
Meridian ID
Message 30 of 36
DarrenP
in reply to: jneal

delete the 27000 you don't need this

DarrenP
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 31 of 36
jneal
in reply to: DarrenP


@DarrenP wrote:

delete the 27000 you don't need this


Done...

 

So It is now up and running again. I added exceptions for 2080, 27000 and for the 4 exe's as well. I'll report back if its not running again. 

 

I still have 2 lmgrd.exe's running in task manager for some reason. One is 1808k and the other is 4608k. Not sure why...

 

Jess

 

Application Engineer
All CAD Northwest
Meridian ID
Message 32 of 36
TravisNave
in reply to: jneal


@jneal wrote:

@DarrenP wrote:

delete the 27000 you don't need this


Done...

 

So It is now up and running again. I added exceptions for 2080, 27000 and for the 4 exe's as well. I'll report back if its not running again. 

 

I still have 2 lmgrd.exe's running in task manager for some reason. One is 1808k and the other is 4608k. Not sure why...

 

Jess

 


Yes, that is normal. 



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 33 of 36
DarrenP
in reply to: TravisNave

i just noticed this on ours to

so yes this seems to be normal

DarrenP
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 34 of 36
jneal
in reply to: DarrenP

Thanks again guys for your help. I really appreciate it...

 

I'm going to mark the post with the port exceptions as the answer...

 

Jess

 

Application Engineer
All CAD Northwest
Meridian ID
Message 35 of 36
DarrenP
in reply to: jneal

 


jneal wrote:

Thanks again guys for your help. I really appreciate it...

 

I'm going to mark the post with the port exceptions as the answer...

 

Jess

 


your welcome
you may want to wait a few days to see if it happens again before marking it as a solution

DarrenP
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 36 of 36
jneal
in reply to: DarrenP


@DarrenP wrote:

 your welcome

you may want to wait a few days to see if it happens again before marking it as a solution

 

Still running strong fellas.. I'll mark a solution now. Thanks again for your help-

 

Jess

 

Application Engineer
All CAD Northwest
Meridian ID

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report