License Administration 2017
License Administration 2017
License administration
March 2017
2
6.1 Configuration codes and keywords used in access right definitions........55
16 Disclaimer...................................................................................111
3
4
1 Tekla Structures licensing
system
Tekla Structures licensing system 8 Checklist for the Tekla Structures license server
administrator
• Save the entitlement certificate on the license server computer and activate
licenses on the server to make the licenses available for Tekla Structures
users, or for yourself, if the license server is installed on your own
computer: Activate Tekla Structures licenses using automatic server
notification (page 48)
• Inform users of the license server name and port number so that they can
connect Tekla Structures to the server: Connect Tekla Structures to the
license server (page 52)
• If necessary, modify the firewall settings to allow licensing traffic: Allowing
Tekla Structures license server to operate through Windows Firewall
(page 28)
• If necessary, modify license access rights in the tekla.opt options file:
Modify Tekla Structures license access rights (tekla.opt) (page 54)
• Export a customized product ID files for license borrowing and deliver them
to offline users: Provide offline users with a customized product ID file
(page 69)
• Inform users of the license policy of the company and monitor license use.
y.
Because the users use different configurations, the company uses a common
license server.
• The company has an internal policy for license use containing regulations
for managing the licenses.
• One of the main users is assigned as the license server administrator. The
administrator installs the license server and informs the other users of the
hostname and port number of the server. The license server administrator
also performs other server maintenance duties.
• One of the users travels a lot and needs Tekla Structures on the journeys. A
license server is installed separately on the user’s computer, so the user
does not need to borrow a license or use a VPN connection for offline use
of Tekla Structures.
• Other users borrow licenses from the license server when they need to use
Tekla Structures offline.
The Tekla Structures license server installation package contains license server
files, applications for license management and guides. To install the license
server software, download the license server installation package with the
latest updates from Tekla Downloads product download service.
You have two choices in installation:
• Automatic default installation: Select automatic installation for normal
setup. Automatic installation is recommended.
For detailed installation instructions, see Install Tekla Structures license
server - automatic installation (page 18).
• Manual installation: Use manual installation if you need to separately
install the license server, modify the license file, configure the license
service, and start the server software. This is needed if you want to use
another TCP/IP port than the one used in the automatic installation, for
example. Use manual installation only if you are an advanced user of
FlexNet or FlexIm licensing.
For detailed installation instructions, see Install Tekla Structures license
service - manual installation (page 19).
Before installing Tekla Structures license server
• Install the license server using administrator's rights.
• Turn off the internal firewall and pause the antispyware/antivirus
protection.
• Ensure that you have access to the Internet. The Internet connection is
needed during the license activation process. An unreliable connection
speed may cause errors.
• If you are using other FlexNet licensing services, you need to stop them
before you install the Tekla Structures license server. When you have
completed installing the Tekla Structures license server, you can restart the
other licensing services.
Installing Tekla Structures license server 17 Examples of different Tekla Structures licensing
system setups
See also
Problems in Tekla Structures license server installation and connecting to the
license server (page 87)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Activating Tekla Structures licenses (page 47)
Allowing Tekla Structures license server to operate through Windows Firewall
(page 28)
For instructions on how to install the license server, see Install Tekla Structures
license server.
Installing Tekla Structures license server 18 Which license server version to use
2.2 Install Tekla Structures license server - automatic
installation
Before you start license server installation, stop FlexNet licensing services and
other licensing services.
For more information about which license server version to use, see Which
license server version to use (page 18).
To install the default setup of the Tekla Structures license server to a computer
that does not have a previous version of Tekla Structures license server
installed:
1. Download the license server installation package with the latest updates
from Tekla Downloads product download service.
2. Select the installation language.
3. Select Automatic as the licensing service installation type to install the
default setup.
4. Select the folder where you want to install the license server and complete
the installation.
Tekla Structures license server is installed.
In automatic license server installation, the license server address is
automatically set to 27007@your_hostname, where 27007 is the port and
your_hostname is the computer name/hostname. 27007@your_hostname is
used as the license server address in every Tekla Structures installation.
When you have installed the license server, you need to do the following:
• Save the entitlement certificate and activate the licenses. For more
information, see Activate Tekla Structures licenses using automatic server
notification (page 48).
• Connect Tekla Structures to the license server. For more information, see
Connect Tekla Structures to the license server (page 52).
• You can also change the language of the user interface in Tekla Structures
License Administration Tool by opening the tool and clicking Language.
See also
Install Tekla Structures license service - manual installation (page 19)
Problems in Tekla Structures license server installation and connecting to the
license server (page 87)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Installing Tekla Structures license server 19 Install Tekla Structures license service - manual
installation
2.3 Install Tekla Structures license service - manual
installation
Use manual installation if you want to separately install the license server,
modify the license file, configure the license server, and start the license server
software. In manual installation of Tekla Structures license server, you also
install two files: installanchorservice.exe and
uninstallanchorservice.exe. You need these files when you manually
install or uninstall FlexNet Licensing Service.
For example, you need to install the license server manually if the default
TCP/IP port 27007 is already in use by other services or applications, and you
need to define another port in the license file tekla.lic.
Before you start license server installation, stop other FlexNet licensing
services.
To install the license server manually:
1. Download the license server installation package with the latest updates
from Tekla Downloads product download service.
2. Select the installation language.
3. Select Manual as the licensing server installation type and complete the
installation.
4. Go to the Start menu or Start screen (depending on your Windows
operating system) and open Command Prompt as administrator.
5. At the command prompt, enter the following commands:
a. cd /d %SYSTEMDRIVE%\TeklaStructures\License\Server
b. installanchorservice.exe
The licensing server is installed.
6. Modify the license file to include the hostname or IP address of the server,
and the correct TCP/IP port:
a. Open the ..\TeklaStructures\License\Server folder on the
server computer.
b. Open the tekla.lic (license file) file with a text editor.
Installing Tekla Structures license server 20 Install Tekla Structures license service - manual
installation
c. Replace text localhost on the line SERVER localhost ANY with
the hostname (computer name) or IP address of the license server.
d. Enter the TCP/IP port number after text SERVER server_hostname
ANY.
e. Save the changes and close the text editor.
7. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu
or Start screen, depending on your Windows operating system.
8. On the Service/License File tab, click Configuration using Services.
9. On the Config Services tab to configure the licensing service:
a. In the Service Name box, enter the name of the service exactly as
follows: Tekla Structures Licensing Service.
b. Click the Browse buttons to locate the lmgrd.exe (license server
manager), tekla.lic and tekla_debug.log files.
By default, lmgrd.exe, tekla.lic and tekla_debug.log are
located in the C:\TeklaStructures\License\Server folder.
Note that if you set Path to the debug log file outside the "C:
\ProgramData\..." folder, you get an error message: "Windows
preferred path <SystemDrive>\ProgramData to store service data is
not set." This error message can be ignored.
c. Select the Use Services check box to run the licensing service as a
Windows service.
d. Select the Start Server at Power Up check box to start the licensing
service automatically after Windows startup.
e. Select the Trusted Storage in Use check box. This should always be
selected for Tekla Structures Licensing Service.
f. Click Save Service to save the settings.
Installing Tekla Structures license server 21 Install Tekla Structures license service - manual
installation
10. Go to the Start/Stop/Reread tab and click Start Server to start the
license server.
11. Go to the Server Status tab and click Perform Status Enquiry.
In the status list, the line License server status shows the TCP/IP
port and hostname of the license server.
Now you can activate the licenses and connect Tekla Structures to the
license server.
You can also change the language of the user interface in Tekla
Structures License Administration Tool by opening the tool and clicking
Language.
See also
Modify the license file tekla.lic manually (page 22)
Activate Tekla Structures licenses using automatic server notification
(page 48)
Configure Tekla Structures license server manually (page 24)
Problems using LMTOOLS in Tekla Structures licensing (page 97)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Installing Tekla Structures license server 22 Modify the license file tekla.lic manually
2.4 Modify the license file tekla.lic manually
If you selected the Automatic installation option, the license server is set to
your hostname: 27007@server_hostname (port@hostname).
The licensing system automatically searches for an available TCP/IP port and
uses the first available port detected. The Automatic installation sets the port
to 27007.
You need to modify the tekla.lic license file if you:
• Select the Manual license server installation option
• Want to change the TCP/IP port of the licensing server
• Want to use the IP address of your computer instead of the hostname
To modify the license file tekla.lic manually:
1. Go to the ..\TeklaStructures\License\Server folder on the server
computer.
2. Open the tekla.lic file in a text editor.
3. Make the necessary changes:
• To use hostname or IP address: Replace text on the first line between
words SERVER and ANY with the hostname or IP address of your
license server.
Do not delete texts SERVER and ANY when you enter the hostname or
IP address of the license server.
The following formats are valid:
Hostname:server_hostname
Domain name: server_hostname.mycompany.com
IP address: 10.0.0.12
You can check the hostname of the license server in LMTOOLS on the
System Settings tab. Go to Tekla Structures Licensing --> LMTOOLS
through the Start menu or Start screen, depending on your Windows
operating system.
Installing Tekla Structures license server 23 Modify the license file tekla.lic manually
• To set the TCP/IP port manually: Enter the TCP/IP port number after
text SERVER server_hostname ANY.
The port number can be any free port in the range of 0 - 64000.
See also
Install Tekla Structures license service - manual installation (page 19)
LMTOOLS options and settings used in Tekla Structures licensing (page 79)
Installing Tekla Structures license server 24 Configure Tekla Structures license server
manually
Path to the license exe: Click Browse and locate tekla.lic. This file is
by default located in the C:\TeklaStructures\License\Server
folder.
Path to the debug log file: Click Browse and locate tekla_debug.log.
This file is by default located in the C:\TeklaStructures\License
\Server folder.
To append the logging entries in the debug log file, start the debug log file
name path with the plus sign (+), like by default for tekla_debug.log. If
the plus sign is missing, the log file will be rewritten each time the service
is started.
Note that if you set Path to the debug log file outside the "C:
\ProgramData\..." folder, you get an error message: "Windows
preferred path <SystemDrive>\ProgramData to store service data is not
set." This error message can be ignored.
Use Services: Select the check box to run the licensing service as a
Windows service.
Start Server at Power Up: Select the check box to start the licensing
service automatically after Windows startup.
Trusted Service in Use: Always select this check box for Tekla Structures
Licensing Service.
4. Click the Save Service button to save the settings.
5. Go to the Utilities tab and do the following:
Vendor Name: Enter tekla (all letters lowercase).
Path: Enter the name of the license server.
• If you run the license server and Tekla Structures on the same
computer, enter @localhost. You can also enter the TCP/IP port, for
example, 27007@localhost.
• If you run the license server and Tekla Structures on separate
computers, enter the hostname of the license server, for example,
@server_hostname.
• You can also enter the TCP/IP port of the license server, for example,
27007@server_hostname. You must define the port if you use
another port than the default port.
• You can also enter several license servers. Separate the server names
with a semicolon. For example, 27007@server_hostname;
27007@localhost.
6. Click the Override Path button to replace the existing license servers
displayed in the status list on the Server Status tab.
Installing Tekla Structures license server 25 Configure Tekla Structures license server
manually
7. Go to the Start/Stop/Reread tab and start the license server by clicking
Start Server.
The status bar should display a message telling that server start was
successful.
8. Go to the Server Status tab and enquire the license server status by
clicking Perform Status Enquiry.
The status list displayes the TCP/IP port and hostname of the license server.
The list should indicate that license server is up and vendor daemon tekla is
up. The list also displays all the activated licenses on the server.
See also
Installing Tekla Structures license server (page 17)
LMTOOLS options and settings used in Tekla Structures licensing (page 79)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
See also
Install Tekla Structures license server - automatic installation (page 18)
Installing Tekla Structures license server 26 Modify, repair or remove Tekla Structures license
server installation
Install Tekla Structures license service - manual installation (page 19)
Installing Tekla Structures license server 27 Uninstall Tekla Structures license server
3 Allowing Tekla Structures
license server to operate
through Windows Firewall
When you set up Tekla Structures license server in your network, you may also
need to configure the firewall and antivirus settings:
• You need to allow the applications tekla.exe and lmgrd.exe to operate
through the firewall on the license servers and on the client computers.
• The internal firewall at your company must allow the communication
between the license server computer and the computers with Tekla
Structures.
• In addition to allowing the exceptions in your actual firewall, you may need
to configure exceptions for Windows Firewall. Windows Firewall may be set
on without you being aware of it, because some Windows updates may
automatically turn on the Windows Firewall.
For instructions on how to modify the firewall settings so that the Windows
Firewall on the license server allows Tekla Structures licensing traffic, see:
• Allow exceptions in firewall for lmgrd.exe and tekla.exe: Windows Server
2008 (page 28)
• Allow exceptions in firewall for lmgrd.exe and tekla.exe: Windows 7, 8, 8.1,
10 and Windows Server 2012 (page 31)
• Allow traffic in fixed TCP/IP ports: Windows Server 2008 (page 32)
• Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1, 10 and Windows
Server 2012 (page 37)
In addition to Windows Firewall, the information given also applies to firewalls
from other vendors.
Allowing Tekla Structures license server to 28 Allow exceptions in firewall for lmgrd.exe and
operate through Windows Firewall tekla.exe: Windows Server 2008
3.1 Allow exceptions in firewall for lmgrd.exe and
tekla.exe: Windows Server 2008
You need to allow the applications tekla.exe and lmgrd.exe to operate
through the firewall on the license server computer to enable licensing traffic.
The instructions apply to Windows Server 2008.
5. In the Add a Program dialog box, click Browse and browse for the Server
folder.
By default, the path is ...\TeklaStructures\License\Server.
6. In the Server folder, select lmgrd.exe.
Allowing Tekla Structures license server to 29 Allow exceptions in firewall for lmgrd.exe and
operate through Windows Firewall tekla.exe: Windows Server 2008
7. Click Open to add lmgrd.exe to the program list in the Add a Program
dialog box.
8. In the Add a Program dialog box, ensure that lmgrd.exe is selected, and
click OK.
Allowing Tekla Structures license server to 30 Allow exceptions in firewall for lmgrd.exe and
operate through Windows Firewall tekla.exe: Windows Server 2008
9. To allow the exceptions also for tekla.exe, repeat the steps 3 – 7.
10. Click OK to confirm the changes.
Allowing Tekla Structures license server to 31 Allow exceptions in firewall for lmgrd.exe and
operate through Windows Firewall tekla.exe: Windows 7, 8, 8.1, 10 and Windows
Server 2012
3. In Allowed programs or Allowed apps (depending on the operating
system), click Change settings.
Administrator permission is required. If you're prompted for an
administrator password or confirmation, enter the password or confirm.
4. Click Allow another program or Allow another app (depending on the
operating system).
5. Click Browse to browse for the \Server folder on the computer, select
lmgrd.exe and click Open.
By default, the path is ...\TeklaStructures\License\Server.
6. Click Add to add lmgrd.exe to the Allowed programs or Allowed apps
and features list (depending on the operating system).
7. Select both Home/Work (Private) or Private (depending on the
operating system) and Public check boxes next to lmgrd.exe.
8. Allow the exceptions also for tekla.exe by repeating the steps 4 – 7.
9. Click OK to confirm the changes.
See also
Allowing Tekla Structures license server to operate through Windows Firewall
(page 28)
To allow traffic in fixed TCP/IP ports in Windows Server 2008 on the license
server computer:
1. Ensure that no other software or service is using the ports that you are
about to set fixed.
Use the command line command netstat -anp TCP to find out which
ports are in use.
The numbers in the Local Address column after the colon (:) are the port
numbers that are in use.
Allowing Tekla Structures license server to 32 Allow traffic in fixed TCP/IP ports: Windows Server
operate through Windows Firewall 2008
2. Browse for tekla.lic, and open it using a text editor.
By default, the path is ..\TeklaStructures\License\Server.
3. To set a fixed port for lmgrd.exe, enter the TCP/IP port number at the
end of the SERVER row.
The Automatic installation option sets the port to 27007.
4. Enter the text port=free_port at the end of the VENDOR row, for
example, port=1234.
Defining the TCP/IP port number on the VENDOR row may slow down the
restart time of Tekla Structures Licensing Service.
5. Save the changes and close tekla.lic.
6. Update your license server with the changes:
a. Go to Tekla Structures Licensing --> LMTOOLS through the Start
menu or Start screen, depending on your Windows operating
system.
Allowing Tekla Structures license server to 33 Allow traffic in fixed TCP/IP ports: Windows Server
operate through Windows Firewall 2008
b. Go to the Service/License File tab and ensure that Configuration
using services and Tekla Structures Licensing Service are selected.
Allowing Tekla Structures license server to 34 Allow traffic in fixed TCP/IP ports: Windows Server
operate through Windows Firewall 2008
11. In the Add a Port dialog box:
• In the Name box, enter lmgrd.
• In the Port box, enter the TCP/IP port number that you set in step 3.
Allowing Tekla Structures license server to 35 Allow traffic in fixed TCP/IP ports: Windows Server
operate through Windows Firewall 2008
• In the Name box, enter tekla.
• In the Port box, enter the TCP/IP port number that you set in step 4.
Allowing Tekla Structures license server to 36 Allow traffic in fixed TCP/IP ports: Windows Server
operate through Windows Firewall 2008
See also
Allowing Tekla Structures license server to operate through Windows Firewall
(page 28)
Allowing Tekla Structures license server to 37 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
4. Enter the text port=free_port at the end of the VENDOR row, for
example, port=1234.
Defining the TCP/IP port number on the VENDOR row may slow down the
restart time of Tekla Structures Licensing Service.
5. Save the changes and close tekla.lic.
6. Update your license server with the changes:
a. Go to Tekla Structures Licensing --> LMTOOLS through the Start
menu or Start screen, depending on your Windows operating
system.
b. On the Service/License File tab, ensure that Configuration using
services and Tekla Structures Licensing Service are selected.
Allowing Tekla Structures license server to 38 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
c. Go to the Start/Stop/Reread tab and click Stop Server to stop the
license server, and then start the server again by clicking Start
Server.
7. Click the Windows logo key on your keyboard to show the Start menu or
Start screen, depending on the operating system.
8. Type wf.msc and press Enter. The Windows Firewall with Advance
Security MMS snap-in is displayed.
9. In the navigation tree, select Inbound Rule, and then in the Actions pane,
click New Rule.
Allowing Tekla Structures license server to 39 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
10. On the Rule type panel, select Port and then click Next.
Allowing Tekla Structures license server to 40 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
11. On the Protocol and Ports panel, select TCP, enter the TCP/IP port
numbers that you set in steps 3 and 4 in Specific local ports, and then
click Next.
Allowing Tekla Structures license server to 41 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
Allowing Tekla Structures license server to 42 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
12. On the Action panel, select Allow the connection, and then click Next.
13. On the Profile panel, select the appropriate profiles, and then click Next.
Allowing Tekla Structures license server to 43 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
14. On the Name panel, enter the name of the rule, and then click Finish.
Allowing Tekla Structures license server to 44 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
The rule is created and automatically enabled.
Allowing Tekla Structures license server to 45 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
Tekla Structures
Allow exceptions in firewall for lmgrd.exe and tekla.exe: Windows 7, 8, 8.1, 10
and Windows Server 2012 (page 31)
Allowing Tekla Structures license server to operate through Windows Firewall
(page 28)
Allowing Tekla Structures license server to 46 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
operate through Windows Firewall 8.1, 10 and Windows Server 2012
4 Activating Tekla Structures
licenses
You need to activate the licenses on the license server to be able to use them.
When you activate the licenses, your license server contacts the activation
server at Trimble Solutions, and the license rights are transferred to the license
server at your company or, in the case of a single user, to your computer.
Tekla Structures License Administration Tool is the application used for
activating licenses. To be able to activate the licenses, you need an entitlement
certificate.
Activating Tekla Structures licenses 47 Allow traffic in fixed TCP/IP ports: Windows 7, 8,
8.1, 10 and Windows Server 2012
IDs of the Tekla Structures licenses you are entitled to use. The activation ID
enables the transfer of license rights. Before activating any licenses, you
need to download the entitlement certificate file
EntitlementCertificate.html from your e-mail to the ..
\TeklaStructures\License\Server folder. After that you can open the
entitlement certificate with Tekla Structures License Administration Tool
and activate your licenses.
See also
Activate Tekla Structures licenses using automatic server notification
(page 48)
Activate Tekla Structures licensing using manual server notification (page 49)
Problems in Tekla Structures license activation (page 90)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
NOTE Do not use automatic notification if you are using some other FlexNet
license and license server administration tool, such as FlexNet
Manager. To notify the license server about license changes manually,
see Activate Tekla Structures licensing using manual server notification
(page 49).
Activating Tekla Structures licenses 48 Activate Tekla Structures licenses using automatic
server notification
EntitlementCertificate.html, and clicking Open again. The license
information is displayed in the Entitled Licenses area.
4. Click the Activate cell and select the number of licenses to activate.
Useful links
For more information about the status of the activated licenses in the trusted
storage and manual license activation, the following Support Articles in Tekla
User Assistance:
How to list the activated licenses using command lines
Checking the status of the activated licenses in the trusted storage
Checking the status of the activated licenses in the trusted storage (including
borrowing info)
How to activate licenses using command lines - Manual Activation
See also
Activating Tekla Structures licenses (page 47)
Problems in Tekla Structures license activation (page 90)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Activating Tekla Structures licenses 49 Activate Tekla Structures licensing using manual
server notification
4.2 Activate Tekla Structures licensing using manual
server notification
You can activate Tekla Structures licenses in Tekla Structures License
Administration Tool. In activation, the license server at your company
contacts the activation server at Trimble Solutions using an Internet
connection. You can notify the license server manually of license changes.
Before the activation can be done, the entitlement certificate needs to be
opened.
NOTE Do not use automatic notification if you are using some other FlexNet
license and license server administration tool, such as FlexNet
Manager.
3. Click the Activate cell and select the number of licenses to activate.
Activating Tekla Structures licenses 50 Activate Tekla Structures licensing using manual
server notification
d. Click ReRead License File.
The license server reads the license information.
• The activated licenses are displayed in the Activated Licenses area.
• Do not forget to take a backup copy of the trusted storage of the activated
licenses.
• When you open Tekla Structures License Administration Tool, it detects
expired and broken licenses you may have and asks if you want to repair or
deactivate them. If you select Yes, an automatic deactivation or repair is
run.
Useful links
For more information about the status of the activated licenses in the trusted
storage and manual license activation, see the following Support Articles in
Tekla User Assistance:
How to list the activated licenses using command lines
Checking the status of the activated licenses in the trusted storage
Checking the status of the activated licenses in the trusted storage (including
borrowing info)
How to activate licenses using command lines - Manual Activation
See also
Activating Tekla Structures licenses (page 47)
Problems in Tekla Structures license activation (page 90)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Activating Tekla Structures licenses 51 Activate Tekla Structures licensing using manual
server notification
5 Connect Tekla Structures to the
license server
• When you start Tekla Structures for the first time, the system asks you to
define the Tekla Structures license server.
1. Start Tekla Structures.
Connect Tekla Structures to the license server 52 Activate Tekla Structures licensing using manual
server notification
4. Click OK to start Tekla Structures.
5. If you need to redefine the license server at some point, go to the File
menu and click Settings --> Change License Server in Tekla Structures.
The change comes into effect the next time you start Tekla Structures.
See also
Install Tekla Structures license server - automatic installation (page 18)
Modify the license file tekla.lic manually (page 22)
Activate Tekla Structures licenses using automatic server notification (page 48)
Problems in starting Tekla Structures (page 100)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Connect Tekla Structures to the license server 53 Activate Tekla Structures licensing using manual
server notification
6 Modify Tekla Structures license
access rights (tekla.opt)
The license server administrator may grant different users and user groups
different rights by modifying the tekla.opt options file. The administrator
may allow or block certain configurations for certain users, or prevent license
borrowing for offline use. Some basic rules need to be followed when defining
Tekla Structures license access rights in the options file tekla.opt. Otherwise
the license use and license borrowing may not work.
Modify Tekla Structures license access rights 54 Activate Tekla Structures licensing using manual
(tekla.opt) server notification
• The type that is affected by the keyword.
The options are: USER, GROUP, HOST, and HOST_GROUP.
• The name of the user, user group, host, or host group that is
affected by the keyword.
You can use the hostnames or IP addresses of the computers with
the HOST and HOST_GROUP keywords.
• To disable a row in the options file, enter # in the beginning of the row.
Examples of definitions:
INCLUDE PCD-C USER scarlett (Only the user scarlett is allowed to
use the Precast Concrete Detailing configuration.)
RESERVE 1 RCD-C USER vera (One license of the Rebar Detailing
configuration is reserved for the user vera.)
For details about the allowed keywords and configuration codes together
with more examples, Configuration codes and keywords used in access
right definitions (page 55).
4. Save the changes and close the text editor.
5. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu
or Start screen, depending on your Windows operating system.
6. In LMTOOLS, go to the Start/Stop/Reread tab and click the ReRead
License File button to update the changes in the license file and in the
options file.
Useful links
For more information about limiting certain Tekla Structures versions to
certain users, see the following Support Article in Tekla User Assistance: How
to limit certain Tekla Structures version to certain users
Configuration codes
When you define access rights for different Tekla Structures configurations in
the tekla.opt options file, you need to add a proper code for each
configuration in the definition.
Modify Tekla Structures license access rights 55 Configuration codes and keywords used in access
(tekla.opt) right definitions
NOTE The configuration codes are backward compatible, and the codes used
for licensing in older Tekla Structures versions still work. However, the
commercial product name of the configuration may change between
versions. For example, the commercial product name for STDL-C used
to be Steel Detailing Limited, but now it is Primary.
The codes for the Tekla Structures configurations are listed below:
Modify Tekla Structures license access rights 56 Configuration codes and keywords used in access
(tekla.opt) right definitions
Keyword Description Usage information
INCLUDE Allow a user to use a Use with the
Tekla Structures abbreviation of the
configuration. configuration.
INCLUDE_ENTITLEMENT Allow a user to borrow a Use with the activation
license. ID of the license.
INCLUDEALL Allow a user to use all
Tekla Structures
configurations.
MAX Limit the usage of a Use with the number of
configuration. licenses and the
abbreviation of the
configuration.
RESERVE Reserve licenses for a Use with the number of
user/host or a group of licenses and the
users/hosts. abbreviation of the
configuration.
Modify Tekla Structures license access rights 57 Configuration codes and keywords used in access
(tekla.opt) right definitions
Options file definition Description
GROUP students amy chloe The users amy, chloe, andy, and dean
andy dean belong to the group students. The limit to
MAX 3 EDU-C GROUP the usage of the Educational configuration
students for the group students is three licenses.
Useful links
For more information about limiting certain Tekla Structures versions to
certain users, see the following Support Article in Tekla User Assistance: How
to limit certain Tekla Structures version to certain users
Modify Tekla Structures license access rights 58 Configuration codes and keywords used in access
(tekla.opt) right definitions
7 Deactivating Tekla Structures
licenses
When you deactivate a license, the license rights are transferred from your
license server back to Trimble Solutions. Subsequent Tekla Structures licenses
are linked to each other. This means that you need to deactivate the previous
licenses in the chain before you can activate the subsequent licenses. Linking
works also the other way around: if you have activated a subsequent license,
you cannot activate the earlier license after that.
• You need to deactivate all the licenses that are displayed on the same row
in the Activated Licenses area in the Tekla Structures License
Administration Tool.
• Internet access is required in license deactivation.
• After deactivation, you can activate the licenses again on the same or on
another server.
NOTE Before you deactivate licenses, ensure that the licenses are not in use or
borrowed. The borrowed licenses must be returned before they can be
deactivated.
Deactivating Tekla Structures licenses 59 Configuration codes and keywords used in access
right definitions
When you do not need to deactivate licenses
You do not need to deactivate licenses before uninstalling and reinstalling the
license server.
See also
Deactivate Tekla Structures licenses (page 60)
Problems in Tekla Structures license deactivation (page 95)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
NOTE Before you deactivate licenses, ensure that the licenses are not in use
or borrowed. The borrowed licenses must be returned before they can
be deactivated.
To deactivate licenses:
1. Go to Tekla Structures Licensing --> Tekla Structures License
Administration Tool through the Start menu or Start screen, depending
on your Windows operating system. Start Tekla Structures License
Administration Tool with administrator rights.
2. In the Tekla Structures License Administration Tool dialog box, go to
the Statistic tab and ensure that no-one is using the licenses.
3. If you have not activated the automatic server notifications (the Notify
Server option in Tekla Structures License Administration Tool), you
need to stop the license server manually in LMTOOLS:
a. Go to Tekla Structures Licensing --> LMTOOLS through the Start
menu or Start screen, depending on your Windows operating
system. Start LMTOOLS with administrator rights.
b. On the Service/License File tab, ensure that Configuration using
services and Tekla Structures Licensing Service are selected.
c. Go to the Start/Stop/Reread tab and click Stop Server.
4. In Tekla Structures License Administration Tool, go to the Licenses tab.
See also
Deactivating Tekla Structures licenses (page 59)
Problems in Tekla Structures license deactivation (page 95)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
If your licenses have become untrusted or disabled, they cannot be used and
you need to repair them.
The license trust status is indicated in the Activated Licenses area in Tekla
Structures License Administration Tool. If a trust status symbol is green, the
information is trusted, if red, the information is untrusted.
NOTE Licenses that have the Host trust status untrusted cannot be
repaired.
• A red T (Time) indicates whether the system clock has been tampered with.
The Time trust status of your license is not trusted:
For more information about the status of the activated licenses in the trusted
storage, see instructions in the following Support Articles in Tekla User
Assistance:
Checking the status of the activated licenses in the trusted storage
Checking the status of the activated licenses in the trusted storage (including
borrowing info)
License renewal means that you extend the period of use of a temporary
license, or that you take the new version's licenses into use. Before you
activate a new versions's license or a new temporary license, you need to
deactivate the old temporary license.
If you are replacing an existing license, then the existing certificate needs to be
deactivated before the renewal certificate can be activated.
To renew a license:
1. Rename your previously provided entitlement certificate file to
EntitlementCertificate-OLD.html.
2. Go to Tekla Structures Licensing --> Tekla Structures License
Administration Tool through the Start menu or Start screen, depending
on your Windows operating system.
3. In the Activated Licenses area, select the Deactivate check box next to
the license you want to deactivate.
4. Click the enabled Deactivate button.
This will deactivate your license. When deactivation is completed, you will
see a message about it.
5. The person in your organization who has made the license purchase, or to
someone named as the contact person has received a new entitlement
certificate for the extended license by e-mail as an attachment. Download
the entitlement certificate toC:\TeklaStructures\License\Server.
6. Now you can activate your extended license normally Tekla Structures
License Administration Tool. For more information, see Activate Tekla
Structures licenses using automatic server notification (page 48)
See also
Problems in Tekla Structures license deactivation (page 95)
We recommend that you have the newest version of Tekla Structures license
server software installed on the Tekla Structures license server. Tekla
Structures license server is backward compatible with Tekla Structures.
The version of Tekla Structures License Borrow Tool should be the same as
the version of Tekla Structures license server. For more information about the
compatibility between Tekla Structures versions and Tekla Structures license
server versions, see Tekla Structures Hardware recommendations.
Before you start the license server update, turn off the internal firewall and
pause the antispyware/antivirus protection.
To update the Tekla Structures license server:
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu
or Start screen, depending on your Windows operating system.
2. On the Stop/Start/Reread tab, click Stop Server to stop the Tekla
Structures license server and any other licensing services.
When you have completed installing the Tekla Structures license server,
you can restart the other licensing services.
3. Backup any files you have modified in the C:\TeklaStructures
\License\Server folder.
You do not need to back up tekla.lic or tekla.opt, because the
installer will not changes these files.
4. Download the latest version of the Tekla Structures license server on the
server or computer from Tekla Downloads.
5. Install the downloaded license server with administrator rights using the
automatic installation for normal setup. Follow the instructions displayed
on the screen.
Update the Tekla Structures license server 66 Deactivate Tekla Structures licenses
See also
Problems in Tekla Structures license server installation and connecting to the
license server (page 87)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Update the Tekla Structures license server 67 Deactivate Tekla Structures licenses
11 Borrowing Tekla Structures
licenses for offline use
When you want to work offline, you can borrow an activated license from the
Tekla Structures license server. The borrowed license is transferred from the
license server to your computer, so it is not available for other users during
the borrowing. Also a product file is needed for borrowing licenses. You do not
need to borrow a license for offline use if you have installed a license server
on your computer.
You can borrow Tekla Structures licenses for offline Tekla Structures use in
Tekla Structures License Borrow Tool:
• The version of Tekla Structures License Borrow Tool should be the same
as the version of Tekla Structures license server.
• The maximum license borrow duration is one month. You define the
borrow expiration date when you borrow the license.
• The borrowed license is reserved for you until the borrowing period
expires, or until you return the license, depending on which comes first.
• You need a network connection to the license server while you are
borrowing or returning a license. You can also borrow licenses through a
VPN connection. After borrowing, you can turn off the network or VPN
connection and work with the borrowed license.
• When you want to stop borrowing a license, return it to the license server.
Product ID file
A product ID (.tpi) file is needed for borrowing licenses. The product ID file
contains all the information needed in license borrowing.
When you install Tekla Structures License Borrow Tool, the standard.tpi
file is automatically installed in the ..\TeklaStructures\License\Borrow
folder. This default product ID file lists all Tekla Structures configurations and
their product IDs. However, you can only borrow the licenses that are activated
for you on the license server. If you want that Tekla Structures License
Borrow Tool only displays the activated licenses, ask your license server
Borrowing Tekla Structures licenses for offline use 68 Deactivate Tekla Structures licenses
administrator for a customized product ID file and open it in Tekla Structures
License Borrow Tool when you start license borrowing.
See also
Set up Tekla Structures License Borrow Tool for Tekla Structures offline use
(page 70)
Return a borrowed Tekla Structures license (page 72)
Modify Tekla Structures license access rights (tekla.opt) (page 54)
Problems in Tekla Structures license borrowing (page 95)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Because the default product ID file lists all configurations, the offline users
need to have a customized product ID file that only lists the activation IDs of
the activated licenses available for borrowing. You need to export the product
ID file on the license server computer using Tekla Structures License
Administration Tool and send the file to the users who borrow licenses. The
activation IDs are encrypted.
To export the product ID file on the Tekla Structures license server computer:
1. Go to Tekla Structures Licensing --> Tekla Structures License
Administration Tool through the Start menu or Start screen, depending
on your Windows operating system.
2. Click Export.
3. In the Save Product ID file As dialog box, enter the name of the product
ID file or keep the default file name, select a folder where you want to
save the file and click Save.
If the name of the file is standard.tpi and the file is saved in the ..
\TeklaStructures\License\Borrow folder on the user’s computer,
Borrowing Tekla Structures licenses for offline use 69 Provide offline users with a customized product
ID file
the file is opened automatically when the user starts Tekla Structures
License Borrow Tool.
4. Send the product ID file to the Tekla Structures users who need to borrow
licenses and inform the users about the usage of the file.
If the name of the file is standard.tpi and the file is saved in the ..
\TeklaStructures\License\Borrow folder on the user’s computer,
the file is opened automatically when the user starts Tekla Structures
License Borrow Tool.
See also
Set up Tekla Structures License Borrow Tool for Tekla Structures offline use
(page 70)
Before you start, download and install the latest Tekla Structures License
Borrow Tool from the Tekla Downloads product download page.
You can use the same Tekla Structures License Borrow Tool for borrowing
licenses for different Tekla Structures versions. The version of Tekla
Structures License Borrow Tool should be the same as the version of Tekla
Structures license server.
To set up Tekla Structures License Borrow Tool for Tekla Structures offline
use:
1. Go to Tekla Structures License Borrow --> Tekla Structures License
Borrow Tool through the Start menu or Start screen, depending on your
Windows operating system.
2. In the Borrow from License Server dialog box, enter the port number
and the hostname (computer name) of the license server in the Server
box in the format port@hostname, for example,
27007@server_hostname.
3. Click OK.
Borrowing Tekla Structures licenses for offline use 70 Set up Tekla Structures License Borrow Tool for
Tekla Structures offline use
4. If you administrator has sent you a customized product ID file, open the
file now and update the list of accessible licenses:
a. Click Open.
b. In the Select Product ID file dialog box, select the product ID file and
click Open.
The Products area in the Tekla Structures License Borrow Tool is
updated.
5. In the Tekla Structures License Borrow Tool dialog box, click Language
and change the language of the Tekla Structures License Borrow Tool
user interface, if necessary.
NOTE When you start Tekla Structures, and if Tekla Structures does not start with
the borrowed license, enter an asterisk (*) in the Server address box of the
Connect to License Server dialog box. This will force Tekla Structures to
search for all possible locations for the license. This may take a while.
Before you can borrow a license, you need to install Tekla Structures License
Borrow Tool, connect the computer with Tekla Structures to the license server
and open the product ID file.
For more information about the prerequisites, see Set up Tekla Structures
License Borrow Tool for Tekla Structures offline use (page 70).
To borrow a Tekla Structures license:
1. Close Tekla Structures.
2. Go to Tekla Structures License Borrow --> Tekla Structures License
Borrow Tool through the Start menu or Start screen, depending on your
Windows operating system.
3. In the Products area, click the Borrow Until box and select the expiration
date for the borrowing period from the calendar.
Borrowing Tekla Structures licenses for offline use 71 Borrow a license from Tekla Structures license
server
The maximum borrowing period is one month. The exact maximum
borrow period varies between 29 to 32 days depending on the borrowing
date.
See also
Problems in Tekla Structures license borrowing (page 95)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
View and diagnose errors in Tekla Structures license activation, deactivation
and borrowing (page 86)
Borrowing Tekla Structures licenses for offline use (page 68)
Borrowing Tekla Structures licenses for offline use 72 Return a borrowed Tekla Structures license
2. Close Tekla Structures.
3. Go to Tekla Structures License Borrow --> Tekla Structures License
Borrow Tool through the Start menu or Start screen, depending on your
Windows operating system.
4. Select the Return check box in the Borrowed Licenses area to select the
license for returning.
5. Click the Return button to return the license.
After successful returning of licenses, the Borrowed Licenses area is
updated.
See also
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Borrowing Tekla Structures licenses for offline use 73 Return a borrowed Tekla Structures license
12 Tekla Structures License
Administration Tool options
and settings
Entitled licenses
The Entitled licenses area on the Licenses tab displays information on the
licenses your are entitled to. Here you can also activate licenses.
Column Description
Activate Used for activating licenses. Displays the number of
licenses to be activated.
Quantity The number of total licenses of the configuration.
Order ID The order ID of the license.
The order ID helps to identify which licenses are
linked to each other and which license needs to be
deactivated before a new license can be activated.
Activation ID The activation ID of the license.
Description The abbreviation of the configuration.
Configuration The name of the configuration.
Version The version number of the configuration.
Type Indicates whether the license is for domestic or
enterprise use.
Tekla Structures License Administration Tool 74 Return a borrowed Tekla Structures license
options and settings
Column Description
Start Date The date when the license came into effect.
Expiration Date The date when the license expires. If the license is
permanent, the word Permanent is shown instead of
the expiration date.
Activated Licenses
The Activated Licenses area on the Licenses tab displays information about
activated licenses. Here you can also deactivate licenses.
Column Description
Tekla Structures License Administration Tool 75 Return a borrowed Tekla Structures license
options and settings
Column Description
Configuration The name of the configuration.
Version The version number of the configuration.
Expiration Date The date when the license expires. If the license is
permanent, the word Permanent is shown instead of
the expiration date.
Type Indicates whether the license is for domestic or
enterprise use.
Activation ID The activation ID of the license.
Order ID The order ID of the license.
The order ID helps to identify which licenses are linked
to each other and which license needs to be
deactivated before a new license can be activated.
Column Description
Configuration The name of the configuration.
Description The abbreviation of the configuration.
Total The number of activated licenses.
In Use The number of licenses in use.
Borrowed The number of borrowed licenses.
Free The number of free licenses.
See also
Activate Tekla Structures licenses using automatic server notification (page 48)
Deactivate Tekla Structures licenses (page 60)
Tekla Structures License Administration Tool 76 Return a borrowed Tekla Structures license
options and settings
13 Tekla Structures License
Borrow Tool options and
settings
The Products area displays information on licenses, and allows you to set the
expiration date for the license borrowing:
Option/ Description
Setting
Borrow Until Select an expiration date for a borrowed license. One month is
the maximum.
Configuration The name of the configuration that you are borrowing.
Version The version number of the configuration.
Activation ID Indicates whether the activation ID is used for borrowing. The box
In Use is selected only if you are using a customized and exported
product ID file.
Start Date The date when the license came into effect.
Expiration The date when the license expires.
Date
Tekla Structures License Borrow Tool options and 77 Return a borrowed Tekla Structures license
settings
The Borrowed Licenses area displays information on borrowed licenses, and
allows you to return borrowed licenses.
Option/ Description
Setting
Return Used for returning licenses.
Trust Status The Host (H), Time (T) and Restore (R) Trust Status. Green symbol
indicates that information is trusted. Red symbol indicates that
information is not trusted. If any of these are not trusted, the
license cannot be used.
• Host indicates whether the server has been moved from one
computer to another or the computer hardware has radically
changed.
• Time indicates whether the system clock has been tampered
with.
• Restore indicates whether the license is obtained from a
backup copy.
Enabled Indicates whether the license is enabled or disabled. For
example, a license may be disabled if there is a disconnection
during the borrowing. A disabled license cannot be used.
Configuration The name of the configuration.
Version The version number of the configuration.
Borrow Until The date when the borrowing expires.
Borrowed The license server from where the license is borrowed.
From
See also
Borrowing Tekla Structures licenses for offline use (page 68)
Problems in Tekla Structures license borrowing (page 95)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
View and diagnose errors in Tekla Structures license activation, deactivation
and borrowing (page 86)
Tekla Structures License Borrow Tool options and 78 Return a borrowed Tekla Structures license
settings
14 LMTOOLS options and settings
used in Tekla Structures
licensing
NOTE If you are using FlexNet Manager by Flexera Software for managing
licenses, do not use LMTOOLS.
In addition to Tekla Structures licenses, you can also manage licenses of other
software that are using FlexNet or FLEXIm. You can also run LMTOOLS on
client computers to check the status of the licenses on the license server.
Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or
Start screen, depending on your Windows operating system.
Option/Setting Description
Configuration using Not used.
License File
Configuration using You must always have Configuration using
Services Services and Tekla Structures Licensing Service
selected on the Service/License File tab when
you manage Tekla Structures licenses. These
options are selected by default during the
installation of the Tekla Structures license server.
If you need to configure the license server
manually, see Configure Tekla Structures license
server manually (page 24).
LMTOOLS ignores Not used.
license path
environment variables
LMTOOLS options and settings used in Tekla 79 Return a borrowed Tekla Structures license
Structures licensing
System Settings tab
The System Settings tab displays common device and operating system
information about the computer on which you are running LMTOOLS. All the
relevant information on licensing is available. For example, you can check the
hostname of your server computer.
Option/Setting Description
Hostid Settings Computer/Hostname
Username
CPU ID
IP Address
Etnernet Address
Disk Volume Serial Number
FLEXID
Time Settings System Time Zone
GMT Time
Difference from UTC
MSDOS Time
Local Time
Windows Directory
Save HOSTID info to a Save the hostid information to a text file.
file
Utilities tab
You can affect the information that is displayed in the status list on the Server
Status tab by defining values on the Utilities tab. By default, the status list
displays information about all the license servers you are connected to.
Option/Setting Description
File Name Find out the version of FlexNet Licensing linked
with a file. Useful for diagnosing errors. Browse
Browse
for the file and click Find Version.
Find Version
Vendor Name An example of the vendor name and path:
Path Vendor Name: tekla
Add Vendor Path Path: 27007@myserver (port and license server
Override Path computer name/hostname)
List All Vendor Paths The Vendor Name that is used for Tekla
Structures license server is tekla (all letters
lowercase).
LMTOOLS options and settings used in Tekla 80 Return a borrowed Tekla Structures license
Structures licensing
Option/Setting Description
Add a licensing service to be listed in the status
list on the Server Status tab, enter the vendor
information in the Vendor Name and Path boxes
and click Add Vendor Path.
If you want the status list to only display
information on certain license servers, enter the
vendor information in the Vendor Name and
Path boxes and then click Override Path to
replace the existing license servers displayed in
the status list.
The List All Vendor Paths button lists all the
licensing services that are displayed in more
detail in the status list on the Server Status tab.
Start/Stop/Reread tab
On the Start/Stop/Reread tab, you can stop and start the license server, and
adjust some setting related to stopping the server.
NOTE When you perform actions concerning the Tekla Structures license
server, Tekla Structures Licensing Service must be active in the
FlexNet license services installed on this computer list. You can
select Tekla Structures Licensing Service from the services list on
the Service/License File tab.
Option/Setting Description
FlexNet license services Lists all FlexNet license services available on the
installed on this license server computer.
computer
Always ensure that Tekla Structures Licensing
Service is active in the FlexNet license services
installed on this computer list when you
perform actions concerning the Tekla Structures
license server.
• Activate Tekla Structures Licensing Service
by selecting it from the services list on the
Service/License File tab.
Start Server Starts the license server that is active in the
FlexNet license services installed on this
computer list.
Stop Server Stops the license server that is active in the
FlexNet license services installed on this
computer list. When you click the button, the
status bar displays the message Stopping the
Server, and it takes a couple of seconds to stop
LMTOOLS options and settings used in Tekla 81 Return a borrowed Tekla Structures license
Structures licensing
Option/Setting Description
the license server. The message does not change
when the server is stopped.
If Stop Server does not stop the server, select
the Force Server Shutdown check box and click
Stop Server again.
ReRead License File Updates the license server without stopping and
starting it. You need to use this button, when you
manually notify the license server about license
changes.
For more information, see Activate Tekla
Structures licensing using manual server
notification (page 49) .
Advanced settings
Restrict lmdown to work When this option is selected, you can stop the
only from node where server only on the server computer. No-one can
lmgrd is running. accidentally stop the license server on a client
computer.
We recommend that you use this option.
Disable lmdown utility, When this option is selected, you cannot stop the
use task manager. server in LMTOOLS. The server can only be
stopped in Windows Task Manager.
Disable ’lmremove’ of Not in use in Tekla Structures licensing.
license file.
LMTOOLS options and settings used in Tekla 82 Return a borrowed Tekla Structures license
Structures licensing
1. The license server port@hostname
2. The license server is up and running
3. License server with Tekla identity is up and running
4. A default value for TeklaServer displayed in every status check
Below is an example of license information:
LMTOOLS options and settings used in Tekla 83 Return a borrowed Tekla Structures license
Structures licensing
12. Usage of licenses of other configurations. In this case, Precast Concrete
Detailing.
NOTE If you have problems with the license server, send a copy of the
tekla.lic, tekla.opt, and tekla_debug.log files to your local
Tekla Structures support. The information on the Server Diags tab is
not detailed enough to solve some of the problems.
LMTOOLS options and settings used in Tekla 84 Return a borrowed Tekla Structures license
Structures licensing
Config services tab
The values on the Config Services tab are filled in automatically during the
installation of the Tekla Structures license server. However, if you encounter
problems during the installation and the license server does not start
automatically, you need to configure the settings manually on the Config
Services tab.
Always select the Trusted storage in use check box for Tekla Structures
Licensing Service.
For more information about the data you should add/select on this tab, see
Configure Tekla Structures license server manually (page 24).
Borrowing tab
WARNING Use Tekla Structures License Borrow Tool for borrowing Tekla
Structures licenses. Do not use the Borrowing tab of LMTOOLS
with Tekla Structures licenses.
LMTOOLS options and settings used in Tekla 85 Return a borrowed Tekla Structures license
Structures licensing
15 Troubleshoot Tekla Structures
licensing
Click the links below for help in solving problems encountered in the following
areas:
• View and diagnose errors in Tekla Structures license activation, deactivation
and borrowing (page 86)
• Problems in Tekla Structures license server installation and connecting to
the license server (page 87)
• Problems in FlexNet (page 90)
• Problems in Tekla Structures license activation (page 90)
• Problems in Tekla Structures license deactivation (page 95)
• Problems in Tekla Structures license borrowing (page 95)
• Problems in Tekla Structures license trusted storage (page 96)
• Problems using LMTOOLS in Tekla Structures licensing (page 97)
• Problems in starting Tekla Structures (page 100)
• Problems with options file tekla.opt (page 102)
For more information about error messages starting with an error code, see
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103).
Troubleshoot Tekla Structures licensing 86 View and diagnose errors in Tekla Structures
license activation, deactivation and borrowing
If you have a problem with activating or deactivating licenses, or borrowing or
returning licenses, Tekla Structures License Administration Tool and Tekla
Structures License Borrow Tool display an error message in the Activating
Licenses(s), Deactivating License(s), Borrowing License(s) or Returning
Borrowed License(s) dialog boxes, depending on the subject of the error.
• You can view more detailed information about an error by clicking the View
button in an error dialog box.
• Tekla Structures License Administration Tool and Tekla Structures
License Borrow Tool automatically create zip packages of all necessary
files required for diagnosing the errors in the C:\TeklaStructures
\License\Server\Reports folder and in the %TEMP%\Tekla
Structures License Borrow Tool\Reports folder. Click Browse in
the error dialog box to browse for the folder containing the error report
package. You can send the package to your local support to get help.
The error report package contains the following files:
tekla_debug.log - Tekla Structures license server debug log file
error.txt - error report, contains error information. The Tekla
Structures License Borrow Tool zip package only contains this file.
tekla.opt - access rights options file
tekla.lic - Tekla Structures license file
See also
Troubleshoot Tekla Structures licensing (page 86)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
License library initialization failed with error: The licensing service is not
installed.
Reason: The error occurs when you are starting Tekla Structures License
Administration Tool, or when you are trying to run serveractutil.exe
command line tool.
Solution: If you selected the Manual option for Tekla Structures licensing
service installation then you need to manually install FLEXnet licensing service:
1. If you have some other FlexNet licensing service running on the server,
stop it before entering the commands.
2. Go to the Start menu or Start screen, depending on your Windows
operating system, and open Command Prompt as an administrator.
3. At the command prompt, type the following commands:
cd /D full_path_to_installation_directory
See also
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Installing Tekla Structures license server (page 17)
LMTOOLS options and settings used in Tekla Structures licensing (page 79)
Allowing Tekla Structures license server to operate through Windows Firewall
(page 28)
See also
Installing Tekla Structures license server (page 17)
Uninstall Tekla Structures license server (page 27)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Useful links
For more information about the status of the activated licenses in the trusted
storage, see instructions in the following Support Articles in Tekla User
Assistance:
See also
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Reason: You cannot select a license for deactivation if the license is still
borrowed.
Solution: Return the license and then deactivate the license.
See also
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Deactivating Tekla Structures licenses (page 59)
Unable to select a date from the calendar in the Borrow Until box.
Reason: The maximum borrowing period is one month.
Solution: In Tekla Structures License Borrow Tool, select a date that is
within one month from the date of borrowing:
1. Go to Tekla Structures License Borrow --> Tekla Structures License
Borrow Tool through the Start menu or Start screen, depending on your
Windows operating system.
2. In the Products area, click the Borrow Until box and select from the
calendar the expiration date that is within one month from the date of
borrowing.
See also
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Borrowing Tekla Structures licenses for offline use (page 68)
Reason: The Host (H) trust status of your license is not trusted. Hardware
setup of your server computer has changed radically.
Solution: The licenses with the untrusted H trust status cannot be repaired.
Contact your local Tekla Structures support.
We recommend that you run your license server on a proper server computer
that is regularly maintained. You need to deactivate your licenses before
performing any maintenance actions on your server computer. However,
Reason: The Time (T) trust status of your license is not trusted. Time settings
of your server computer have changed radically.
Solution: You need to set the correct system date and time and after that
repair the license in Tekla Structures License Administration Tool.
Do not manipulate system clock settings of the server computer that has
activated licenses.
For more information, see Repair a Tekla Structures license (page 62).
Reason: The Restore (R) trust status of your license is not trusted. Your
backup system may have overwritten some licensing information.
Solution: You need to repair the license in Tekla Structures License
Administration Tool.
We recommend that you configure your system backup settings so that the
existing licensing software, tools and files are not automatically overwritten or
replaced with the restored ones.
For more information, see Repair a Tekla Structures license (page 62).
See also
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Repair a Tekla Structures license (page 62)
LMTOOLS is unable to stop the license server, and the message "Unable
to Stop Server" is displayed in the LMTOOLS message bar.
Reason: You may have selected an incorrect licensing service.
Solution: You need to select Tekla Structures Licensing Service as the
licensing service. Do the following:
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu
or Start screen, depending on your Windows operating system.
2. On the Service/License File tab, ensure that Configuration using
services and Tekla Structures Licensing Service are selected.
3. Go to the Start/Stop/Reread tab, and click Stop Server.
4. If this does not help, select the Force Server Shutdown check box and
click Stop Server again.
See also
LMTOOLS options and settings used in Tekla Structures licensing (page 79)
Install Tekla Structures license service - manual installation (page 19)
Configure Tekla Structures license server manually (page 24)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
See also
Connect Tekla Structures to the license server (page 52)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Troubleshoot Tekla Structures licensing 102 Problems with options file tekla.opt
See also
Modify Tekla Structures license access rights (tekla.opt) (page 54)
Problems in Tekla Structures licensing: Error codes and their descriptions
(page 103)
Troubleshoot Tekla Structures licensing 103 Problems in Tekla Structures licensing: Error
codes and their descriptions
3. If the Tekla Structures license server installation folder contains any .dll
files, remove the files manually.
4. Now you can install Tekla Structures license server to the same folder
where the uninstalled version was.
For more information about license server installation, see Installing Tekla
Structures license server (page 17).
NOTE Deactivation is not needed in this case. Licenses are kept safe in a
specific Flexera Software location outside Tekla Structures license
server installation directory.
Error 20
Problem: Error 20: The licensing service is not installed.
Reason: The error occurs when you are starting Tekla Structures License
Administration Tool, or when you are trying to run serveractutil.exe
command line tool.
Solution: If you selected the Manual option for Tekla Structures licensing
service installation then you need to manually install FLEXnet licensing service:
1. If you have some other FlexNet licensing service running on the server,
stop it before entering the commands.
2. Go to the Start menu or Start screen, depending on your Windows
operating system, and open Command Prompt as an administrator.
3. At the command prompt, type the following commands:
cd /D full_path_to_installation_directory
For example, if you install Tekla Structures license server to the default
folder, you need to enter cd /D C:\TeklaStructures\License
\Server.
installanchorservice.exe
Error 109
Problem: There are no activated licenses to return. Another program may
have modified the activated licenses rights concurrently. (109) Unable to
return as there is no licenses in Trusted Storage.
Reason: The trusted storage has been modified, probably by some other
program. The red R indicates that the license is broken, therefore it cannot be
returned.
Problem: Wait for the license to return to the server computer.
Troubleshoot Tekla Structures licensing 104 Problems in Tekla Structures licensing: Error
codes and their descriptions
Message 2: Failed to load trusted storage or specified ASR. (50030)
Reason: These error messages indicate that the trusted storage cannot be
loaded, and your trusted storage is corrupted.
Solution: Your licenses need to be replaced. Contact your local Tekla
Structures representative for a replacement along with some instructions.
Error 1316
Problem: License server installation fails.
The following message is displayed: "A network error occurred while
attempting to read from the file C:\Documents and Settings\paha\Local
Settings\Application Data\Downloaded Installations\...\Tekla
Structures License Server v1.01.msi".
Reason: You have an older version of the license server installed.
Solution: Uninstall the old version and then install the new version of the
license server.
For more information about uninstalling the server, see Uninstall Tekla
Structures license server (page 27).
Error 1316
License activation fails, and the following message is displayed:
"Unspecified FLEXnet Error with code 7174 Only deployed entitlement
line item can be fulfilled."
Reason: You are trying to activate an obsolete license.
Solution: You should have received a new entitlement certificate from your
local Tekla Structures representative. Try the activation again with the new
entitlement certificate, and move the old obsolete entitlement certificate in an
archive folder.
For more information, see Activate Tekla Structures licenses using automatic
server notification (page 48).
Error 7284
Problem: Unspecified FLEXnet Error with code 7284. Cannot perform
support actions on inactive fulfillment record
FID_xxxxxxxx_xxxxxxxxxxx__xxxx.
Reason: Trusted Storage has been restored from an old backup copy. The
license with fulfillment ID FID_ xxxxxxxx_xxxxxxxxxxx__xxxx has been
deactivated already.
Solution: You need to restore trusted storage files from the most recent
backup copy and then repair licenses if needed.
For more information about repairing licenses, see Repair a Tekla Structures
license (page 62).
Troubleshoot Tekla Structures licensing 105 Problems in Tekla Structures licensing: Error
codes and their descriptions
Error 7288 and error 111
Message 1: The activation of the fulfillment is denied by the activation
policy because fulfill count exceeded the available seat count.
Message 2: The activation of the fulfillment is denied by the activation
policy because number of copies left is zero.
Reason 1: You may be trying to activate some licenses that have been
activated before on another server/computer.
Solution: Deactivate the licenses from the other computer, and then activate
the licenses on the new server/computer.
Reason 2: You may be trying to activate a renewed temporary license or
permanent licenses without deactivating the previous linked activated licenses.
Solution: Deactivate the existing temporary licenses first and then activate the
succeeding linked licenses.
For more information about deactivating licenses, see Deactivate Tekla
Structures licenses (page 60).
Error 7343
Problem: Unspecified FLEXnet Error with code 7343 Entitlement line item
has expired on <date> <time>.
Reason: License has expired. It is not possible to activate or repair expired
licenses.
Error 7466
Problem: License deactivation fails, and the following message is
displayed: "The return of the fulfillment is denied by the return policy
because max return exceeded".
Reason: You have deactivated the license too many times in a 30 days period.
Solution: You can deactivate the license again when 30 days have passed
since the first deactivation of the license in the past 30 days. The number of
deactivations of a license within a given time period is limited due to technical
and security reasons.
Error 7581
Problem: Unspecified FLEXnet Error with code 7581. Online Return/Repair
Request for the activationId XXXX-XXXX-XXXX-XXXX-XXXX-XX is not
originated from the original client machine.
Reason and solution: The computer is not the same where the licenses were
originally activated, and you need to return/repair licenses from the original
computer. Another reason might be that the computer has changed so much
Troubleshoot Tekla Structures licensing 106 Problems in Tekla Structures licensing: Error
codes and their descriptions
that activation server at Trimble Solutions no longer recognizes it as the same
one, in which case you need to replace your licenses.
For more information about returning and repairing licenses, see Return a
borrowed Tekla Structures license (page 72) and Repair a Tekla Structures
license (page 62).
Error 9999
Problem, reason and solution:: Licensing server at Trimble Solutions is down.
Wait for a while and retry.
Error 50005
Problem: Error (5005) License Activation failed - Initialization of API
Failed.
Problem: The activated licenses are not visible and it is not possible to activate
new licenses.
Reason: The installation package has failed to initialize or register some of the
software components.
Solution: Do the following:
1. Log in with administrator's rights.
2. Close License Administration Tool.
3. Stop Tekla Structures license server and other license servers on the same
computer on the LMTOOLS --> Start/Stop/Reread tab.
4. Go to ..\TeklaStructures\License\Server folder.
5. Double-click installanchorservice.exe.
6. Start Tekla Structures license server and other license servers on the same
computer on the LMTOOLS --> Start/Stop/Reread tab.
7. Open License Administration Tool. The message should not be
displayed anymore.
Error 50018
Problem: License borrowing fails.
Reason: Wrong product ID file is used.
Solution: Do one of the following:
• Export a product ID file in Tekla Structures License Administration Tool
and use the file for borrowing.
Error 50033
Problem: License borrowing fails.
Reason 1: Your license server may not have up-to-date license information.
Solution: In LMTOOLS, stop and then restart the server.
Troubleshoot Tekla Structures licensing 107 Problems in Tekla Structures licensing: Error
codes and their descriptions
Reason 2: The INCLUDE keyword in the options file prevents the borrowing of
the configuration.
Solution: You need to add a dummy user "ACTIVATED LICENSE(S)" into the
group of the included users to enable the borrowing. Do the following:
1. Open tekla.opt using a text editor.
2. Add "ACTIVATED LICENSE(S)" in the group of the included users, for
example:
GROUP steel "ACTIVATED LICENSE(S)" user1 user2 user3
user4
INCLUDE STD-C GROUP steel
3. Save the changes you made in tekla.opt.
4. In LMTOOLS, reread the license file or stop the server and then start the
server.
Error 50035
Problem: License borrowing fails.
Reason: The user tried to borrow a license that is not activated on the license
server. For example, the user tried to borrow a version 20 license and there
are only version 21 licenses activated on the server.
Solution: Do the following:
• Check that the product ID file is up to date. If not, export a new product ID
file in Tekla Structures License Administration Tool ( File --> Export )
and send this file to the user for borrowing. Then ask the user to save the
new product ID file, open the Tekla Structures License Borrow Tool , click
Open and browse for the new .tpi file and try borrowing again.
• Check that your license information is up to date in LMTOOLS. If not,
reread the license file.
Error 50036
Problem: License borrowing fails.
Reason: You are not allowed to borrow the license.
Solution: Do one of the following:
• The options file (tekla.opt) needs to be modified so that the borrowing of
the license is allowed. For more information, see Modify Tekla Structures
license access rights (tekla.opt) (page 54)
• Borrow another license.
Error 50037
Problem: License returning fails.
Troubleshoot Tekla Structures licensing 108 Problems in Tekla Structures licensing: Error
codes and their descriptions
Reason: You tried to return the license to a different license server than it was
borrowed from.
Solution: You need to return the license to the same license server that it was
borrowed from. Do the following:
1. Go to Tekla Structures License Borrow --> Tekla Structures License
Borrow Tool through the Start menu or Start screen, depending on your
Windows operating system.
2. In the Borrow from License Server dialog box, enter the name of the
license server where you originally borrowed the license from and click
OK.
3. Select the Return check box in the Borrowed Licenses area to select the
license for returning.
4. Click the Return button to return the license.
After successful returning of licenses, the Borrowed Licenses area is
updated.
Troubleshoot Tekla Structures licensing 109 Problems in Tekla Structures licensing: Error
codes and their descriptions
Error 50040 or error 50041, problem 2: License borrowing fails.
Reason: You are not connected to the license server.
Solution: Do the following:
• Check that your network connection is working.
• Start Tekla Structures License Borrow Tool and check that you have
entered the correct license server information in the Borrow from License
Server dialog box.
See also
View and diagnose errors in Tekla Structures license activation, deactivation
and borrowing (page 86)
Problems in Tekla Structures license activation (page 90)
Problems in Tekla Structures license borrowing (page 95)
Problems in Tekla Structures license deactivation (page 95)
Troubleshoot Tekla Structures licensing 110 Problems in Tekla Structures licensing: Error
codes and their descriptions
16 Disclaimer
© 2017 Trimble Solutions Corporation and its licensors. All rights reserved.
This Software Manual has been developed for use with the referenced
Software. Use of the Software, and use of this Software Manual are governed
by a License Agreement. Among other provisions, the License Agreement sets
certain warranties for the Software and this Manual, disclaims other
warranties, limits recoverable damages, defines permitted uses of the
Software, and determines whether you are an authorized user of the Software.
All information set forth in this manual is provided with the warranty set forth
in the License Agreement. Please refer to the License Agreement for important
obligations and applicable limitations and restrictions on your rights. Trimble
does not guarantee that the text is free of technical inaccuracies or
typographical errors. Trimble reserves the right to make changes and
additions to this manual due to changes in the software or otherwise.
In addition, this Software Manual is protected by copyright law and by
international treaties. Unauthorized reproduction, display, modification, or
distribution of this Manual, or any portion of it, may result in severe civil and
criminal penalties, and will be prosecuted to the full extent permitted by law.
Tekla, Tekla Structures, Tekla BIMsight, BIMsight, Tekla Civil, Tedds, Solve,
Fastrak and Orion are either registered trademarks or trademarks of Trimble
Solutions Corporation in the European Union, the United States, and/or other
countries. More about Trimble Solutions trademarks: http://www.tekla.com/
tekla-trademarks. Trimble is a registered trademark or trademark of Trimble
Inc. in the European Union, in the United States and/or other countries. More
about Trimble trademarks: http://www.trimble.com/trademarks.aspx. Other
product and company names mentioned in this Manual are or may be
trademarks of their respective owners. By referring to a third-party product or
brand, Trimble does not intend to suggest an affiliation with or endorsement
by such third party and disclaims any such affiliation or endorsement, except
where otherwise expressly stated.
Portions of this software:
D-Cubed 2D DCM © 2010 Siemens Industry Software Limited. All rights
reserved.
A E
access rights entitled licenses.............................................74
configurations..........................................55 entitlement certificate........................47,48,49
example definitions................................ 55
licenses..................................................... 54
modifying................................................. 54
activated licenses.......................................... 74
F
activating licenses......................................... 74 firewall
troubleshooting.......................................90 allowing traffic in TCP/IP ports......... 32,37
activating exceptions................................................ 28
licenses...........................................47,48,49 license server........................................... 28
firewalls
exceptions........................................... 28,31
B licenses
exceptions in firewalls...................... 28
before installing the license server.............17 lmgrd.exe............................................ 28,31
borrowing licenses tekla.exe.............................................. 28,31
troubleshooting.......................................95 FlexNet..............................................................5
borrowing administrator's tasks.................................8
exporting.................................................. 69 examples of different setups.................11
licenses..................................... 68,69,70,71 IT resources................................................7
product ID file..................................... 68,69 starting Tekla Structures.........................52
C I
codes installation
configurations..........................................55 license server........................................... 18
configurations
codes.........................................................55
K
D keywords
in access right definitions.......................55
deactivating licenses.....................................74
troubleshooting.......................................95
deactivating
licenses..................................................... 60
L
of licenses.................................................59 License Borrow Tool
distributing changing the language........................... 70
licenses....................................................... 9 downloading............................................ 70
using......................................................... 70
113
license file problems in activation............................ 90
modifying................................................. 22 problems in borrowing........................... 95
license server................................................... 5 problems in deactivation........................95
administrator's tasks.................................8 problems in license server connection.87
configuring manually.............................. 24 problems in license server installation.87
firewall...................................................... 28 product ID file..................................... 68,69
installing................................................... 17 renewing...................................................64
manual installation................................. 19 repairing................................................... 62
modifying installation............................. 26 returning...................................................72
notifying automatically........................... 48 troubleshooting Tekla Structures
notifying manually.................................. 49 licensing....................................................86
removing installation.............................. 26 trust status..........................................62,96
repairing installation...............................26 what is provided by Trimble Solutions....6
uninstalling manually..............................27 licensing applications
license server logging in as administrator...................... 9
updating................................................... 66 running as administrator..........................9
version...................................................... 18 licensing in Tekla Structures.......................... 5
license server statistics.................................74 lmgrd.exe.................................................. 28,31
license servers LMTOOLS
automatic installation............................. 18 configuring license server manually..... 24
license service installation........................... 18 options......................................................79
license service Server Status tab..................................... 79
manual installation................................. 19 Service/License File tab.......................... 79
licenses Start/Stop/Reread tab.............................79
access rights.............................................54 System Settings tab.................................79
activating.................................. 47,48,49,74 Utilities tab............................................... 79
administrator's tasks.................................8
allowing traffic through TCP/IP ports....
32,37
automatic installation of license server....
M
18 manual installation
borrowing................................. 68,69,70,71 license server........................................... 19
deactivating................................... 59,60,74 modifying
different ways of distributing...................9 license file.................................................22
errors in activating.................................. 86
errors in borrowing................................. 86
errors in deactivating..............................86 N
examples of different setups.................11 notifying Tekla Structures license server....48
exceptions in firewall.............................. 31
extending the licensing period.............. 64
information on Tekla Structures License
Borrow Tool..............................................77 O
installing license server.......................... 17 offline use of Tekla Structures..................... 70
IT resources needed..................................7 options file
licensing system........................................ 5 keywords for defining access rights......55
modifying access rights.......................... 55
modifying license access rights............. 55
number of users......................................11
114
P access rights.......................................... 102
error codes
problems Tekla Structures licensing errors... 103
in Tekla Structures licensing...................86 error reports............................................ 86
product ID file (.tpi)....................................... 68 license activation................................86,90
license borrowing...............................86,95
license deactivation........................... 86,95
R license server connection.......................87
LMTOOLS..................................................97
renewing problems with FlexNet............................90
licenses..................................................... 64 starting Tekla Structures...................... 100
repairing licenses.......................................... 62 Tekla Structures license server
returning installation................................................87
licenses..................................................... 72 Tekla Structures licensing............... 86,103
tekla.opt................................................. 102
trust status............................................... 96
S trust status.....................................................62
settings trusted storage
Tekla Structures License Administration broken licenses........................................96
Tool............................................................74 status........................................................ 62
starting
Tekla Structures with FlexNet licensing 52
U
uninstalling
T license server manually..........................27
TCP/IP ports updating
allowing traffic.................................... 32,37 license server........................................... 66
Windows 7, 8, 8.1, 10 and Windows upgrading
Server 2012.............................................. 37 license server........................................... 66
Windows Server 2008............................. 32
Tekla Structures License Administration Tool
options......................................................74 W
Tekla Structures License Borrow Tool Windows 7, 8, 8.1, 10 and Windows Server
borrowing licenses.................................. 71 2012................................................................ 31
license information................................. 77 allowing traffic in fixed TCP/IP ports..... 37
options and settings............................... 77 Windows Server 2008................................... 28
returning licenses....................................72 allowing traffic in fixed TCP/IP ports..... 32
Tekla Structures license server
problems in installation..........................87
problems in server connection..............87
tekla.exe.................................................... 28,31
tekla.lic
modifying manually................................ 22
tekla.opt.................................................... 54,55
example definitions................................ 55
temporary licenses....................................... 71
troubleshooting
115
116