<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Kin,<div><br></div><div>I do have sysop user and spider group, at least, as far as I’m aware.</div><div><br></div><div>Just to clarify, you’re saying to log in as sysop and run those four commends?  Is that effectively checking and fixing the permissions?</div><div><br></div><div>I want to be sure I understand what I’m doing before I do it.</div><div><br></div><div>Thanks,</div><div><br></div><div>73 Keith</div><div><br></div><div><div><br><blockquote type="cite"><div>On 5 Dec 2022, at 20:03, Joaquin via Dxspider-support <dxspider-support@tobit.co.uk> wrote:</div><br class="Apple-interchange-newline"><div>
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  <div><p>I forgot to tell you that what I have given you is for the <b>sysop
      </b>user and the <b>spider </b>group, if you do not define it
      that way, you will have to adapt it.</p><p>Kin<br>
    </p>
    <div class="moz-cite-prefix">El 05/12/2022 a las 21:00, Joaquin via
      Dxspider-support escribió:<br>
    </div>
    <blockquote type="cite" cite="mid:fad21325-3a86-91b0-9921-91e337c4b8b9@cronux.net">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><p>Keith,</p><p>Try doing this:<br>
        <br>
        su - sysop -c "cd /home/sysop"<br>
        su - sysop -c "chown -R sysop.spider spider"<br>
        su - sysop -c "find ./ -type d -exec chmod 2775 {} \;"<br>
        su - sysop -c "find ./ -type f -exec chmod 775 {} \;"<br>
        <br>
        I don't have '&&' I use ';'. Look at my crontab:<br>
        <br>
        <br>
        # AutoUpdate USDB<br>
        0 1 * * 1,3,5 spawn("cd /tmp; wget -qN <a class="moz-txt-link-freetext" href="ftp://ftp.w1nr.net/usdbraw.gz" moz-do-not-send="true">ftp://ftp.w1nr.net/usdbraw.gz</a>;
        /spider/perl/create_usdb.pl usdbraw.gz")<br>
        5 1 * * 1,3,5 run_cmd("load/usdb")<br>
        10 1 * * 1,3,5 spawn("rm /tmp/usdbraw.gz")<br>
        <br>
        # AutoUpdate CTY.DAT<br>
        0 3 * * 0,2,5 spawn("cd /spider/local_data; wget -qN <a class="moz-txt-link-freetext" href="http://www.country-files.com/cty/cty.dat" moz-do-not-send="true">http://www.country-files.com/cty/cty.dat</a>")<br>
        0 3 * * 0,2,5 spawn("cd /spider/local_data; wget -qN <a class="moz-txt-link-freetext" href="http://www.country-files.com/cty/wpxloc.raw" moz-do-not-send="true">http://www.country-files.com/cty/wpxloc.raw</a>")<br>
        2 3 * * 0,2,5 spawn("/spider/perl/create_prefix.pl")<br>
        3 3 * * 0,2,5 run_cmd("load/prefix")<br>
        <br>
        # AutoUpdate Keps<br>
        0 2 * * 2,4,6 spawn("cd /tmp; wget -qN <a class="moz-txt-link-freetext" href="http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt" moz-do-not-send="true">http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt</a>;
        /spider/perl/convkeps.pl -p nasabare.txt")<br>
        5 2 * * 2,4,6 run_cmd("load/keps")<br>
        10 2 * * 2,4,6 spawn("rm /tmp/nasabare.txt")<br>
        <br>
        Kin EA3CV</p><p><br>
      </p>
      <div class="moz-cite-prefix">El 05/12/2022 a las 20:44, Keith
        Maton via Dxspider-support escribió:<br>
      </div>
      <blockquote type="cite" cite="mid:022D9714-5B82-43D1-B9FB-95F8C1A61464@me.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        Right, I’ve spent two days with this and I’m now pulling out
        what little hair I have left.
        <div><br>
        </div>
        <div>I’ve built a new cluster and I’m trying to get (to start
          with), my FCC database updated via crontab.</div>
        <div><br>
        </div>
        <div>I’ve added sysop into the SUDO group.</div>
        <div><br>
        </div>
        <div>I’m running a Raspberry Pi with DXSpider v1.57 (build 451).</div>
        <div><br>
        </div>
        <div>I’m logged onto the Pi as sysop, then I’ve done a sudo su
          because otherwise I can’t write to /spider/local_cmd</div>
        <div><br>
        </div>
        <div>My crontab file is thus:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">#
              Check every 10 minutes to see if xxxx is connected and if
              not</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">#
              start a connect job</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;">0,10,20,30,40,50
            * * * * start_connect('pi4cc') unless connected('pi4cc')<span style="font-variant-ligatures: no-common-ligatures"></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><br>
          </div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br>
          </div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">#
              Monday 01:00 - Get latest FCC data (W1NR updates Sundays)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">16 16
              * * 1 spawn("cd /tmp && wget -qN <a class="moz-txt-link-freetext" href="ftp://ftp.w1nr.net/usdbraw.gz" moz-do-not-send="true">ftp://ftp.w1nr.net/usdbraw.gz</a>
              && /spider/perl/create_usdb.pl usdbraw.gz")</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">20 16 * * 1
            run_cmd("load/usdb")</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">25 16
              * * 1 spawn("rm /tmp/usdbraw.gz")</span></div>
        </div>
        <div><span style="font-variant-ligatures: no-common-ligatures"><br>
          </span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures"><br>
          </span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures">The
            connect lines are fine, that works perfectly.</span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures"><br>
          </span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures">The
            first line of getting the FCC data partly works.  cd /tmp
            works and so does the wget command.  However, the final part
            doesn’t work.  It never creates /spider/local_data/usdb.v1</span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures">The
            third line works, it deletes the downloaded file.</span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures"><br>
          </span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures">However,
            if I run cd /tmp && wget -qN <a class="moz-txt-link-freetext" href="ftp://ftp.w1nr.net/usdbraw.gz" moz-do-not-send="true">ftp://ftp.w1nr.net/usdbraw.gz</a>
            && /spider/perl/create_usdb.pl usdbraw.gz from the
            prompt, it works (although the file it creates has the wrong
            owner).</span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures"><br>
          </span></div>
        <div>To me, this looks like a permissions/ownership thing but
          I’ve tried so many things today and yesterday that I’ve kinda
          lost the will to live.</div>
        <div><br>
        </div>
        <div>These are the permissions on my crontab file in
          /spider/local_cmd</div>
        <div><br>
        </div>
        <div><span style="font-family: Menlo; font-size: 11px;">-rwxr-xr-x
            1 root spider 2020 Dec  </span><span style="font-family:
            Menlo; font-size: 11px;">5 12:16 crontab</span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures"><br>
          </span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures">I
            also have stuff in crontab to update keps and cty.dat which
            don’t work either but I reckon that if I can get this one
            working, the others will work as well.</span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures"><br>
          </span></div>
        <div><span style="font-variant-ligatures: no-common-ligatures">I’m
            quite sure this is going to be something simple but I’ve
            stared at it for so long now that I need to refer to Dirk’s
            list of pre-reqs for the mojo upgrade, ie a</span> supply of
          good, strong tea - preferably in pint mugs. A tin hat, stout
          boots, a rucksack with survival rations and a decent miners'
          lamp might also prove comforting.</div>
        <div><br>
        </div>
        <div>Please, can someone point me in the right direction.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>73 Keith G6NHU</div>
        <div><br>
        </div>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Dxspider-support@tobit.co.uk" moz-do-not-send="true">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" moz-do-not-send="true">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dxspider-support@tobit.co.uk">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>Dxspider-support mailing list<br>Dxspider-support@tobit.co.uk<br>https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support<br></div></blockquote></div><br></div></body></html>