Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-367

Windows service fails to start after Windows 10 Creators Update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.0.15
    • None
    • Procrun
    • Windows 10 Home and Pro after Creators Update. Windows version 10.0.15063 Build 15063

    Description

      I have been running windows services via prunsrv for quite a long time without any problem. Since updating my PC (Windows 10 Home) recently with the Creators Update version of Windows 10 any new service that I install will not start. Similar services that were installed prior to the update work ok as before. When I try to start a new service, the system event log contains the message "The BSS2SRVB2 service terminated with the following service-specific error: Incorrect function". The service was initially configured with PR_LOGLEVEL set to "Error" and no log files were created. When I set the level to "Debug", the following log files were created,

      • stderrb2.txt contains,
        2017-06-29 08:45:34 Commons Daemon procrun stderr initialized
      • stdoutb2.txt contains,
        2017-06-29 08:45:34 Commons Daemon procrun stdout initialized
      • commons-daemon.2017-06-29.log contains,
        [2017-06-29 08:45:34] [debug] ( prunsrv.c:1679) [20104] Commons Daemon procrun log initialized
        [2017-06-29 08:45:34] [info] ( prunsrv.c:1683) [20104] Commons Daemon procrun (1.0.15.0 32-bit) started
        [2017-06-29 08:45:34] [info] ( prunsrv.c:1596) [20104] Running 'BSS2SRVB2' Service...
        [2017-06-29 08:45:34] [debug] ( prunsrv.c:1374) [19220] Inside ServiceMain...
        [2017-06-29 08:45:34] [debug] ( prunsrv.c:844 ) [19220] reportServiceStatusE: 2, 0, 3000, 0
        [2017-06-29 08:45:34] [info] ( prunsrv.c:1127) [19220] Starting service...
        [2017-06-29 08:45:34] [error] ( prunsrv.c:1190) [19220] Missing service ImageFile
        [2017-06-29 08:45:34] [error] ( prunsrv.c:1536) [19220] ServiceStart returned 1
        [2017-06-29 08:45:34] [debug] ( prunsrv.c:844 ) [19220] reportServiceStatusE: 1, 1066, 0, 1
        [2017-06-29 08:45:34] [info] ( prunsrv.c:1598) [20104] Run service finished.
        [2017-06-29 08:45:34] [info] ( prunsrv.c:1764) [20104] Commons Daemon procrun finished

      The service processes have been written by myself in Java.

      I have also seen the same problem on another PC (Windows 10 Pro) so this suggests that it is not specific to my PC.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dave53 Dave Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: