This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Service created by LMTools v11.15 will not start
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 20, 2018
08:27 AM
Service created by LMTools v11.15 will not start
When I create a new license service with the 11.15 version of lmtools.exe the license service will not start and no lmgrd log file is created. After the creation of the service I got the error "Windows preferred paths
When I create the same service with lmtools v11.12 the service can be started.
Can anyone explain why the service will NOT start?
P.S. I tried to troubleshoot the issue myself but I could not find any events in the application and/or system event logs. I have exported the service registry keys and compared them (hexidecimals converted to strings):
[table="width: 50"]
LMTools v11.15 LMTools v11.12
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
[tr] [td][/td][/tr]
[tr][td][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Test] [/td][td] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Test][/td][/tr]
"Type"=dword:00000010 "Type"=dword:00000010
"Start"=dword:00000002 "Start"=dword:00000002
"ErrorControl"=dword:00000001 "ErrorControl"=dword:00000001
"ImagePath"="C:\Program Files\FLEXlm\lmgrd.exe" "ImagePath"=C:\Program Files\FLEXlm\lmgrd.exe
"DisplayName"="Test" "DisplayName"="Test"
"DependOnGroup"=NetworkProvider "DependOnGroup"=NetworkProvider
"ObjectName"="NT AUTHORITY\\LocalService" "ObjectName"="LocalSystem"
"DependOnService"=WinMgmt "DependOnService"=WinMgmt,wmiApSrv
"DelayedAutostart"=dword:00000001 "DelayedAutostart"=dword:00000001
[tr]"ServiceSidType"=dword:00000001 [td][/td][/tr]
[/table]
Also there was a slight difference in the FLEXlm License Manager registry values:
[table="width: 50"]
LMTools v11.15 LMTools v11.12
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
[tr] [td][/td][/tr]
[tr][td][HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FLEXlm License Manager\Test][/td][td][HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager\Test][/td][/tr]
"Lmgrd"="C:\\Program Files\\FLEXlm\\lmgrd.exe""Lmgrd"="C:\\Program Files\\FLEXlm\\lmgrd.exe"
"LMGRD_LOG_FILE"="C:\\Program Files\\FLEXlm\\Licenses\\Test.log""LMGRD_LOG_FILE"="C:\\Program Files\\FLEXlm\\Licenses\\Test.log"
"License"="C:\\Program Files\\FLEXlm\\Licenses\\Test.dat""License"="C:\\Program Files\\FLEXlm\\Licenses\\Test.dat"
"cmdlineparams"="""cmdlineparams"=""
[tr]"TSAccess"=dword:00000000[td][/td][/tr]
"Service"="Test""Service"="Test"
[/table]
Regards,
Ramon
When I create the same service with lmtools v11.12 the service can be started.
Can anyone explain why the service will NOT start?
P.S. I tried to troubleshoot the issue myself but I could not find any events in the application and/or system event logs. I have exported the service registry keys and compared them (hexidecimals converted to strings):
[table="width: 50"]
LMTools v11.15 LMTools v11.12
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
[tr] [td][/td][/tr]
[tr][td][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Test] [/td][td] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Test][/td][/tr]
"Type"=dword:00000010 "Type"=dword:00000010
"Start"=dword:00000002 "Start"=dword:00000002
"ErrorControl"=dword:00000001 "ErrorControl"=dword:00000001
"ImagePath"="C:\Program Files\FLEXlm\lmgrd.exe" "ImagePath"=C:\Program Files\FLEXlm\lmgrd.exe
"DisplayName"="Test" "DisplayName"="Test"
"DependOnGroup"=NetworkProvider "DependOnGroup"=NetworkProvider
"ObjectName"="NT AUTHORITY\\LocalService" "ObjectName"="LocalSystem"
"DependOnService"=WinMgmt "DependOnService"=WinMgmt,wmiApSrv
"DelayedAutostart"=dword:00000001 "DelayedAutostart"=dword:00000001
[tr]"ServiceSidType"=dword:00000001 [td][/td][/tr]
[/table]
Also there was a slight difference in the FLEXlm License Manager registry values:
[table="width: 50"]
LMTools v11.15 LMTools v11.12
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
[tr] [td][/td][/tr]
[tr][td][HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FLEXlm License Manager\Test][/td][td][HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager\Test][/td][/tr]
"Lmgrd"="C:\\Program Files\\FLEXlm\\lmgrd.exe""Lmgrd"="C:\\Program Files\\FLEXlm\\lmgrd.exe"
"LMGRD_LOG_FILE"="C:\\Program Files\\FLEXlm\\Licenses\\Test.log""LMGRD_LOG_FILE"="C:\\Program Files\\FLEXlm\\Licenses\\Test.log"
"License"="C:\\Program Files\\FLEXlm\\Licenses\\Test.dat""License"="C:\\Program Files\\FLEXlm\\Licenses\\Test.dat"
"cmdlineparams"="""cmdlineparams"=""
[tr]"TSAccess"=dword:00000000[td][/td][/tr]
"Service"="Test""Service"="Test"
[/table]
Regards,
Ramon
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2018
11:52 AM
I've never seen that particular error before, but one of the more recent changes is that the service gets run as a more restricted user than before. So it is likely that the process doesn't have permissions to either read the directory where lmgrd.exe is, or write to the log file.
It's likely the log file. You generally shouldn't be writing into C:\Program Files\. Try changing that to a directory that is writable to everyone (or at least to the service that is running).
It's likely the log file. You generally shouldn't be writing into C:\Program Files\. Try changing that to a directory that is writable to everyone (or at least to the service that is running).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2018
05:30 AM
Thank you for your reply. I can confirm that the problem was caused by the debug log file. I configured a new license en set the debug log file to 'C:\ProgramData\FLEXlm\lmgrd\test.log'. The new license service could be started and the log file was created.