And the answer is, the first line of the file is:
#!/bin/bash#!/usr/bin/env
and that should be on two separate lines like this:
#!/bin/bash
#!/usr/bin/env
If your stopDaemon.sh fails to actually stop your Traccar instance then this may be your problem. I don't know how mine got that way. I upgraded to the newest version yesterday and this was the first I had reason to stop it after the upgrade.
Mark
It's a known issue with YAJSW:
Upon execution of:
it terminates with
sudo: unable to execute /opt/traccar/bin/stopDaemonNoPriv.sh: No such file or directory
Executing
sudo /opt/traccar/bin/stopDaemonNoPriv.sh
results in:Before I do anything is there an easy fix for this?
Thanks
Mark