Uploaded image for project: 'Apache NiFi MiNiFi - MOVED TO NIFI PROJECT'
  1. Apache NiFi MiNiFi - MOVED TO NIFI PROJECT
  2. MINIFI-419

delete-service.bat fails to delete minifi service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.3.0
    • None
    • Windows Server 2016 Datacenter, AMD64

    Description

      After minifi service was installed using install-service.bat, I tried deleting the service by delete-service.bat. The batch command failed with following error:

      C:\dev\minifi-0.3.0-vote\minifi-0.3.0\minifi-assembly\target\minifi-0.3.0-bin\minifi-0.3.0\bin>delete-service.bat
      [2017-12-13 13:17:54] [error] [ 5356] Unrecognized cmd option .exe
      [2017-12-13 13:17:54] [error] [ 5356] Invalid command line arguments
      [2017-12-13 13:17:54] [error] [ 5356] Commons Daemon procrun failed with exit value: 1 (Failed to parse command line arguments)
      

      Removing the double quart around the SERVICE_NAME variable made delete-service.bat to work.
      https://github.com/apache/nifi-minifi/blob/master/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/bin/delete-service.bat#L19

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: