Contact Us

If you still have questions and are an active SimuTech customer, please submit a request.

  • Ansys Training
  • Consulting
  • About
  • Contact Support
  • Home
  • Installation

  • Troubleshooting

  • Errors & Solutions

  • How To's

  • Info

  • Remote Solve Manager

  • Employee Login

Can't find what you're looking for?

Contact Support

Installation & Licensing Center

Contact Us

If you are an active or future SimuTech customer and have questions or simply prefer to get help directly from an engineer, we'd be happy to help!

  • Home
  • Installation
  • Troubleshooting
  • Errors & Solutions
  • How To's
  • Info
  • Remote Solve Manager
+ More

HOW TO - Stop/Start the Ansys License Manager

Authored by Caleb Scharf October 30th, 2021 6024 views 0 likes KB1013561

Description

Stopping, Starting or Restarting the License Manager service can be necessary when troubleshooting different problems with Ansys software and can be done in several ways.

Solution

Delete

Warning for Multi-User Environments

When restarting the server in a multi-user environment, the checkout/reservation status of all licenses will be reset on the server.  Clients running the software at the time of the restart will attempt checkout a license again on their next heartbeat interval (~5-10min depending on the product). This means all license reservations will be lost and a user can potentially "cut in line".

Worst Case Scenario:

Engineer A is performing a long solve > the license server is restarted > 1min later Engineer B opens the software and pulls the same license that Engineer A was using > 2min later Engineer A's software attempts to checkout a license during the software's heartbeat interval (every ~5min) but can't, because it's already reserved by Engineer B > Engineer A's software runs for approximately 55min (attempting every ~5min to grab a license) until it finally closes and the solve stops.

Note - you can reserve licenses for users via an options file if necessary, but this takes some additional consideration and time to setup - HOW TO - Set User License Privileges via an Options File‍  


Via License Management Center (Web Interface)


  1. These steps must be performed on the license manager computer.
  2. Windows Search > search for Ansys License Management Center > right click and select Run as Administrator.
  3. Select View Status/Start/Stop License Manager > Stop > wait a few moments > Start when ready
  4. Click View Status/Start/Stop License Manager to double check the license server was started successfully

  5. Click View Status/Start/Stop License Manager to double check the license server was started successfully

  6. Optional - Click View FlexNet Licenses to view the installed license file.  This can be helpful for confirming the license file that is installed as expected, particularly if you've changed default ports or the hostname as some custom customer configurations do.
    1.  
Delete

Via Windows Services

Restarting via the LMC is preferable as you get more detailed information about the process.  However, there is some circumstances (example 1, example 2) where this method is necessary.

  1. These steps must be performed on the license manager computer.
  2. Windows Search > search for and open  Services.
  3. In the services list find the service named ANSYS, INC. License Manager
  4. Once found, right click and select Restart.
    1.  
  5. Refresh the list and check the web client to verify the restart ran correctly and the service now says Running.
  6. Windows Search > search for Ansys License Management Center > right click and select Run as Administrator.
  7. Click View Status/Start/Stop License Manager to double check the license server was started successfully
  8. Click Display FlexNet License Status > Verify the license status is up and displays your license features appropriately.  
  9. Optional - Click View FlexNet Licenses to view the installed license file.  This can be helpful for confirming the license file that is installed as expected, particularly if you've changed default ports or the hostname as some custom customer configurations do.
Delete

Forceful Restart via Task Manager

In some cases, if the methods above don't work, you can manually and forcefully stop all associated processes via the task manager and attempt to start the license manager again.

Delete

Warning - Multiple FlexNet Applications?

Do you have multiple FlexNet license applications (SolidWorks, Matlab, Creo, NX, etc.) installed on the same computer? If so, you will likely have multiple lmgrd.exe processes running and will need to identify and end only the process associated with Ansys.  See the picture for guidance.  


  1. These steps must be performed on the license manager computer.
  2. Windows Search > search for and open Task Manager > select the Details tab > locate and select End Task on the following processes in this order:
    1. ansysli_server.exe
    2. ansysli_monitor.exe
    3. lmgrd.exe
    4. ansyslmd.exe
  3. Attempt to start the license manager service via the License Management Center as detailed in the section above.
Delete


Delete

License Manager Won't Start?

If your license manager won't start, please see ERROR - Ansys License Manager Won't Start‍ 

restartlicense managermanagerrestart license serverrestart license managerrestart flexlmstop flexnet services

Did you like this article?

Yes
No

0 out of 1 liked this article

Related Articles

HOW TO - Change/Move License Servers

HOW TO - Gather License Server Host Info

HOW TO - Borrow an Ansys License

Popular Articles

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Download & Installation Guide (Start Here!)

Ansys Troubleshooting Guide

ERROR - Hostid in the license file is not a valid hostid

Accessing the Ansys Customer Portal

Did you like this article?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • SimuTech Online Training Course Checklist
  • ERROR - HTTP Error When Gathering Diagnostics
  • HOW TO - Verify Licenses Can be Checked Out
  • INFO - Understanding Ansys License Files (ansyslmd.lic)
  • ERROR - Black screen in CFX-Pre and CFD-Post
  • INFO - Ansys Version & Release Date History
  • HOW TO - Change Discovery Licensing Mode
  • ERROR - Failover feature 'Discovery - level 1' is not available
  • HOW TO - Add Elastic Licensing in Client Licensing Settings

General Inquiries & Sales:

(800) 566-9190

Info@SimuTechGroup.com

Contact Support

  • Software
  • Services
  • Case Studies
  • Ansys Training
  • Consulting
  • Technical Support
  • About SimuTech
  • Careers
  • Privacy

© 2021 SimuTech Group

Definition by Author

0
0
Expand

Thanks for your feedback!

How can we improve this article?

We're glad you liked the article!

What specifically did you like, so we can do that more!

Thanks for your time!

What feedback do you have for us?