<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">load/prefix works fine<div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">Page Length is now 500</div><div class="">W8BS de W8BS-2 4-Mar-2021 2350Z dxspider ></div><div class="">load/prefix</div><div class="">Operation successful</div><div class="">W8BS de W8BS-2 4-Mar-2021 2350Z dxspider ></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div class="">James Snider</div><div class=""><a href="mailto:jim@lexiann.com" class="">jim@lexiann.com</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Mar 4, 2021, at 6:25 PM, JOSEPH REED via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" class="">dxspider-support@tobit.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The command is not load/prefix it is load/prefixes. Try that.<div class=""><br class=""></div><div class="">Joe N9JR<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Mar 4, 2021, at 2:12 PM, Luigi Carlotto IK5ZUK via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" class="">dxspider-support@tobit.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<div class="">
Hi all,
<br class="">
<br class="">
These are the steps I've followed:
<br class="">
<br class="">
1. cd /spider/data
<br class="">
2. wget <a class="moz-txt-link-abbreviated" href="http://www.country-files.com/cty/cty.dat">www.country-files.com/cty/cty.dat</a>
-O cty.dat
<br class="">
<br class="">
(I'm sure that the last cty.dat file is downloaded because I've
edited with nano and searching for the "VERSION" string I've found
"Guinea-Bissau: 35: 46: AF: 12.02: 14.80: 0.0:
J5:
<br class="">
J5,=VERSION; ")
<br class="">
<br class="">
3. wget <a class="moz-txt-link-abbreviated" href="http://www.country-files.com/cty/wpxloc.raw">www.country-files.com/cty/wpxloc.raw</a>
-O wpxloc.raw<br class="">
4. ../perl/create_prefix.pl<br class="">
5. into the spider console, as sysop, done the command "load/prefix"
<br class="">
<br class="">
Unfortunately, the output for the "sh/prefix version" is:
<br class="">
<br class="">
sh/prefix version
<br class="">
VERSION CC: 201 IZ: 54 CZ: 29 LL: 12 9 S 96 49 E NH87 (VERSION,
Cocos-Keeling-)
<br class="">
(IK5ZUK-1) de IK5ZUK-6 4-Mar-2021 1706Z dxspider >
<br class="">
<br class="">
IMHO this means that the new database is not loaded, at least. I
don't know what I'm doing wrong... <br class="">
<br class="">
<span class="moz-smiley-s2" title=":("></span>
For completeness: I've tried to delete the file
/spider/local_data/prefix_data.pl and run one more time the
create_prefix and load/prefix, but nothing is changed.<br class="">
<br class="">
I don't know what else to try...<br class="">
<br class="">
73 Luigi IK5ZUK<br class="">
<br class="">
<div class="moz-cite-prefix">Il 04/03/2021 03:14, David Spoelstra
via Dxspider-support ha scritto:<br class="">
</div>
<blockquote type="cite" cite="mid:CAEKn9qaa3VcBhHAz4wFqgM8TtHMdAenrBLjWLf4Y01jfVLuXxQ@mail.gmail.com" class="">
<div dir="ltr" class="">OK, found the problem. I was using http vs https
when I fetched the file - that made all the difference.
<div class=""><br class="">
</div>
<div class="">If anyone wants to use my DXSpider cron, you are most
welcome. Just to make sure everyone understands, you can put a
crontab in /spider/local_cmd/ and it will run. I put all my
DXSpider stuff in there to keep everything dealing with
DXSpider in one place.</div>
<div class=""><br class="">
</div>
<div class="">My DXSpider crontab in /spider/local_cmd/:</div>
<div class=""><br class="">
</div>
<div class=""># /spider/local_cmd/crontab<br class="">
# MAKE SURE /spider/cmd_import EXISTS!<br class="">
# min, hour, day-of-month, month, day-of-week (0=Sun)<br class="">
# TIME IS UTC!<br class="">
<br class="">
# Connect to other nodes<br class="">
* * * * * start_connect('w9pa') unless connected('w9pa')<br class="">
* * * * * start_connect('wb3ffv') unless connected('wb3ffv')<br class="">
* * * * * start_connect('ky4xx') unless connected('ky4xx')<br class="">
<br class="">
# Monday 1am local - Get latest FCC data (W1NR updates
Sundays)<br class="">
0 5 * * 1 spawn("cd /tmp && wget -Nq <a href="ftp://ftp.w1nr.net/usdbraw.gz" moz-do-not-send="true" class="">ftp://ftp.w1nr.net/usdbraw.gz</a>
&& /spider/perl/<a href="http://create_usdb.pl/" moz-do-not-send="true" class="">create_usdb.pl</a> usdbraw.gz")<br class="">
2 5 * * 1 run_cmd("load/usdb")<br class="">
4 5 * * 1 spawn("rm /tmp/usdbraw.gz")<br class="">
<br class="">
# Friday 1am local - Get latest Keps to be ready for any
contest<br class="">
0 5 * * 5 spawn("cd /tmp && wget -Nq <a href="https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt" moz-do-not-send="true" class="">https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt</a>
&& /spider/perl/<a href="http://convkeps.pl/" moz-do-not-send="true" class="">convkeps.pl</a> -p nasabare.txt")<br class="">
2 5 * * 5 run_cmd("load/keps")<br class="">
4 5 * * 5 spawn("rm /tmp/nasabare.txt")<br class="">
<br class="">
# Friday 1am local - Get latest cty.dat to be ready for any
contest<br class="">
6 5 * * 5 spawn("cd /spider/data && wget -Nq <a href="https://www.country-files.com/cty/cty.dat" moz-do-not-send="true" class="">https://www.country-files.com/cty/cty.dat</a>")<br class="">
8 5 * * 5 spawn("cd /spider/data && wget -Nq <a href="https://www.country-files.com/cty/wpxloc.raw" moz-do-not-send="true" class="">https://www.country-files.com/cty/wpxloc.raw</a>")<br class="">
10 5 * * 5 spawn("cd /spider/data && /spider/perl/<a href="http://create_prefix.pl/" moz-do-not-send="true" class="">create_prefix.pl</a>")<br class="">
12 5 * * 5 run_cmd("load/prefixes")<br class="">
<br class="">
# Friday 1am local - Update DXSpider to be ready for any
contest<br class="">
14 5 * * 5 spawn("cd /spider && git reset --hard
&& git pull")<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">-David, N9KT</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 3, 2021 at 7:54 PM
JOSEPH REED via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" moz-do-not-send="true" class="">dxspider-support@tobit.co.uk</a>>
wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;" class="">Interesting,
<div class=""><br class="">
</div>
<div class="">The -N means don’t download unless the file is newer.
Are you doing the wget -qn as sysop or another user? I
shamelessly use a crontab script written by another
contributor (search the archives) or email me off list and
it just happens without human intervention. That might be
the way to go.</div>
<div class=""><br class="">
</div>
<div class="">Joe N9JR<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 3, 2021, at 6:00 PM, David Spoelstra via
Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">dxspider-support@tobit.co.uk</a>>
wrote:</div>
<br class="">
<div class="">
<div dir="ltr" class="">I figured out my problem. For some
reason wget doesn't see the file as having been
changed!
<div class=""><br class="">
</div>
<div class="">$ wget -N <a href="http://www.country-files.com/cty/cty.dat" target="_blank" moz-do-not-send="true" class="">http://www.country-files.com/cty/cty.dat</a><br class="">
--2021-03-03 18:50:45-- <a href="http://www.country-files.com/cty/cty.dat" target="_blank" moz-do-not-send="true" class="">http://www.country-files.com/cty/cty.dat</a><br class="">
Resolving <a href="http://www.country-files.com/" target="_blank" moz-do-not-send="true" class="">www.country-files.com</a>
(<a href="http://www.country-files.com/" target="_blank" moz-do-not-send="true" class="">www.country-files.com</a>)...
72.52.250.187<br class="">
Connecting to <a href="http://www.country-files.com/" target="_blank" moz-do-not-send="true" class="">www.country-files.com</a>
(<a href="http://www.country-files.com/" target="_blank" moz-do-not-send="true" class="">www.country-files.com</a>)|72.52.250.187|:80...
connected.<br class="">
HTTP request sent, awaiting response... 304 Not
Modified<br class="">
File ‘cty.dat’ not modified on server. Omitting
download.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">It doesn't update the file and inside it
shows "C3,=VERSION;"</div>
<div class=""><br class="">
</div>
<div class="">So, instead I switched to curl and ran:</div>
<div class="">curl -Os <a href="http://www.country-files.com/cty/cty.dat" target="_blank" moz-do-not-send="true" class="">http://www.country-files.com/cty/cty.dat</a></div>
<div class=""><br class="">
</div>
<div class="">This time it updated the file and inside it
shows "J5,=VERSION;" which is correct and
everything now works.</div>
<div class=""><br class="">
</div>
<div class="">Does anyone know why wget doesn't see the
file as having been changed? Is it getting that
information from the server?</div>
<div class=""><br class="">
</div>
<div class="">-David, N9KT</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 3,
2021 at 6:25 PM David Spoelstra <<a href="mailto:davids@mediamachine.com" target="_blank" moz-do-not-send="true" class="">davids@mediamachine.com</a>>
wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class="">
<div dir="ltr" class="">OK, now you guys made me check
mine and I'm having problems too! I do the
following:
<div class=""> cd /spider/data</div>
<div class=""> wget -qN <a href="http://www.country-files.com/cty/cty.dat" target="_blank" moz-do-not-send="true" class="">http://www.country-files.com/cty/cty.dat</a><br class="">
wget -qN <a href="http://www.country-files.com/cty/wpxloc.raw" target="_blank" moz-do-not-send="true" class="">http://www.country-files.com/cty/wpxloc.raw</a></div>
<div class="">I check the dates and they look
correct:</div>
<div class="">-rw-r--r-- 1 sysop spider 77K Mar 3
18:03 cty.dat</div>
<div class="">-rw-r--r-- 1 sysop spider 538K Mar 3
18:03 wpxloc.raw</div>
<div class=""><br class="">
</div>
<div class="">I look inside cty.dat and
see: C3,=VERSION;</div>
<div class=""><br class="">
</div>
<div class="">Then I run:</div>
<div class="">/spider/perl/<a href="http://create_prefix.pl/" target="_blank" moz-do-not-send="true" class="">create_prefix.pl</a></div>
<div class="">which updates:</div>
<div class=""> -rw-r--r-- 1 sysop spider 821K Mar
3 18:15 <a href="http://prefix_data.pl/" target="_blank" moz-do-not-send="true" class="">prefix_data.pl</a></div>
<div class="">Then I login to my cluster and run
"load/prefixes" which works.</div>
<div class=""><br class="">
</div>
<div class="">But, when I run "sh/prefix version" I
get: VERSION DXCC: 12 ITU: 27 CQ: 14 LL:
42 35 N 1 37 E (VERSION, Andorra-C3)</div>
<div class="">Which doesn't match what you all are
getting!</div>
<div class=""><br class="">
</div>
<div class="">When I looked in <a href="http://prefix_data.pl/" target="_blank" moz-do-not-send="true" class="">prefix_data.pl</a>
I see:</div>
<div class=""> '=VERSION' => '75',</div>
<div class=""><br class="">
</div>
<div class="">What am I doing wrong?</div>
<div class=""><br class="">
</div>
<div class="">Thanks!</div>
<div class="">-David, N9KT</div>
<div class=""><br class="">
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar
3, 2021 at 4:58 PM Luigi Carlotto IK5ZUK via
Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">dxspider-support@tobit.co.uk</a>>
wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div class=""> Hi Kjell,<br class="">
Thanks for your help.<br class="">
<br class="">
I've understood now. But however despite
having downloaded the last cty.dat from
the following URL:<br class="">
<br class="">
<a href="https://www.country-files.com/cty/cty.dat" target="_blank" moz-do-not-send="true" class="">https://www.country-files.com/cty/cty.dat</a><br class="">
<br class="">
the DXCC entity identifying the version is
not "Guinea-Bissau-J5" but
"Cocos-Keeling-Islands-VK9C": so, if I'm
not wrong, this means that the cty.dat
file downloaded is not the last one.<br class="">
<br class="">
Of course, after cty.dat download in
/spider/data, I've done the spider/perl/<a href="http://create_prefix.pl/" target="_blank" moz-do-not-send="true" class="">create_prefix.pl</a>
and finally, into the spider console done
the "load/prefix" command.<br class="">
<br class="">
Kjell, please could you tell me the exact
path for downloading the last cty.dat file
?<br class="">
<br class="">
Thank you and sorry for noise to the
others.<br class="">
<br class="">
73 Luigi IK5ZUK<br class="">
<br class="">
<br class="">
<br class="">
<div class="">Il 03/03/2021 22:17, Kjell Jarl via
Dxspider-support ha scritto:<br class="">
</div>
<blockquote type="cite" class=""><p dir="ltr" class="">Follow the path Jim
outlined </p>
<br class="">
<br class="">
---- Luigi Carlotto IK5ZUK via
Dxspider-support skrev ----<br class="">
<br class="">
Sorry Guys,<br class="">
below is the output for "sh/prefix
version" done in my spider:<br class="">
<br class="">
sh/prefix version<br class="">
VERSION CC: 201 IZ: 54 CZ: 29 LL: 12 9 S
96 49 E NH87 (VERSION, <br class="">
Cocos-Keeling-)<br class="">
(IK5ZUK-1) de IK5ZUK-6 3-Mar-2021 2040Z
dxspider ><br class="">
<br class="">
Where is the version number ?<br class="">
<br class="">
73 Luigi IK5ZUK<br class="">
<br class="">
<br class="">
<br class="">
Il 03/03/2021 21:37, Dirk Koopman via
Dxspider-support ha scritto:<br class="">
> SH/PREFIX VERSION will also work. A
rather off the wall SH/MOON <br class="">
> VERSION also works :-)<br class="">
><br class="">
> In fact any command that would show
a location as part of its output <br class="">
> will work.<br class="">
><br class="">
> Dirk<br class="">
><br class="">
> On 03/03/2021 20:27, Jim Reisert
AD1C via Dxspider-support wrote:<br class="">
>>> A question: I'm running
DxSpider software, is there a command to
see<br class="">
>>> what is the CTY version
installed into the system ?<br class="">
>> One of these may work:<br class="">
>><br class="">
>> (*) SH/H VERSION<br class="">
>> (*) SH/SUN VERSION<br class="">
>><br class="">
>> (*) These are CC Cluster
commands, but I think DX Spider uses the
<br class="">
>> same ones.<br class="">
>><br class="">
>> The callsign VERSION will be
identified as a particular DXCC entity,<br class="">
>> which is always listed at the
top of the release notes, for example:<br class="">
>><br class="">
>> <a href="https://www.country-files.com/cty-3105-03-march-2021/" target="_blank" moz-do-not-send="true" class="">https://www.country-files.com/cty-3105-03-march-2021/</a><br class="">
>> VER20210303, Version
entity is Guinea-Bissau, J5<br class="">
>><br class="">
>> So it's easy to tell if you
have (or do not have) the latest version<br class="">
>> of the country file, but if the
version entity does NOT match, you<br class="">
>> will have go searching the
older release notes to find out which<br class="">
>> version you DO have installed.
There is a search box in the<br class="">
>> upper-right hand corner of the
web page I listed above, type in<br class="">
>> Version Entity and you will see
them for each release.<br class="">
>><br class="">
>><br class="">
><br class="">
><br class="">
>
_______________________________________________<br class="">
> Dxspider-support mailing list<br class="">
> <a href="mailto:Dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">Dxspider-support@tobit.co.uk</a><br class="">
> <a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank" moz-do-not-send="true" class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br class="">
<br class="">
<br class="">
-- <br class="">
Questa email è stata esaminata alla
ricerca di virus da AVG.<br class="">
<a href="http://www.avg.com/" target="_blank" moz-do-not-send="true" class="">http://www.avg.com</a><br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Dxspider-support mailing list<br class="">
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">Dxspider-support@tobit.co.uk</a><br class="">
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank" moz-do-not-send="true" class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br class="">
<br class="">
<fieldset class=""></fieldset>
<pre class="">_______________________________________________
Dxspider-support mailing list
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">Dxspider-support@tobit.co.uk</a>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank" moz-do-not-send="true" class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
</blockquote>
<br class="">
<div id="gmail-m_1407664938995936285gmail-m_5519675380789537698gmail-m_-4158866810881750078DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" class=""><br class="">
<table style="border-top:1px solid
rgb(211,212,222)" class="">
<tbody class="">
<tr class="">
<td style="width:55px;padding-top:18px" class=""><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" moz-do-not-send="true" class=""><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" style="width: 46px;
height: 29px;" moz-do-not-send="true" width="46" height="29" class=""></a></td>
<td style="width:470px;padding-top:17px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px" class="">Mail
priva di virus. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:rgb(68,83,234)" target="_blank" moz-do-not-send="true" class="">www.avg.com</a>
</td>
</tr>
</tbody>
</table>
<a width="1" height="1" moz-do-not-send="true" class=""> </a></div>
</div>
_______________________________________________<br class="">
Dxspider-support mailing list<br class="">
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">Dxspider-support@tobit.co.uk</a><br class="">
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" rel="noreferrer" target="_blank" moz-do-not-send="true" class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br class="">
</blockquote>
</div>
</blockquote>
</div>
_______________________________________________<br class="">
Dxspider-support mailing list<br class="">
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">Dxspider-support@tobit.co.uk</a><br class="">
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank" moz-do-not-send="true" class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
Dxspider-support mailing list<br class="">
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank" moz-do-not-send="true" class="">Dxspider-support@tobit.co.uk</a><br class="">
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" rel="noreferrer" target="_blank" moz-do-not-send="true" class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br class="">
</blockquote>
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></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>
<br class="">
</div>
_______________________________________________<br class="">Dxspider-support mailing list<br class=""><a href="mailto:Dxspider-support@tobit.co.uk" class="">Dxspider-support@tobit.co.uk</a><br class=""><a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">Dxspider-support mailing list<br class=""><a href="mailto:Dxspider-support@tobit.co.uk" class="">Dxspider-support@tobit.co.uk</a><br class="">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support<br class=""></div></blockquote></div><br class=""></div></body></html>