Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JEinh
Beginner
1,697 Views

Our Altera License Daemon has stopped working.

 

Our Altera license file is attached for your reference.

 

Recently we rebooted the server that hosts our Altera license daemon, and now the license daemon won’t start. No other changes were made to the server. Here’s what we get from starting via command line:

> net start "Altera License Manager" The Altera License Manager service is starting......................... The Altera License Manager service could not be started.   The service did not report an error. More help is available by typing NET HELPMSG 3534.   > net helpmsg 3534 The service did not report an error.

 

You can see here that the license file identifies our host correctly (name and MAC Address) and port 27006 is not in use:

 

> hostname FTWFLEXLM2   > ipconfig /all   Windows IP Configuration . . . <snip> . . .   Ethernet adapter Ethernet: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection Physical Address. . . . . . . . . : 00-50-56-B6-28-24 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 10.41.31.51(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : 10.41.1.1 DNS Servers . . . . . . . . . . . : 10.40.10.3 10.40.10.4 NetBIOS over Tcpip. . . . . . . . : Enabled   > netstat -an | findstr 27006 (nothing returned)

Event Viewer has System Events saying “The Altera License Manager service entered the running state.” and then “The Altera License Manager service entered the stopped state.” After I attempt to start the service. I can find nothing relevant in the Windows Application or Windows Security event logs. Nothing at all is written to the Altera log file when I try to start the license daemon.

 

Please help and advise.

 

Thanks,

Janet (jeinhorn@kns.com)

 

 

 

0 Kudos
13 Replies
AR_A_Intel
Employee
168 Views

Could you help to reconfirm your license setup again and update your license daemon to the newest.

https://wl.altera.com/download/licensing/daemons/dnl-lic_daemons.jsp

JEinh
Beginner
168 Views

Hello AAbd,

 

I believe we are already using the latest license daemon.

 

I downloaded lic_daemon_win64.zip from the link you provided.  This file is identical to the zip file that I used when installing the license daemon the first time.  Similarly, I compared our currently-installed C:\Altera\lic_daemon_win64\lmgrd.exe the lmgrd.exe with the file provided by lic_daemon_win64.zip from the link you provided, and they are identical:

C:\SOURCE\Altera>fc lic_daemon_win64_20170518.zip lic_daemon_win64.zip Comparing files lic_daemon_win64_20170518.zip and LIC_DAEMON_WIN64.ZIP FC: no differences encountered C:\SOURCE\Altera>fc "C:\Altera\lic_daemon_win64\lmgrd.exe" "C:\SOURCE\Altera\lic_daemon_win64\lmgrd.exe" Comparing files C:\ALTERA\LIC_DAEMON_WIN64\lmgrd.exe and C:\SOURCE\ALTERA\LIC_DAEMON_WIN64\LMGRD.EXE FC: no differences encountered

For our currently installed C:\Altera\lic_daemon_win64\alterad.exe, file properties > General tab shows Created Date: March 27, 2016.  The Details tab does not have a value for File Version.

 

For our currently installed C:\Altera\lic_daemon_win64\lmgrd.exe, file properties > General tab shows Created Date: March 16, 2016. The Details tab shows File Version: 11.13.1.3 and Product Version 11.13.1.3 build 176543

 

 

Please explain what you mean by "reconfirm your license setup again".  I don't know what you are asking me to do.

 

 

Thanks,

Janet

 

 

 

 

 

 

 

 

JEinh
Beginner
168 Views

​I found that if I manually start the license daemon via the following command, it runs with two pop-up windows, one for the lmgrd and one for the alterad:

"C:\Altera\lic_daemon_win64\lmgrd" -c "C:\Altera\License_File\altera_license.dat"

 

So it seems that the problem might be with the service.  I tried using the lmtools GUI to delete and then re-create the service.  I named the service "Altera License Manager"

 

C:\>sc qc "Altera License Manager" [SC] QueryServiceConfig SUCCESS SERVICE_NAME: Altera License Manager TYPE : 10 WIN32_OWN_PROCESS START_TYPE : 2 AUTO_START (DELAYED) ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Altera\lic_daemon_win64\lmgrd.exe LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : Altera License Manager DEPENDENCIES : WinMgmt : +NetworkProvider SERVICE_START_NAME : NT AUTHORITY\LocalService

The service worked for many months, until I rebooted this Windows server.  Now it fails, as I indicated earlier. 

 

C:\>sc start "Altera License Manager" SERVICE_NAME: Altera License Manager TYPE : 10 WIN32_OWN_PROCESS STATE : 2 START_PENDING (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN) WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x7d0 PID : 8712 FLAGS : C:\>sc query "Altera License Manager" SERVICE_NAME: Altera License Manager TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0

Is there a way to get debug information from the service startup?  As I said, I'm not finding anything in the event log.  I will insert some screen-shots to show the service as defined in the GUI

 

Thanks,

Janet

 

 

 

 

 

 

 

 

Robert_L_Intel
Employee
168 Views

Intel support team,

Can you please response to customers latest response to help resolve this issue.

B Lamb

Intel PSG

AR_A_Intel
Employee
168 Views

FYI, you can find debug information file at LMTOOLS > path to the debug.log file.

You can refer to this following YouTube on how to find debug log file ( min.2:55)

https://www.youtube.com/watch?v=llLaWatUbe8

JEinh
Beginner
168 Views

Aabd,  In response to your latest questions

 

1) Debug.log file    

 

NOTHING IS WRITTEN TO THE DEBUG LOG FILE

2) Output of “lmutil lmstat –a –c <port>@<address>” server and client

 

SEE ATTACHED WORD DOCUMENT

3) Error message screen shot

 

SEE ATTACHED WORD DOCUMENT

4) Screenshot of Quartus II>>tools>>license setup

 

SEE ATTACHED WORD DOCUMENT

5) Machine OS information

 

Virtual machine running Windows Server 2012.  The only recent change made on this machine was installation of the latest MS .NET Framework.  No earlier versions were removed.

6) Quartus version used

 

NOT SURE HOW TO ANSWER THIS

7) License.dat file

 

SEE ATTACHED

JEinh
Beginner
168 Views

I'm having trouble uploading files to this website.  Here is the license file contents:

 

# Altera Corporation Software and/or Intellectual Property License File # Issued 17 May 2017 # Upgrade to these products will no longer be available after the Maintenance Expiration # date unless licenses are renewed. # Floating Server License # Primary Machine Name-005056b62824 # Primary Machine ID-NIC ID 005056b62824 # Redundant Server 2-N/A # Redundant Server 3-N/A # Product License Summary: # Quartus II SE Floating, 1 Seat(s) # - Maintenance Expiration of 2017.10 ################################################################################ SERVER ftwflexlm2 005056b62824 27006 VENDOR alterad C:\Altera\lic_daemon_win64\alterad.exe #VENDOR mgcld C:\Altera\lic_daemon_win64 USE_SERVER ################################################################################ # FEATURE START # The following is a license file for the Mentor Graphics AXI3 Inline Monitor BFM (Altera # Edition) # Number of seat licenses is 1 # License Expires 17-Aug-2018 INCREMENT mgcvipae mgcld 2017.10 17-aug-2018 1 7E6A69810DD427AAED2B \ \ VENDOR_STRING=2674F595 ISSUER=Altera SN=58372948 SIGN2="1098 E97D FC53 \ 8DDE CFE2 AE96 662D AFBE 21CA 9CF3 140B E0C6 9F32 32C2 3A79 0B7B F13C \ B3AD E1BD DD48 9E81 1B1C 13BB 9E27 D6F4 D032 6139 C975 FAE7 F403" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for the Mentor Graphics AXI3 Master BFM (Altera Edition) # Number of seat licenses is 1 # License Expires 17-Aug-2018 INCREMENT mgcvipaeaxi mgcld 2017.10 17-aug-2018 1 2EEA0931BD07730CBA4A \ \ VENDOR_STRING=D9CB8653 ISSUER=Altera SN=58372949 SIGN2="10B3 454F AD98 \ 502E 8C6F 2327 AE40 A9E3 7B5A 5A83 76BB 3702 DB34 714A 538C 0A4D BAE3 \ 2F91 E307 B9D0 B696 D5F1 543A AC3E BEC8 26CE 6927 34FC 70A2 0811" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for the Mentor Graphics AXI3 Slave BFM (Altera Edition) # Number of seat licenses is 1 # License Expires 17-Aug-2018 INCREMENT mgcvipaeaxi mgcld 2017.10 17-aug-2018 1 2EEA0931B607730DBA50 \ \ VENDOR_STRING=D9CB8653 ISSUER=Altera SN=58372950 SIGN2="1958 A1C0 A977 \ 4B58 D892 D786 A0AA F500 3F06 5B0F 847B 35D7 EFE1 63F8 DD9F 1F0F 9068 \ C177 9BD2 66F0 1EE4 4452 22A5 32F6 D630 4CA9 131A 555F B3AF 1507" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for the Mentor Graphics AXI4 (Altera Edition) # Number of seat licenses is 1 # License Expires 17-Aug-2018 INCREMENT mgcvipaeaxi4 mgcld 2017.10 17-aug-2018 1 EE0AA9F11E47E9F9BD43 \ \ VENDOR_STRING=CD3456B1 ISSUER=Altera SN=58372962 SIGN2="19D7 CA6B B37A \ 1084 A163 C2EC 5486 78A4 C093 7242 9922 5B15 427F 20FC E96F 086A 1D71 \ D3CE FDE1 88F4 F723 30F6 4C1D 5BB1 4B21 B755 1E2B 3A3B 8031 2816" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for the IP Base Suite Package part number for IP # Base Suite (NCO, FFT, FIR Compiler II, QDRII+ SRAM Controller with UniPHY, RLDRAM # II Controller with UniPHY, DDR2 and DDR3 SDRAM Controllers supporting UniPHY and # the LPDDR2 Controller supporting UniPHY) # Number of seat licenses is 1 # No license expiration date PACKAGE ip_base alterad COMPONENTS="6AF7_00D8 6AF7_0014 6AF7_0034" \ OPTIONS=SUITE SIGN="153B EB57 5B09 B585 D1D5 3EA8 1CC3 CB52 \ DC01 2214 9CDA 4A26 598F 76C2 C126 00FE 5122 A135 BCB7 9D0A \ 2BAD 5F03 BE38 FE97 EDF8 5B2A 55F2 99E3 1468 72B8" INCREMENT ip_base alterad 2017.10 permanent 1 85B792D6FEAE \ VENDOR_STRING="iiiiiiiihdLkhIIIIIIIIUPDuiaaaaaaaa11X38DDDDDDDDpjz5cddddddddtmGzGJJJJJJJJbqIh0uuuuuuuugYYWiVVVVVVVVbp0FVHHHHHHHHBUEakffffffffD2FFRkkkkkkkkWL$84" \ DUP_GROUP=UHD SIGN="052B E746 2D92 0332 27FB 36DA 6272 6CEE \ 9014 488B 5DBC 9A3A 3FC8 13C9 39A0 0717 6F9D D530 2C09 7DB4 \ A3D5 03F0 6F0C 598D F094 FDC1 EA28 4A27 A324 F2C9" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for Altera's MAX+PLUS II Software # Number of seat licenses is 1 # No license expiration date FEATURE maxplus2 alterad 2017.10 permanent 1 90D660E165E6 SIGN="07C5 \ DB35 C22F 56BE 6E9E 3C5C A795 7DF6 7E03 EC12 F0FF D8FB 940B \ 885C 84E6 004D 47AC 28E8 1FC3 68FB BEF8 F2BC 62C0 F2F9 A4BC \ 6F5D 0E2D B712 4434 8244" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for Altera's MAX+PLUS II Verilog # Number of seat licenses is 1 # No license expiration date FEATURE maxplus2verilog alterad 2017.10 permanent 1 DCB9A6930F93 \ SIGN="1360 1B4C DA6A B569 A045 F28C 6855 F9F5 D3A5 7070 5289 \ 815D 3025 6B1F DF55 0572 5CB8 9414 990D 56BE 5481 A637 3096 \ 62B7 8E4E 0E7B BBEE EEDD 0A7F 6258" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for Altera's MAX+PLUS II VHDL # Number of seat licenses is 1 # No license expiration date FEATURE maxplus2vhdl alterad 2017.10 permanent 1 8358399C1B5A \ SIGN="1241 32D9 C0F5 067D A78E F771 C4BC 1D51 C6E5 7946 6218 \ 4372 AB54 D4DF 36AC 0027 9B3B 09E1 090F 2549 12DC AE65 7996 \ B67F 20EA B141 3EA6 018F 8F43 78BB" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for the Altera Design Security feature for the Quartus # II Software. # Number of seat licenses is 1 # No license expiration date FEATURE quartus_nonvolatile_encryption alterad 2017.10 permanent 1 \ 5E8C1318D843 SIGN="1B73 82BE ABA4 3C00 3887 54D3 4E01 75A8 \ 008B 24F9 29C1 EF60 B2C3 F369 3219 05EF 92C5 A803 32F7 14E2 \ A5F0 3CE0 DC88 818C 6574 549E B09A A110 6090 37BC" # FEATURE END ################################################################################ # FEATURE START # The following is a license file for the Altera Quartus II Subscription Edition Floating # Number of seat licenses is 1 # No license expiration date FEATURE quartus alterad 2017.10 permanent 1 79AEB0303BDA SIGN="1EA9 \ 22D0 F622 AC7F B7DC B1D3 AC54 0E02 B1EE 588E 094C 707D A260 \ 3C01 C5BC 1658 F52F 1419 520C 63BF 3449 F563 F88F 03C0 FEA9 \ 0042 28E5 21E8 C033 F818" # FEATURE END ################################################################################ # End of Altera Corporation Software and/or Intellectual Property License File. Issued 05/17/2017 FEATURE 9900_0002 alterad 9999.12 31-may-2019 1 CEB2023BC219 \ VENDOR_STRING="blh71dc22cbihrJv3YHSW0WgZidQxBYwwgag8W8ZBYUW8peojBtco3LPCvIN38VLG66eAlz4aLLAK0f8NDtbK1ffS7iYdHNrKc7LzXvVtxu9ELYQrZP7BibuuCacGAfvtUHAnMxsvifO8b6" \ SIGN="1E02 C95D 0F6A 275A A0D1 A630 436F 2F9F 2F56 416E BB55 \ BE46 7DA3 563C F291 1CA4 84B5 5135 CAD5 2606 33D0 2AD6 2153 \ A056 1AF7 FBF5 71C6 E26F 7F36 73A0" ################################################################################ ################################################################################ ### Appending Nios II Soft Processor MegaCore License Data ### ################################################################################ ################################################################################ ################################################################################ # FEATURE START # The following is a license file for the Altera Nios II Soft Processor MegaCore # Number of seat licenses is 1 # No license expiration date FEATURE 6AF8_00A2 alterad 2018.07 permanent 1 A5638CB98332 \ VENDOR_STRING=lh14qoK3vAB7WVp5s7yRgb SIGN="1279 8241 4E79 5DA6 \ BEFD 6563 F262 CB64 D74E AE22 3615 E6D7 434F 1B9A 76AE 0050 \ 4E80 EE8A A65A 4951 C615 4A3C 7F2A 785D 768E 0511 23EE BD21 \ C15D A5A3" FEATURE 6AF7_00A2 alterad 2018.07 permanent 1 AF40B72576E0 \ VENDOR_STRING="iiiiiiiihdLkhIIIIIIIImPDuiaaaaaaaaP1X38DDDDDDDDmjz5cdddddddd4mGzGJJJJJJJJiqIh0uuuuuuuucYYWiVVVVVVVVcp0FVHHHHHHHHPUEakffffffffR2FFRkkkkkkkkqL$84" \ SIGN="16AB 3C4F 38FD D3DA 9799 D14B 923D 2A43 FE60 D0B1 4F2E \ 0530 9648 CB71 5774 0318 5522 91AD 1E0D 0711 DF85 60D4 6272 \ 0103 613C 9225 7910 5BEB FCD2 BEA5" # FEATURE END ################################################################################ # End of Altera Corporation Software and/or Intellectual Property License File. Issued 09/12/2017

 

JEinh
Beginner
168 Views

posted a file.
AR_A_Intel
Employee
168 Views

Could you help to define/change port numbers for server line, mgcld and alterad daemons. FYI, The FLEXlm software works with Internet firewalls that require you to specify port numbers. You must specify a port number on the SERVER line in the license file (27000-28000 should not be used). You also have to specify different port numbers on each VENDOR line with the PORT=<number> syntax.

Finally, you must allow firewall access to those port numbers. The following example shows how to specify port numbers in a floating license file. example, specify ports 1800, 1801, and 1802.

 

SERVER myServer 0123456789ab 1800

VENDOR alterad ./alterad port=1801

VENDOR mgcld ./mgcld port=1802

 

Port Numbers in the FLEXlm Auto Assign region 27000-28000 should not be used.

If you do not specify a port number, the FLEXlm license manager automatically chooses a free port between 27000 and 27009. However, in Windows systems you must specify an explicit port number.

Refer KDB below

https://www.intel.cn/content/www/cn/zh/programmable/support/support-resources/knowledge-base/solutio...

JEinh
Beginner
168 Views

Hello Aabd,

 

thanks for your suggestion.  I updated the license file.  I assigned port 1800 on the SERVER line and port 1801 on the alterad line.  (We never used the mgcld daemon)

 

Also, the firewall on this server is disabled.

 

The issue has not changed.  Still, we can run lmgrd manually from the command line in a cmd.exe tool.  Still, we cannot run the daemon as a service.  Still, no log file is written.   Please see the updated Word doc which I now attach.  All new information is at the bottom of the Word doc.

 

Many Thanks,

Janet

 

 

 

 

JEinh
Beginner
168 Views

Aabd,

 

this issue has been open for over a week and I have provided all the information that you requested, and much more that I thought might be helpful.  It seems we are not close to a solution.  Is there a way to take this to a higher level of support, or perhaps ask someone else to assist?

 

Thanks,

Janet​

AR_A_Intel
Employee
168 Views

Hello Janet,

 

Please give me some time to further check with support & engineering team. I will get back to you with an update.

JEinh
Beginner
168 Views

·        I ran the Sysinternals Process Monitor tool, attempted startup of the "Altera License Manager" service, then stopped the Process Monitor data capture as soon as the service startup failed.

·        Next, I filtered out a lot of the known executables like other license daemons and the Process Monitor job itself

·        I also filtered out all network activity and registry activity

·        Then I scanned painstakingly through events, looking for anything relating to C:\Altera path. Found this:

 

·        Here are the details:

 

·        I examined permissions on C:\Altera and C:\Altera\Log_File. They were completely typical: "CREATOR OWNER" had full control and "SYSTEM" had full control.  Since our "Altera License Manager" service was defined with "Log On As" = "Local System, I added permission for "LOCAL SERVICE" to the Altera log file folder, as shown here:

 

·        After that, the service started without problems

 

Reply