Help request in debugging WSPRdaemon installation


John K5MO
 

Hello All,

With the great help of Tom, I got kiwirecorder and wsprdaemon running on a pi4 about a year ago. It's been rock solid since then, but I could use some help at the moment, as something broke/I broke something unintentionally.

I start the program with :   ~/wsprdaemon/wsprdaemon.sh -a  from a BASH script that also launches kiwirecorder (which is working), and a QRSSpig monitor (also working).    

Whether I run the bash script or just enter the above at the command line, the program appears to run, but when I  look at the status with the -s argument, nothing is running (my .conf file usually launched 4 WSPR monitors)


pi@Pi4Brick:~/scripts $ ~/wsprdaemon/wsprdaemon.sh -s
wsprdaemon.sh Copyright (C) 2020-2022  Robert S. Robinett
This program comes with ABSOLUTELY NO WARRANTY; for details type './wsprdaemon.sh -h'
This is free software, and you are welcome to redistribute it under certain conditions.  execute'./wsprdaemon.sh -h' for details.
wsprdaemon depends heavily upon the 'wsprd' program and other technologies developed by Joe Taylor K1JT and others, to whom we are grateful.
Goto https://physics.princeton.edu/pulsar/K1JT/wsjtx.html to learn more about WSJT-x

Wed 08 Mar 2023 14:56:02 UTC: show_running_jobs() ERROR: There is no RUNNING_JOBS_FILE '/home/pi/wsprdaemon/running.jobs'
/home/pi/wsprdaemon/wd_utils.sh: line 527: printf: /home/pi/wsprdaemon: invalid number
Daemon '               watchdog_daemon' is     running with pid      0 in ''
/home/pi/wsprdaemon/wd_utils.sh: line 527: printf: /home/pi/wsprdaemon/uploads.d/wsprnet.d/spots.d: invalid number
Daemon '      upload_to_wsprnet_daemon' is     running with pid      0 in ''
/home/pi/wsprdaemon/wd_utils.sh: line 527: printf: /home/pi/wsprdaemon/uploads.d/wsprdaemon.d: invalid number
Daemon '   upload_to_wsprdaemon_daemon' is     running with pid      0 in ''




I realize that there is a bunch of reasons that this might happen, but my question is how to debug this?  I have not knowingly moved files or changed paths, and I don't get any errors when I launch the job with the -a argument. 

Yes, I am a Linux novice. Any hints on debug appreciated.

John K5MO


Erwin - PE3ES - F4VTQ
 

wsprdaemon itself launches the kiwirecoder, why do you have another bash script that starts it also ?
I can understand that you want to start additional sw like the QRSSpig (?) monitor, but I see no need to start kiwirecorder yourself

Good luck
Erwin


John K5MO
 

I fixed it, and it was , to no surprise , my error.

Learned some new stuff and it's back to running again

Best
John K5MO


On Wed, Mar 8, 2023 at 11:29 AM Erwin - PE3ES - F4VTQ via groups.io <waterwin2=yahoo.com@groups.io> wrote:
wsprdaemon itself launches the kiwirecoder, why do you have another bash script that starts it also ?
I can understand that you want to start additional sw like the QRSSpig (?) monitor, but I see no need to start kiwirecorder yourself

Good luck
Erwin


Erwin - PE3ES - F4VTQ
 

Care to tell us the what and how so we all can learn a bit more of your solution ?
Thanks
Erwin