Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-372

SideKicks not killed by scripts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • 0.5
    • Deploy
    • None

    Description

      The auto-generated scripts look like:
      #!/bin/bash
      PIDS=$(ps -wwfe | grep dk.netarkivet.sidekick.SideKick
      dk.netarkivet.sidekick.HarvestControllerServerMonitorHook
      ./conf/start_harvester_8081.sh | grep -v grep | grep
      /home/netarkiv/CSR/conf/settings_harvester_8081.xml | awk "

      {print \$2}

      ")
      if [ -n "$PIDS" ] ; then
      kill -9 $PIDS
      fi
      which generate error messages like
      kill at netarkiv@sb-test-har-001.statsbiblioteket.dk
      grep: dk.netarkivet.sidekick.HarvestControllerServerMonitorHook: No such file or
      directory
      grep: ./conf/start_harvester_8081.sh: No such file or directory
      grep: dk.netarkivet.sidekick.HarvestControllerServerMonitorHook: No such file or
      directory
      grep: ./conf/start_harvester_8082.sh: No such file or directory
      Obviously grep is treating dk.netarkivet.sidekick.HarvestControllerServerMonitorHook
      as a file pattern.
      NOTE: This bug is originally from Bugzilla bug_id=363.
      This bug was previously assigned to SSC.
      This bug was originally submitted by CSR.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: