Community Forums
Results 1 to 3 of 3

Thread: Service created by LMTools v11.15 will not start

  1. #1
    Join Date
    Feb 2018
    Posts
    2

    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 <SystemDrive? \ProgramData to store service data is not set.".

    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):
    LMTools v11.15 LMTools v11.12
    Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Test] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Test]
    "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
    "ServiceSidType"=dword:00000001

    Also there was a slight difference in the FLEXlm License Manager registry values:
    LMTools v11.15 LMTools v11.12
    Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FLEXlm License Manager\Test] [HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager\Test]
    "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"=""
    "TSAccess"=dword:00000000
    "Service"="Test" "Service"="Test"

    Regards,
    Ramon

  2. #2
    Join Date
    Jul 2006
    Location
    Boston
    Posts
    31
    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).

  3. #3
    Join Date
    Feb 2018
    Posts
    2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •