Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
0.5
-
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 "
")
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.