Closed marlof closed 11 months ago
The error can be replicated by the following steps on CentOS. (This repeat failure does not seem to work on Ubuntu)
The error is trigger between "Checking authority: user:", then shows the line "This is the dispatch host but the process associated with the dispatch lock file has died. (Removing lock) and exits with a status 0 after a clear.
When run in bash -x mode in step 4 the debug comes up with
+ typeset int_DispatcherPID
++ ls -l /opt/scorch/var/locks//dispatch.lck
++ /bin/awk -F_ '{print $NF}'
+ int_DispatcherPID=
+ int_DispatcherPID=0
Added a [[ -L ]] test
When scorch is running and the dispatcher is started, when the dispatcher finishes, it triggers scorch to also finish